summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-11-07Replace option TGT_ORIGIN200 and TGT_ORIGIN2000 with a single option,Miod Vallat
TGT_ORIGIN, which enables support for all IP27 and IP35 systems. The original two options have always been used together, and go back to when pefo thought supporting multiple nodes would be significant work. Since an Origin 200 can be a dual-node system, making a distinction between single node and multiple node systems is a moot point anyway. Be sure to rerun config(8) before rebuilding a kernel.
2009-11-07Change sgi system identification from a single system type list, to a smallerMiod Vallat
system type list (which really is the system family) and a subsystem type. No functional change yet.
2009-11-06cosmetic. claudio@ okFederico G. Schwindt
2009-11-06When rebooting IP27 or IP35 systems, do not request the prom to skip diagnosticsMiod Vallat
anymore, as this causes the nsphy connected to the onboard iec to sometimes disappear after a warm boot. Unfortunately this brings back the long reboot times on Origin 200, despite still asking for no memory test.
2009-11-05IPv6 support for divert sockets.Michele Marchetto
tested by phessler@ pyr@ ok claudio@ "go ahead" deraadt@
2009-11-05Add a new PCIOCGETROMLEN ioctl, to give users of PCIOGETROM a chance toMark Kettenis
allocate a buffer of the right size. ok oga@
2009-11-05sort pci_matchid's, from Brad.Stuart Henderson
2009-11-05bump copyrightsMarco Peereboom
2009-11-05Make compile on 32 bit as well.Marco Peereboom
From James Giannoules
2009-11-05The big diff dlg committed to the midlayer breaks NO_CCB andMarco Peereboom
TRY_AGAIN_LATER. NO_CCB is a timer based mechanism that can trivially be made to fail by running IO to two or more disks simultaneously. The TRY_AGAIN_LATER thing is more subtle because it now is a permanent failure instead of transient however this is much harder to hit because something must have gone wrong before it hits. ok deraadt krw miod
2009-11-05BUS_DMA_NOCACHE is defined on all archs that include this driverJacob Meuser
from Brad
2009-11-04Get rid of __HAVE_GENERIC_SOFT_INTERRUPTS now that all our platforms support it.Mark Kettenis
ok jsing@, miod@
2009-11-04regenDamien Bergamini
2009-11-04the hybrid 6000 series (using both internal and external power amplifiers)Damien Bergamini
never made it into production, so remove some dead code and pci ids. inspired by a similar change to iwlwifi.
2009-11-04Replace the #ifdef NON_DEBUG and #ifdef NOTDEF_DEBUG mess with more saneJoel Sing
DPRINTF/DNPRINTF() debugging.
2009-11-04MP safe mutex.Takuya ASADA
ok miod@
2009-11-03Align each RX descriptor to a 4KB boundary; fixes poor RX performance (chipMiod Vallat
would stop RX operation if it had to cross a 4KB boundary during receive).
2009-11-03s/TX_IQ_PERD/TX_IQ_PERIODIC/Damien Bergamini
2009-11-03use BUS_DMA_{READ,WRITE} hints when mapping mbufs for Rx/Tx evenDamien Bergamini
though this does nothing on i386 and amd64.
2009-11-03A few cleanups and also reflect duplex state in mcr in addition to tcsr.Miod Vallat
2009-11-03Offset the start of the RX buffers by two bytes, so that the ethernetMiod Vallat
header is properly aligned; speeds up RX buffer -> mbuf copies.
2009-11-03Use u_int16_t for rdomains for everything. Using various types makesClaudio Jeker
everything just more complicated. Make sure the structs align nicely. OK deraadt@
2009-11-03setting of WEP keys is defered until interface is brought up,Damien Bergamini
so do nothing in set_key() if the interface is not up and running. fixes a panic reported by Steph (frlinux at gmail dot com) with run(4) on misc
2009-11-03gpio quirk for Dell Precision M4400. from Geoff Sanders. thanks!Jacob Meuser
2009-11-03fix previous commit.Damien Bergamini
do not ignore BUS_DMA_NOCACHE (used by some variants of auich and ati drm only). ok kettenis "That looks right" deraadt
2009-11-03rtables are stacked on rdomains (it is possible to have multiple routingClaudio Jeker
tables on top of a rdomain) but until now our code was a crazy mix so that it was impossible to correctly use rtables in that case. Additionally pf(4) only knows about rtables and not about rdomains. This is especially bad when tracking (possibly conflicting) states in various domains. This diff fixes all or most of these issues. It adds a lookup function to get the rdomain id based on a rtable id. Makes pf understand rdomains and allows pf to move packets between rdomains (it is similar to NAT). Because pf states now track the rdomain id as well it is necessary to modify the pfsync wire format. So old and new systems will not sync up. A lot of help by dlg@, tested by sthen@, jsg@ and probably more OK dlg@, mpf@, deraadt@
2009-11-03don't take playback blocksize constraints into account when roundingJacob Meuser
blocksizes if the device doesn't support playback.
2009-11-03don't claim to support full-duplex if the device doesn't support bothJacob Meuser
recording and playback
2009-11-03provide a get_default_params method. tries aucat(1) defaults firstJacob Meuser
but returns the closest parameters the device supports. ok rathcov
2009-11-03rewrite supported audio parameter matching codeJacob Meuser
- easier to read/follow - if can't match desired parameters exactly, find closest match instead of returning an error. this is how most other audio drivers work. ok ratchov
2009-11-03Simplify and remove debug cruft from interrupt handler. Original diff fromMarco Peereboom
James Giannoules. Some KNF from me.
2009-11-02Don't write bogus values to reply_fifo_host_signalling_addr. This registerMarco Peereboom
should remain untouched because it is only for interruptless drivers. Honor reply queue depth per the spec instead of clipping it at 32. ok dlg
2009-11-02s/hz/Hz/ on multiples of the SI unit hertz other than MHz.Igor Sobrado
reminded by STeve Andre.
2009-11-02Got the RX threshold interrupt working, does not help RX performance though;Miod Vallat
while there, silence overzealous messages when the TX empty interrupt fires before we disable it.
2009-11-02Remove file that should never have been there.Mark Kettenis
2009-11-02Remove unused member(s) of `struct acpi_softc'.Mark Kettenis
ok deraadt@, krw@, marco@
2009-11-02A few fixes and improvements:Miod Vallat
- double the number of rx buffers. - copy packets of 104 bytes or less entirely in the tx descriptor, instead of only doing this for packets smaller than an Ethernet header. - correctly disable the rx threshold interrupt. Otherwise, one received frame every 64 would not be handled because we are not using this interrupt.
2009-11-02When the iec(4) Ethernet address is unkown, pass ff:ff:ff:ff:ff:ff instead ofMiod Vallat
00:00:00:00:00:00, in order to trigger the code which will assign a `feel bad' random address.
2009-11-02Add support for ``M-Audio Revolution 5.1'' cards, based on envy24HT.Alexandre Ratchov
From Alexandr Shadchin <ShadchinAV _at_ mail.ru> Thanks!
2009-11-02correct signature. no change as function is if 0'd.Federico G. Schwindt
2009-11-01Move IS[12]BYTEMSG and ISEXTMSG defines to a common place.Federico G. Schwindt
Pointed out by miod@. krw@ miod@ ok.
2009-11-01Remove bogus #define __HAVE_GENERIC_SOFT_INTERRUPTS. No code change.Mark Kettenis
2009-11-01Call selwakeup()/KNOTE() even if the queue has emptied completely.Nicholas Marriott
ok miod
2009-11-01kqueue support for midi(4).Nicholas Marriott
ok ratchov
2009-11-01Looks like I forgot to add files again. These are the most important filesMiod Vallat
for the new iec(4) driver. Reminded by brad@
2009-11-01Driver for the sgi IOC3 onboard Ethernet interface. Tested on Octane only soMiod Vallat
far, and needs help to figure out its Ethernet address on IP35 systems. Heavily derived from mec(4) written by Izumi Tsutsui and Christopher Sekiya, although it required many changes to fit the IOC3 chip.
2009-11-01call powerhook_disestablish() and pci_intr_disestablish() earlier.Damien Bergamini
diff from deraadt@
2009-11-01- fix rx chain mask in scan commandDamien Bergamini
- no Tx IQ calibration for 6000 series - remove a comment about iwlwifi that is no longer true
2009-11-01add support for the ati sb900^Whudson2 chips.David Gwynne
from brad
2009-10-31A chunk from my WIP bootblocks tree went in by mistake in previous commit;Miod Vallat
spotted by deraadt@