summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
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)
2004-07-15In the transmit interrupt handler, do not unnecessarily synchronizeTodd C. Miller
all the descriptors for a buffer chain. Just synchronize the last one, which has the interesting stuff. We still synchronize all the descriptors for the buffer chain if super-verbose debugging is enabled, since the driver will print all the descriptors for the chain. Delay for tens of milliseconds lot after writing the Network Access Register. This is what the reference driver does, we can probably lower the delays later. From NetBSD (dyoung)
2004-07-15Delete some dead code and a less-than-helpful comment.Todd C. Miller
Don't call back into the bus-specific code for resets any longer. It does not seem to be necessary. When super-verbose debugging is enabled, convert Rx descriptors' endianness before printing them. Clamp the length of a received packet, just in case the chip lies. From NetBSD (dyoung)
2004-07-15Don't send data packets until the interface is in state RUN. ThisTodd C. Miller
stops ARP and IPv6 Neighbor Discovery packets from trickling out the interface before it is time. Remove dead code from atw_clear_sram. During scans, initialize the BSSID to ff:ff:ff:ff:ff:ff before sending the first probe request. From NetBSD (dyoung)
2004-07-15Do not treat the lost beacon count specially any more. It is kind ofTodd C. Miller
a dumb way to track the link condition anyway. From NetBSD (dyoung).
2004-07-15In ad hoc mode, don't set the mysterious EA bit in the Network AccessTodd C. Miller
Register. ADMtek's reference driver does not use it at all, and it does not seem to make any difference whether we set it or not. Also remove some dead code and test instrumentation. From NetBSD (dyoung).
2004-07-15syncTheo de Raadt
2004-07-15sharp zaurus cdceTheo de Raadt
2004-07-15from netbsd via dlg, umass.c revision 1.97:Theo de Raadt
Well, this is bloody obscure... My Imation USB FlashGO! adapter responds to a Get Max Lun request with a stall. With uhci, this does the expected thing. With ohci, it was returning a "data underrun" error because we weren't setting "buffer rounding" (i.e. USBD_SHORT_XFER_OK), and the underrun was taking priority. This happened with both the ohci in a Mac cube and the builtin ohci on the S3C2410. So, set USBD_SHORT_XFER_OK on the Get Max Lun. Now I get a stall reported and umass attaches correctly.