summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2010-07-31remove the ``midisyn'' framework and anything using it, i.e., the oplAlexandre Ratchov
device and the midi interface to pcppi.
2010-07-27Make sure we stop DMA before we suspend. Remove unused argument to re_stop()Mark Kettenis
to avoid the dilemma what meaningless value to pass. ok deraadt@
2010-07-23Manuel Bouyer rescinded clauses 3 and 4 of his license text.Jonathan Gray
2010-07-22ansi. no binary changeJonathan Gray
2010-07-22Reset the keyboard controller on resume, and also alert the childrenTheo de Raadt
(pckbd and pms) to do their part started by mlarkin, cleaned up by me ok miod
2010-07-22When suspending, only call athn_stop() when IFF_RUNNING is set.Mark Kettenis
ok damien@
2010-07-22SCSI HBA drivers are supposed to get their SCSI CDBs from xs->cmd, notMatthew Dempsky
xs->cmdstore. ok krw@ a while back (contingent upon testing), and deraadt@ says this has been in snapshots for weeks now.
2010-07-21Disable the heuristics for legacy free systems if pckbc flags are set to 1Miod Vallat
in UKC; found the hard way by jakemsr@ on an old Tecra laptop.
2010-07-21Add suspend/unsuspend logic.Mark Kettenis
ok damien@, deraadt@
2010-07-20Use an SLIST rather than a TAILQ for the ccb free list.Michael Knudsen
ok krw
2010-07-20Make this compile again (was broken in rev 1.24 as far as I can tell),Michael Knudsen
even though we don't actually compile it in any configurations. ok krw
2010-07-19store the WCID in the rt2860_node structure at association timeDamien Bergamini
and use this later instead of converting ni_associd into WCID each time we need it.
2010-07-19implement the ic_ampdu_rx_{start,stop} callbacks (not used yet).Damien Bergamini
2010-07-19in hostap mode, when a STA leaves the BSS, clear its entry in theDamien Bergamini
hardware RX WCID search table. otherwise, if the same STA reassociates later with a different id, we would have two entries for the same MAC in the table, leading to problems with key lookups etc... big thanks to Nathanael Rensen who found the issue.
2010-07-15According to Linux ath9k, the AR9280 1.0 was never sold.Damien Bergamini
Since this is the only chip revision that requires split TKIP MIC keys, remove code that deal with that.
2010-07-15remove dead code (AR9286 1.1 does not really exist.)Damien Bergamini
2010-07-15sync ar5008_bb_load_noisefloor() with ar9003_bb_load_noisefloor().Damien Bergamini
we must not restore the noisefloor values if load failed on AR5008 family too.
2010-07-15fix PDADC value for target index (AR5008 family only.)Damien Bergamini
2010-07-15On AR9285, the antCtrlCommon ROM field may have the upper 16 bits set.Damien Bergamini
Remove an incorrect mask to fix antenna diversity on some chips.
2010-07-15sync initialization values for AR9160 and AR9280 with ath9k.Damien Bergamini
see http://marc.info/?l=linux-wireless&m=127802223525594&w=2 for the list of changes/fixes.
2010-07-15Remove initialization values for chips that never made it into production:Damien Bergamini
- AR9280 1.0 - AR9285 1.0 and 1.1 - AR9287 1.0 Remove checks that are now useless since we know we will never see those chips, and rename some functions.
2010-07-15add two new members to structs audio_encoding and audio_prinfo.Jacob Meuser
for both structs, the new members are 'bps' and 'msb', which describe the number of bytes per sample and data alignment in the sample, respectively. drivers must properly set these fields in the 'query_encoding', 'set_parameters' and 'get_default_params' hardware interface methods. discussed with ratchov, deraadt
2010-07-14Newer 8168x and 810x chipsets have a different way of stopping the chipset.Christian Weisgerber
From FreeBSD via Brad.
2010-07-10Reduce the delays a bit in the miibus read/write routines.Christian Weisgerber
Although with aditional 20us delays added just before returning from miibus read/writes as required by the hardware. Based on the Linux r8169 driver; from Brad.
2010-07-07set each disks openings to the maximum number the controller can handle.David Gwynne
iopools make sure resources arent overallocated, while scheduling them evenly between devices. tested by and ok jsg@
2010-07-06siop sets XS_NO_CCB when it fails to allocate device state when commandsDavid Gwynne
are first sent to target/lun, as opposed to failing to allocate a ccb (which ive already fixed). this moves the allocation and freeing of this device state in siop into the scsi_probe and scsi_free handlers. if siop cant allocate memory for a device when the midlayer is about to probe it, we dont send commands to it. if the midlayer fails to find a device at that target/lun, it asks siop to free it. simplifies the io path and avoids work during interrupts. ok deraadt@ reads good to both marco@ and krw@
2010-07-06if we get an event notification that requires acknowledgement whileDavid Gwynne
we're busy, we might not be able to allocate a ccb via scsi_ioh_get if the pool is empty. this means we wont ack the event, which in turn means we wont receive further event notifications. this cuts the event ack code over to using a scsi_iohandler. the eventack iohandler will be called as soon as a ccb becomes available for it to use. this guarantees reliable event handling and acknowledgement, despite how busy the controller might be. this has bugging me ever since i wrote the event handling code. tested by hotplugging sata disks.
2010-07-06move the last direct users of mpi_{get,put}_ccb over to using the scsiDavid Gwynne
ioh wrappers.
2010-07-02Move common code for waking up writers on a tty into a function.Nicholas Marriott
ok deraadt matthew millert
2010-07-02timeout_add -> timeout_add_msecBret Lambert
ok krw@
2010-07-02timeout_add -> timeout_add_msecBret Lambert
ok dlg@
2010-07-02Make the sensor setup loop less awkward by moving the call toMatthew Dempsky
sensor_attach() out of the for loop header. ok marco@
2010-07-02cleanup and remove some #ifdef junk in the power hooks.Reyk Floeter
ok deraadt@
2010-07-02correctly init ppr_able in reset, and some others gcc complained about.Ted Unangst
ok deraadt
2010-07-02m_copyback can fail to allocate memory, but is a void fucntion so gymnasticsBret Lambert
are required to detect that. Change the function to take a wait argument (used in nfs server, but M_NOWAIT everywhere else for now) and to return an error ok claudio@ henning@ krw@
2010-07-01compile when SMALL_KERNEL is setTheo de Raadt
2010-07-01Change scsibus(4)'s scsi_link array to an SLIST to save memory onMatthew Dempsky
sparsely populated buses. ok dlg@, krw@
2010-06-30Use SLIST for the ccb free list.Michael Knudsen
ok krw, discontent grunts from marco.
2010-06-30Use SLIST instead of TAILQ for the ccb free list.Michael Knudsen
ok krw
2010-06-30* use audio(9)'s DMA trigger methods instead of the init/startJacob Meuser
methods. the AD1848 DMA engine runs continuously and doesn't need to be started/stopped or otherwise manipulated for each block. makes the driver a bit more efficient. * allow "Mode 2" capable chips such as the CS4231 to work in "Mode 1" when there is only one DMA channel, instead of forcing it into "Mode 2", which expects two DMA channels. allows recording to work for "Mode 2" capable devices when there is only one DMA channel. * service both playback and recording interrupts in full-duplex mode, instead of only playback interrupts. allows "Mode 2" capable chips to work in full-duplex mode. * fix checks for sample rate/format recalibration completion. gets rid of busy loops that briefly "hang" the kernel when the device is opened and/or reconfigured.
2010-06-28Remove all adapter-specific 'struct scsi_device's. They are never used. FirstKenneth R Westerback
step in elminating 'struct scsi_device' entirely. Spotted and initial diff from matthew@. ok matthew@ dlg@ deraadt@ marco@ miod@
2010-06-28fix typo; from BradChristian Weisgerber
2010-06-28Add initial support for RTL8168E, brokenness reported by Joe Gidi.Stuart Henderson
With help from Brad, ok jsg@, closes system/6402
2010-06-28Allow tty drivers to request larger buffers at attach time using aTheo de Raadt
max-baud-rate hint. Adjust TTYHOG (the nearly full logic) to this new situation. The larger buffers are required by the very high speed KDDI devices in Japan (CF com, or USB ucom) so those are the only two drivers which currently ask for a larger buffer size. ok yasuoka miod
2010-06-28add back the initialisation of a loop condition thatJonathan Gray
was mistakenly removed in 1.208 ok dlg@ marco@
2010-06-28implement iopools in osiop to get rid of another use of XS_NO_CCB.David Gwynne
original diff corrected by miod@ tested by and ok miod@
2010-06-28Use a more moderate fifo trigger level (4) for moderately quickChris Kuethe
(sub-38400) port speeds. Inspired by netbsd. ok fgsch krw deraadt miod
2010-06-26Don't #include <sys/user.h> into files that don't need the stuffPhilip Guenthe
it defines. In some cases, this means pulling in uvm.h or pcb.h instead, but most of the inclusions were just noise. Tested on alpha, amd64, armish, hppa, i386, macpcc, sgi, sparc64, and vax, mostly by krw and naddy. ok krw@
2010-06-26Grow COM_IBUFSIZE from 1024 to 8192 to be enough size for recentYASUOKA Masahiko
devices. This will fix the problem using KDDI W04K that has 3.1 Mbps in downlink. ok deraadt@
2010-06-26If you put CISS_LOCK()/CISS_UNLOCK() around a switch statement, youKenneth R Westerback
must break out of the cases, not directly 'return' error codes. I think the error case is currently impossible, but why leave an armed bear trap lying about?