summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-11-17fix previous.Damien Bergamini
2009-11-17update hardware multicast filter.Damien Bergamini
2009-11-17regenDamien Bergamini
2009-11-17the D-Link DWA-160 rev A2 is an otus(4) too.Damien Bergamini
2009-11-17add short interframe space to duration since the athn_txtimeDamien Bergamini
function does not take it into account. oops.
2009-11-17Initialize the FPU to be in double precision mode for SH4. This is what theMark Kettenis
Linux kernel does and is obviously what GCC expects. Fixed segmentation faults in omalloc_init() for shared executables linked with the pthreads library. tested by otto@, ok deraadt@, drahn@
2009-11-17Tidy up promisc/multicast handling. Tested by myself (and earlierStuart Henderson
versions by some others who didn't test with both multicast and promiscuous at the same time). From Brad.
2009-11-16regenJonathan Gray
2009-11-16Some more Cavium devices. Prompted by a dmesg from Jason George.Jonathan Gray
2009-11-16it is better if it compiles.Damien Bergamini
2009-11-16do not panic when wep is enabled.Damien Bergamini
2009-11-16Fix array access found by parfait and switch to nitems while here.Jonathan Gray
ok deraadt@
2009-11-15athn works on sparc64Theo de Raadt
2009-11-15Move ciss(4) to NO_CCB. Add some extra paranoia by always testingKenneth R Westerback
the results of attempting to get a ccb. Eliminates manual reservation of ccb's for bioctl and sensors. Tested by johan@ and okan@. Eyes from brad@, dlg@ and marco@. tech@ did its Thomas More thing.
2009-11-15AR9287 uses GPIO pin 8 for LED, not 1.Damien Bergamini
Turn link LED on while associated.
2009-11-15Fix memory leak in error case. Found by Parfait.Joel Sing
ok marco@ deraadt@
2009-11-15fix athn_stop_tx_dma().Damien Bergamini
2009-11-15athn(4) has a future in here.Theo de Raadt
2009-11-14translate a comment from french to english.Damien Bergamini
no binary change.
2009-11-14make ramdisks compileTheo de Raadt
2009-11-14athn(4), a driver for Atheros 802.11a/g/n devices.Damien Bergamini
written from scratch based on the vendor driver for Linux (ath9k). AR9285 and AR9287 parts are 100% untested. only basic functionnalities are enabled for now. committed over an AR9281. "commit" deraadt
2009-11-13Remove an unnecessary assignment. From NetBSD via Brad.Stuart Henderson
2009-11-13Added mapping for failure flags for read/write mode (not yet used).Jordan Hargrave
2009-11-13>15 year old buffer-read-1-byte-too-far in clrbits() [code I wrote, yeah]Theo de Raadt
with a subtle change to make it more clear (and more cache friendly) netbsd pr 42312, found by tlambert@apple.com ok miod
2009-11-13Extend the protosw pr_ctlinput function to include the rdomain. This isClaudio Jeker
needed so that the route and inp lookups done in TCP and UDP know where to look. Additionally in_pcbnotifyall() and tcp_respond() got a rdomain argument as well for similar reasons. With this tcp seems to be now fully rdomain save and no longer leaks single packets into the main domain. Looks good markus@, henning@
2009-11-13do not need to pad up the uhub allocation anymore, from miodTheo de Raadt
2009-11-13Use TAILQ_ macros instead of handrolling them self. Tested by myself.Claudio Jeker
2009-11-13Packets generated by ip_fragment() need to inherit the rdomain from theClaudio Jeker
original packet or they will trigger the diagnostic check in the interface output routines. OK jsg@
2009-11-13Initialize uninititialized variable.Jordan Hargrave
Not an issue as it does get initialized correctly before use, but reduces warning.
2009-11-13sizeof -> nitems, found by parfait; ok dlgTheo de Raadt
2009-11-12Avoid using the trick of malloc'ing more than a struct to grow the arrayTheo de Raadt
of the last element. Bad technique. Use a pointer to the array. The author (or later people) will often not pay attention to the consequences of structure padding & alignment issues when they add new fields to the base structure, and there will be fireworks. tested by jasper, too
2009-11-12More unused fields in struct sys_rec.Miod Vallat
2009-11-12typoMiod Vallat
2009-11-12Oops, I can't even spell `spurious' correctly.Miod Vallat
2009-11-12Only read mace interrupt registers once in the interrupt handler; and fixMiod Vallat
the spurious interrupt report logic.
2009-11-12Move the interrupt makemasks() code to the interrupt template; no functionalMiod Vallat
change.
2009-11-12memory leak found by parfait in an ioctl path, ok damien jsgTheo de Raadt
2009-11-12Use the number of products in the terminating condition when iteratingJonathan Gray
through the products array not the number of vendors. found by parfait ok deraadt@ miod@ mglocker@
2009-11-12be paranoid in case the action array changes size (again, grr)Theo de Raadt
ok dlg
2009-11-12count packets; from claudioTheo de Raadt
2009-11-12revert midlayer back to it was before i put my big rewrite in. this isDavid Gwynne
causing a weird problems on an alpha and also appears responsible for isp(4) weirdness i havent had a chance to examine yet. sigh, this makes me sad.
2009-11-12oops my slow editor conspired against meTheo de Raadt
2009-11-12if the table got messed up, early loop termination is not gauranteed, andTheo de Raadt
subsequent code will be out of bounds; unlikely situation. found by parfait ok weingart
2009-11-11fix memory leak found by parfaitJacob Meuser
2009-11-11fixup of locking issues with sdmmc, which were causingJasper Lievisse Adriaanse
"locking against myself" panics as found the hard way by several. diff by blamert@ with input from oga@, committing bret's behalf. ok todd@
2009-11-11memory leaks found by parfait; ok ogaTheo de Raadt
2009-11-11add a icache flush which appears to make the machines even more stableTheo de Raadt
(no crashes in nearly forever) ok kettenis
2009-11-11Let ioc(4) pass the information whether it is an onboard device or not, to itsMiod Vallat
subdevices; use this on iockbc to only perform the fuel workaround on the onboard ioc.
2009-11-11Perform a bit more kbc initialization, instead of relying upon the prom toMiod Vallat
do this for us; PS/2 ports on CADduo boards attach keyboard and mouse now. ok jsing@
2009-11-11It turns out PCI IOC3 card which embed both the Ethernet controller and theMiod Vallat
superio chip interrupt on two different pins (yet do not advertize themselves as a multi-function device, of course). So, on one hand, this makes the ioc attachment code simpler, because it simply needs to map interrupt pins A and B, and another hand, this moves all the interrupt knowledge to the PCI bridge driver, since routing of pin B differs whether the device is the onboard IOC3 chip (and able to use any of the 8 bridge interrupt sources...) or on a PCI board (with pin mapping sane, since controlled by the bridge). This makes superio interrupts on CADduo boards work. Tested to cause no regressions on Origin 200, Octane and Fuel.