summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
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-17fix a DPRINTF format string.Damien Bergamini
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-17add short interframe space to duration since the athn_txtimeDamien Bergamini
function does not take it into account. oops.
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 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-12memory leak found by parfait in an ioctl path, ok damien jsgTheo 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-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-06cosmetic. claudio@ okFederico G. Schwindt
2009-11-05bump copyrightsMarco Peereboom
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-04Get rid of __HAVE_GENERIC_SOFT_INTERRUPTS now that all our platforms support it.Mark Kettenis
ok jsing@, miod@
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-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-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
2009-11-01call powerhook_disestablish() and pci_intr_disestablish() earlier.Damien Bergamini
diff from deraadt@
2009-10-31in the absense of link state handling, drivers should still be silent; ok miodTheo de Raadt
2009-10-31Use suser when possible. Suggested by miod@.Federico G. Schwindt
miod@ deraadt@ ok.
2009-10-31Add missing KNOTE() calls after selwakeup(), until we decide if the KNOTE()Theo de Raadt
calls can go directly into selwakeup() safely long discussion with nicm, murmers of consent from tedu and miod, noone else seems to care of kqueue is busted as long as it makes their sockets move data fast... pretty sad.
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-10-23enable event handling on sas hbas and ignore unhandled events. this turnsDavid Gwynne
on sas hotplug. you can add and remove drives and the kernel will handle it now.
2009-10-23Update links to 82802 datasheets.Jonathan Gray
2009-10-23if you're attempting to detach multiple devices (eg, many targets,David Gwynne
many luns, or the entire bus), dont report ENXIO as an error to the caller. this broke autoconf when it tried to forcefully remove a bus such as umass and it thought there was a failure. this introduces a way for scsi hbas to call activate/deactivate on a device based on its target/lun address via a call to scsi_activate(). they can then schedule the actual detach/attach in a thread later via scsi_req_probe/detach. the mpi changes tweak the sas event handling code to use these apis to properly handle attaches and detaches of disks. event handling is still disabled till i can make it less chatty. umass breakage reported by form@
2009-10-23describe some more event data.David Gwynne
2009-10-15Add detach support to a few more drivers, and in others do the neccessaryTheo de Raadt
operations in the detach function in the right order. Also ensure that the interrupt handlers not trust registers that go away. read over very carefully by dms, tested by me
2009-10-15disable interrupt coalescing (aka mitigation) if the chip comes up with itDavid Gwynne
turned on. mitigation on io only slows us down. developed on hardware donated by fox-it.
2009-10-13Get rid of devact enum, substitute it with an int and coresponding defines.Paul Irofti
This is needed for the addition of further suspend/resume actions. Okay deraadt@, marco@.
2009-10-11let page requests sleep instead of polling for completion. not used justDavid Gwynne
yet...
2009-10-05Add some minimalistic detach/unmap bits for pciide,Jonathan Gray
done using a chipset unmap callback. Still needs to work to distinguish between compat register mappings and compat interrupts so we don't get caught out. Tested with a diskless sii3112 CardBus eSATA controller by me, and testing and feedback by deraadt@ with a phison based expresscard SSD.
2009-10-03Driver for the SD/MMC part of the Winbond W83L518D/W83L519D Integrated MediaMark Kettenis
Reader.
2009-09-30Need to scsi_done() before returning COMPLETE for untranslated commands,Miod Vallat
such a Test Unit Ready; found the hard way by jbg@, and inexplicably missed during dlg@ and I audit of hba drivers behaviour.
2009-09-24In trm_scsi_cmd(), in an splbio() protected block, don't bother doing splx()Miod Vallat
and splbio() around a simple timeout_set() call, it won't gain us anything. ok dlg@ krw@
2009-09-23do not attach the AR5416 and AR5418 (AR5416 PCIe) to the ath(4)Damien Bergamini
driver as these chipsets are not currently supported. noticed by ian@ "makes sense" millert@ ok jsg@
2009-09-13M_DUP_PKTHDR() define -> m_dup_pkthdr() function to properly dealKenneth R Westerback
with m_tag_copy_chain() failures. Use m_defrag() to eliminate hand rolled defragging of mbufs and some uses of M_DUP_PKTHDR(). Original diff from thib@, claudio@'s feedback integrated by me. Tests kevlo@ claudio@, "reads ok" blambert@ ok thib@ claudio@, "m_defrag() bits ok" kettenis@
2009-09-05Change the wsdisplay_emulops return types from void to int; emulops will nowMiod Vallat
return zero on success and nonzero on failure. This commit only performs mechanical changes for the existing emulops to always return zero.
2009-09-04Missing scsi_done() in some error path returning COMPLETE; ok dlg@Miod Vallat