summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-11-09Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tNicholas Marriott
supported it doesn't do any harm), so put the KNOTE() in selwakeup() itself and remove it from any occurences where both are used, except one for kqueue itself and one in sys_pipe.c (where the selwakeup is under a PIPE_SEL flag). Based on a diff from tedu. ok deraadt
2009-11-09Make sure we correctly return failure in l1_serial_ppp_read() when a readMiod Vallat
fails after an escape character, and while there put explicit casts to l1_command_build() variadic arguments.
2009-11-09Only invoke the L1 code if IP35.Miod Vallat
2009-11-09Link state change interrupt was not generated due to a missing bit inDavid Gwynne
the MAC event register. fix from atte dot peltomaki at iki dot fi tested by me on 5708 and 5709
2009-11-09syncStuart Henderson
2009-11-09- remove wrongly-sorted duplicate entriesStuart Henderson
- add some unknown Intel devices in dmeslog from infinst911_autol.zip ok jsg@
2009-11-09vether(4) is a virtual ethernet device driver which can be usedTheo de Raadt
so that a bridge-etherip-tunnel host can join into the bridge itself. It is ridiculous that this capability was missing from our network stack portfolio, considering we have bgp and ospf daemons... discussed at length with claudio
2009-11-08Add code to send L1 commands and parse command results; use it to add a wayMiod Vallat
for IP35 systems with IOC3 onboard Ethernet to get their Ethernet address since it's no longer stored as an owmac(4) device on the IOC3 device itself.
2009-11-08Relocate FDT blob such that it doesn't clash with the kernel we're going toMark Kettenis
load. This makes it possible to load bsd.rd on the RB600. Bump version number. ok dms@
2009-11-08Move KERNEL_LOCK/UNLOCK dance into softintr_dispatch().Mark Kettenis
ok miod@, dms@
2009-11-08Make sure xscale_cache_flushD_rng will not try to flush more than theMiod Vallat
cache size; might skirt some cache hazards. ok deraadt@
2009-11-08Figure out the size of the SSRAM used as internal memory by the chip onMiod Vallat
attach, print it, and decide how many RX descriptors to use accordingly.
2009-11-08Do not risk touching nonexisting registers on MENET boards; untested due toMiod Vallat
lack of such hardware.
2009-11-08update description for iwn(4)Damien Bergamini
2009-11-08regenDamien Bergamini
2009-11-08- remove non-production pci ids for 6050 3x3Damien Bergamini
- wakeup device earlier in read_prom - fix ampdu_tx_start (not used yet) - initialize ht_caps field and rx mcs set (not used yet) - start processing compressed blockack notifications (does nothing for now)
2009-11-07remove gcc 1 workaround we no longer care about whichJonathan Gray
was breaking non GNUC defining compilers. Came up during a conversation with ragge@, positive comments from several.
2009-11-07According to Brad, bnx(4) is not endian-safe, so remove it from sgi kernels.Miod Vallat
2009-11-07Blink leds on the DEC 3000 models (three different led types).Miod Vallat
2009-11-07In case an ioc(4) device has lost its NIC component, do not recognize itMiod Vallat
as the onboard ioc device, if one has already been found on this node. Also, on Origin 300, do not attempt to attach the PS/2 controller on the onboard ioc(4) since PS/2 ports are not wired.
2009-11-07A few more PCI Ethernet controllers; from Brad.Miod Vallat
2009-11-07Add a bunch of PCI audio devices, only compile tested; from Brad.Miod Vallat
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