summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2009-11-21make the led blink during a scan.Damien Bergamini
prodded by deraadt
2009-11-21debug offDamien Bergamini
reminded by deraadt
2009-11-21attach to the AR9227 tooDamien Bergamini
2009-11-21EP80579 SATAJonathan Gray
2009-11-21in the detach function remove our usb task before calling any otherTheo de Raadt
teardown functions which could potentially sleep (and then, the usb task would get called for a half-torn down device)
2009-11-21Do the operations in atu_detach in the right order, as done inTheo de Raadt
other drivers recently.
2009-11-21User triggerable KASSERT()s and NULL dereferences in netbt setsockopt()s,Philip Guenthe
found by Clement LECIGNE, localhost DoS everywhere. Also, don't leak the mbuf when the wrong level is used. ok claudio@, "just commit" deraadt@
2009-11-19Add code to set up windows on PCI-PCI bridges left unconfigured by theMark Kettenis
firmware. Fixes some (laptop) machines with ethernet and/or wiireless behind a bridge. Some help from miod@. Tested by many.
2009-11-19Add PPB_IO_SHIFT #define to mirror PPB_MEM_SHIFT.Mark Kettenis
2009-11-19if a radio switch exists, configure the GPIO pin to which it isDamien Bergamini
connected to raise an interrupt when the pin goes low (or high depending on the polarity of the radio switch.) turn the interface down when the interrupt occurs. this is the same behaviour as in wpi(4) and iwn(4). cleanup interrupts processing while i'm here. remove ATHN_INTR_MITIGATION compile option (it is set by default.)
2009-11-19fix for some variants of AR9285.Damien Bergamini
found while doing code inspection as i don't have such hardware.
2009-11-18- regenJasper Lievisse Adriaanse
2009-11-18- add startech.com and the product id for their ICUSB2321X/2X/4X devices,Jasper Lievisse Adriaanse
which seem to be a multiport TIUSB3410, which uticom(4) can't deal with yet. hints from sthen@
2009-11-18* always move the same amount of data (256 frames) in the interrupt handlerJacob Meuser
* round blocksizes to multiples of 256 frames * fix display of record.source.volume and add record.mic.preamp mixer controls * add recording support ok kettenis@. ok ratchov@ on a slightly different version.
2009-11-18panic on impossible error codeAlexander Hall
potential off-by-one found by parfait ok deraadt@, krw@
2009-11-18regenJonathan Gray
2009-11-18More EP80579 devices.Jonathan Gray
2009-11-17Tidy up promisc/multicast handing. From Brad. Tested by me.Mark Kettenis
2009-11-17fix a DPRINTF format string.Damien Bergamini
2009-11-17nuke the temperature sensor.Damien Bergamini
it is totally useless since (contrary to the one in iwn(4)) it is not in any known unit (can't be converted to degK or degC).
2009-11-17regenDamien Bergamini
2009-11-17another shitload of run(4) usb idsDamien Bergamini
we have 159 ids now just for run(4)
2009-11-17cleanup the printf/DPRINTF mess.Damien Bergamini
use proper debug levels for diagnostic messages such that we don't spam the logs when athn_debug is low.
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-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-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-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-13do not need to pad up the uhub allocation anymore, from miodTheo de Raadt
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-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-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.