summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2010-02-01unmute GPIO 0 on IDT 92HD73C1 codecs found in Dell machinesJacob Meuser
2010-01-30Build these firmwares on loongson.Miod Vallat
2010-01-28set differential gains on 6250 too (but use a 1.0 factor, not 1.5).Damien Bergamini
2010-01-27change the MRR pattern from 1/1/1/1 to 2/2/2/4Damien Bergamini
2010-01-27- regenJasper Lievisse Adriaanse
2010-01-27- add a bunch of new ati and nvidia devicesJasper Lievisse Adriaanse
2010-01-26syncDamien Bergamini
2010-01-26new run(4) idsDamien Bergamini
2010-01-26backout last, it causes mem conflicts and device trouble;Otto Moerbeek
ok beck@ miod@
2010-01-23finally, 6250 parts need crystal calibration too.Damien Bergamini
update sensitivity settings for 5000 series to workaround a performance bug in the DSP (1000 is not affected so we keep the old values for 5000.) update sensitivity settings for 6000 series. from similar changes to iwlwifi
2010-01-22Correctly return ENXIO on unhandled ioctls; ok marco@Miod Vallat
2010-01-21Do not assume mac address and bss id are stored at 32-bit aligned addresses;Miod Vallat
inspired by other wireless drivers, makes urtw work on strict alignment architectures. ok jsg@ martynas@
2010-01-21Use ahci_nvidia_mcp_attach() for nvidia MCP79 ("Ion"), without whichStuart Henderson
the driver fails to detect disks. From Wouter Coene, ok jsg@
2010-01-20Fix collider offsets to correct LBA.Jordan Hargrave
Thanks to Niklas ok @marco
2010-01-20Remove horrible hack in ahc/ahd that made some commands retryKenneth R Westerback
endlessly. Use the shiny new XS_NO_CCB instead to retry commands that can't start. Neither dlg@ nor I can figure out why 4.6 and earlier worked. Problem noted, debugged with and fix tested by Jeff Ross and his new external enclosure. Thanks! ok dlg@
2010-01-19IP checksum is still broken with fragments, turn it off for now.Reyk Floeter
ok dlg@
2010-01-16rename bluetooth coexistence flags. no binary change.Damien Bergamini
2010-01-16Enable DC calibration and disable crystal calibration onDamien Bergamini
Centrino Advanced-N 6250 parts.
2010-01-15syncIgor Sobrado
2010-01-15add `Logitech Webcam C200' to the list of supported uvideo(4) devices.Igor Sobrado
ok sthen@
2010-01-14SiS devices seem unable to reset dma block index to zero, causingAlexandre Ratchov
dma to start at the wrong place. Workaround this limitation by starting at the current offset. From Christopher Zimmermann <madroach at zakweb.de> Thanks a lot! ok jakemsr
2010-01-13Make sure that acpitz is always the last one to replace the globalMarco Peereboom
cpu_setperf pointer so that it is always the first to be notified of any changes. This fixes the reported "creeping up" of performance level when using apmd and several overheating issues people reported. Tested by many, ok kettenis with a large XXX on it.
2010-01-13Fix another long standing double scsi_done() bug. This time when aKenneth R Westerback
POLL'ed command returned a SENSE error. Found on claudio's USB stick which doesn't like SYNCH CACHE commands. ok dlg@
2010-01-13As per NetBSD move HAYAKAWA Koichi's licenses to two clause.Jonathan Gray
2010-01-13Don't whack conflicting BARs if they are enabled.Mark Kettenis
Makes the IBM eServer x336 work. Tested by sthen@ and naddy@.
2010-01-13Remove a few more settings of ITSDONE in drivers. Only a coupleKenneth R Westerback
more to go. Should be a no-op.
2010-01-13Change M_WAITOK --> M_WAITOK | M_CANFAILCharles Longeau
With input from oga@ While there, remove dead assignment and newly created unused variable (found by LLVM/Clang Static Analyzer) ok oga@ krw@
2010-01-12Fix for a legacy free PC, where the keyboard controller doesn't behave.Dale Rahn
Clues on how to fix it from miod. ok miod@, Sure deraadt@
2010-01-12Do not check malloc return value against NULL, as M_WAITOK is used.Charles Longeau
ok miod@
2010-01-12Remove dead assignment and newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok grange@ krw@
2010-01-11Make the detach function handle the case of a partial attach, and make sureMark Kettenis
we also free the additional mapped BAR on "cyclone" chips. ok deraadt@
2010-01-11When mapping CarBus memory BARs, enforce a minimum alignment of 0x1000. ThisMark Kettenis
is the granularity of the windows provided by the CardBus bridge. A smaller alignment may result in those windows covering address space used by other PCI devices in the machines. Fixes CardBus xl(4) n naddy's X40.
2010-01-11rework the polling code to use the semantic krw@ proposed.David Gwynne
intercept the ccb_done handling so polled commands set a flag that mpi_poll tests on. when ccb_done sets the variable, the poll loop breaks and mpi_poll runs the original ccb_done handler for the ccb completion. this is a lot simpler than the previous implementation and removes a mutex. ok beck@
2010-01-11Enable IP checksum offloading in ix(4).Reyk Floeter
Note: it did not work before because the checksum offloading was taking care about TCP and UDP but forgot about IP fragments and other IP protocols. We need to take care that IP fragments are handled correctly when we do IP/TCP/UDP offloading. ok jsg@ deraadt@, discussed with others
2010-01-11Don't check ITSDONE since we know it is set in scsi_done(). EliminatesKenneth R Westerback
possible references to xs which has been recycled. Slight tweak to dlg's previous fix for atapiscsi. ok dlg@ 'looks safe' miod@
2010-01-10ATI AHCI seems not to put slot number into the command registerAlexander Yurchenko
on error as the spec requires. This triggers kernel assertion error because zero is read from the register and wrong ccb is picked from the queue. To cope with it if there's only one outstanding command get its slot number from the active commands mask, otherwise fail all active commands. ok krw@ dlg@
2010-01-10Fix two bugs in IPsec/HMAC-SHA2:Markus Friedl
(1) use correct (message) block size of 128 byte (instead of 64 bytes) for HMAC-SHA512/384 (RFC4634). (2) RFC4868 specifies that HMAC-SHA-{256,384,512} is truncated to nnn/2 bits, while we still use 96 bits. 96 bits have been specified in draft-ietf-ipsec-ciph-sha-256-00 while draft-ietf-ipsec-ciph-sha-256-01 changed it to 128 bits. WARNING: this change makes IPsec with SHA-256 (the default) incompatible with older OpenBSD versions and other IPsec-implementations that share this bug. ok+tests naddy, fries; requested by reyk/deraadt
2010-01-10Set XL_FLAG_FUNCREG for "cyclone" variants. This makes them see interruptsMark Kettenis
such that they actually work. ok jsg@
2010-01-10A couple of missed ITSDONE setting before scsi_done().Kenneth R Westerback
seagate/trm/aha1742 were the only drivers paranoid enough to check ITSDONE on getting the xs to execute. And optimistic enough to think simply restting the flag would be a good thing. Have them chill out like everyone else, reducing ITSDONE noise some more.
2010-01-10Set ITSDONE in scsi_done() and zap trivial instances of setting itKenneth R Westerback
in the drivers just before calling scsi_done(). ok dlg@ beck@
2010-01-10Do not try to reevaluate the current RX production index on eachChristian Weisgerber
loop iteration as it can be updated by the card while we process the RX ring, forcing us to process RX descriptors for which DMA synchronisation has not been performed. This fixes a bug where bge(4) will drop packets packets under heavy load. Adapted from FreeBSD by Brad.
2010-01-09Zap all setting of ITSDONE in drivers that don't look at it. NobodyKenneth R Westerback
else cares so it's just noise. Drivers that actually look at ITSDONE are unchanged. ok marco@ (for his files) dlg@ beck@
2010-01-09a lot of knf loving. hudge diff, no binary change.Dariusz Swiderski
ok claudio@
2010-01-09workaround for a HW bug (does not affect 4965AGN) that may sporadicallyDamien Bergamini
affect latency under some rare circumstances. from a similar commit to iwlwifi.
2010-01-09Avoid mulitple calls to scsi_done() on the same xs by havingKenneth R Westerback
ciss_cmd() call scsi_done() in the one case where ciss_done() was not calling ciss_done() before erroring out, and not calling scsi_done() after ciss_cmd() errors out. Okan's box can now boot. And work fine afterwards. Tested by okan@. ok dlg@ beck@
2010-01-09Add support for the Broadcom BCM57765 ASIC and newer BroadcomChristian Weisgerber
BCM577xx chipsets. From Brad.
2010-01-09replace an #ifdef IX_CSUM_OFFLOAD with an IFCAP_CSUM_IPv4 capability check,Reyk Floeter
this allows to enable/disable checksum offloading at one point in the driver without the need to care about stupid #defines. no functional change.
2010-01-09Explicitly turn on mii/gmii/rgmii for the 178/gigabit devicesJonathan Gray
from FreeBSD and confirmed with the datasheet.
2010-01-09Fix the IP ckecksum offloading logic that disables and breakes offloadingReyk Floeter
if the packet is neither TCP nor UDP because of an erroneous "default" case. No functional change in the default build because IP checksum offloading is currently disabled in ix(4). ok jsg@
2010-01-09Remove typo and magic numbers from #if 0'd block, from Brad.Stuart Henderson