summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2004-07-21from netbsd, umass.c 1.103David Gwynne
Mostly stylistic change, making comments and printf()s similar between BBB and CBI. ok krw@
2004-07-21from netbsd, umass.c 1.105David Gwynne
do less work if we hit an error ok krw@
2004-07-21from netbsd, umass.c 1.112David Gwynne
Fix a printf() error. ok krw@
2004-07-21from netbsd, umass.c 1.116David Gwynne
When starting a bulk-only transfer, punt early if the device is going away. ok krw@
2004-07-21from netbsd, umass.c 1.104David Gwynne
Do the quirk initialization earlier. ok krw@
2004-07-21from netbsd, umass.c 1.101David Gwynne
On a Bulk-In data stall, make sure we copy back the data received, per the spec. This is the real problem behind FORCE_SHORT_INQUIRY. ok krw@
2004-07-21from netbsd, umass.c 1.100 1.113 1.115, umass_scsipi.c 1.11, umassvar.h 1.21David Gwynne
log message for umass 1.98, umass_scsipi.c 1.11, umassvar.h 1.21: Fix several problems with CCI handling, and enable it: * We were never calling the callback function when we got a UFI CCI(!). * We were passing a bogus residual count on non-UFI CCIs. * After a REQUEST SENSE, the UFI CCI may include the ASC/ASCQ from the sense information -- don't consider this a failure. In addition, remove a horrible hack that was causing us to drop sense information on the floor and return empty INQUIRY responses, often in the case where there is a UNIT ATTENTION pending during the INQUIRY. (Some drives send the data and then fail, some don't.) log message for umass.c 1.113: Do not return STATUS_WIRE_FAILED in response to a CBI stall. This is perfectly normal, and is used to report errors. Instead, use STATUS_CMD_FAILED, which causes us to do a REQUEST SENSE. Should address PR 22960. log message for umass.c 1.115: Do not do a CBI reset before returning STATUS_CMD_FAILED. This causes any sense information to be thrown away, and is therefore nonsensical. ok krw@
2004-07-21calibrate after opening. helps if cpu speed is changing and microtime can'tTed Unangst
be trusted. ok deraadt, several testers. solves pr3814. while here, art says use microuptime.
2004-07-21remove a few inlines from funcs that are used more than once and make code ↵Michael Shalayeff
bigger; asked by art@
2004-07-21from freebsd, ugen.c 1.68 usbdi_util.c 1.27 usbdi_util.h 1.15David Gwynne
log message: Implement outgoing interrupt pipes. It is part of the USB 1.1 spec. The Lego Infrared Tower use it. ok deraadt@
2004-07-20Driver for USB CDC Ethernet devices (USB Host-to-Host), appearing asDaniel Hartmeier
network interfaces, transporting Ethernet, supporting Sharp Zaurus and Prolific PL-2501 (external cable). Written by Craig Boston based on code from Bill Paul. ok deraadt@
2004-07-20regenMichael Shalayeff
2004-07-20prolific pl2501; for dhartmei@Michael Shalayeff
2004-07-20no point in return from void functionPeter Valchev
2004-07-20syncDavid Krause
2004-07-20SD Controller found on a Toshiba laptop; ok deraadt@David Krause
2004-07-20typoTheo de Raadt
2004-07-20syncTheo de Raadt
2004-07-20another new device; shin@happynet.co.jpTheo de Raadt
2004-07-19Delete the AP scan timeout in atw_detach. Fixes a panic on detach if theTodd C. Miller
timeout is still active as seen by david@
2004-07-18syncTheo de Raadt
2004-07-18oopsTheo de Raadt
2004-07-18syncTheo de Raadt
2004-07-18shrinky shrinkyTheo de Raadt
2004-07-18syncTheo de Raadt
2004-07-18more shrinkTheo de Raadt
2004-07-18syncTheo de Raadt
2004-07-18shrinkTheo de Raadt
2004-07-18#ifdef SMALL_KERNEL -> #define ISP_STRIPPEDTheo de Raadt
2004-07-17from netbsd, umass.c 1.98, umassvar.h 1.20David Gwynne
log message: Remove UMASS_QUIRK_NO_START_STOP and UMASS_QUIRK_NO_MAX_LUN. We don't have UMASS_QUIRK_NO_START_STOP so I didn't have to remove it. I consider umass_quirks.c to be too different so I hand removed references to the removed defines. There are some useless entries in there now which will be cleaned up after umass is merged with netbsd. ok deraadt@
2004-07-16regenPedro Martelletto
2004-07-16recognize the dwl-122 usb wireless card. from fgschPedro Martelletto
ok'd by him and markus@
2004-07-16Aft source update.Alex Feldman
mcbride ok.
2004-07-16syncTheo de Raadt
2004-07-16new xl variant (Asus P4R800-VM motherboards)Theo de Raadt
2004-07-15- The card_attach_now flag hasn't been necessary or useful for some time.Brad Smith
Garbage collect the code and corresponding documentation. - some minor grammar/spelling fixes. From NetBSD, the documentation change changed slightly after a suggestion from jmc@ ok deraadt@
2004-07-15- Unmap space used to read tupleBrad Smith
- No need to zero clear temporary storage twice From NetBSD ok deraadt@
2004-07-15Remove an errant ATW_CLR() that was the result of a merge error.Todd C. Miller
2004-07-15Simplify receive descriptor setup; from NetBSD (dyoung).Todd C. Miller
2004-07-15Insist that callers use atw_write_sram to copy even-length buffersTodd C. Miller
to even offsets in the ADM8211 SRAM. From NetBSD (dyoung).
2004-07-15Totally revamp/re-organize device initialization using clue from theTodd C. Miller
reference driver. From NetBSD (dyoung).
2004-07-15Refine some register definitions. From NetBSD (dyoung)Todd C. Miller
2004-07-15Totally revamp device resets using clue from the reference driver.Todd C. Miller
From NetBSD (dyoung).
2004-07-15kill sc_intr_ackTodd C. Miller
2004-07-15Take the paranoia out of the code for writing baseband registers.Todd C. Miller
Totally revamp the way that the synthesizer and baseband are programmed. From NetBSD (dyoung). Also remove trailing whitespace from lines (me).
2004-07-15missing bits from last commitTodd C. Miller
2004-07-15Simplify the Rx filter setup. From NetBSD (dyoung)Todd C. Miller
2004-07-15Countdown correctly to the Target Beacon Transmission Time.Todd C. Miller
Borrowing an idea from the reference driver, use no 64-bit arithmetic. From NetBSD (dyoung)
2004-07-15Simplify IBSS merge code.Todd C. Miller
In atw_start_beacon, set CAP0 as well as BCNT and CAP1. From NetBSD (dyoung)
2004-07-15Re-synchronize TSFT after an IBSS merge.Todd C. Miller
Set up the Tx descriptor ring more safely. Fix an endianness bug. "It's a wonder this ever worked." (Actually, it's not.) hange the order in which I write the BSSID registers on the ADM8211, to match the reference driver. This probably does not make any functional difference. Only write the SSID buffer to the ADM8211 SRAM up to the end of the SSID, not up to the end of the buffer. Given the (too conservative?) delays involved, this should save some time when we join a new network. From NetBSD (dyoung)