summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
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.
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-11Pass the structure by reference. pointed out and ok by miod@Federico G. Schwindt
2009-11-10Use buffered fwrite(3) to build the udl Huffman table,Marco Pfatschbacher
rather than doing 131074 write(2)s. OK mglocker, deraadt.
2009-11-10backout the backout marco did of my code because of the NO_CCB breakage.David Gwynne
the fix for the NO_CCB breakage will follow shortly. tested by krw@ marco@ johan@ ok krw@ marco@
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-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-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-07Blink leds on the DEC 3000 models (three different led types).Miod Vallat
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-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-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-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-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-02Remove unused member(s) of `struct acpi_softc'.Mark Kettenis
ok deraadt@, krw@, marco@
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-01Call selwakeup()/KNOTE() even if the queue has emptied completely.Nicholas Marriott
ok miod