summaryrefslogtreecommitdiff
path: root/sys/dev/usb
AgeCommit message (Collapse)Author
2004-07-22remove an unused varDavid Gwynne
ok krw@
2004-07-21spacingTheo de Raadt
2004-07-21use cdce_ prefix on crc32 function and table name to avoid conflicts,Daniel Hartmeier
suggested by mickey
2004-07-21update the netbsd license and tagsDavid Gwynne
ok krw@
2004-07-21add crc32(), ether_crc32_[b|l]e() doesn't work here. should make it workDaniel Hartmeier
with Zaurus.
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-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-20typoTheo de Raadt
2004-07-20syncTheo de Raadt
2004-07-20another new device; shin@happynet.co.jpTheo 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-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.
2004-07-12merge error; lokiTheo de Raadt
2004-07-12syncPeter Valchev
2004-07-12Creative Voip BlasterPeter Valchev
2004-07-11special case of a non-CDC_AT device tha belongs here; from freebsdTheo de Raadt
2004-07-11syncTheo de Raadt
2004-07-11Kyocera productTheo de Raadt
2004-07-11syncTheo de Raadt
2004-07-11shrinkTheo de Raadt
2004-07-11syncTheo de Raadt
2004-07-114 more aue(4) devicesTheo de Raadt
2004-07-11syncTheo de Raadt
2004-07-11support two more suntac products; from freebsdTheo de Raadt
2004-07-11syncTheo de Raadt
2004-07-11simplifyTheo de Raadt
2004-07-11from freebsd via netbsd via lokiTheo de Raadt
The MCT advertises both the interrupt and bulkin endpoints as interrupts. Go from assuming that the first enumerated interrupt is the bulkin (since this may not be the case) to assuming that the true interrupt endpoint will have a 0x2 wMaxPacketSize.
2004-07-11syncTheo de Raadt
2004-07-11support 4 more uftdi ports (3 from freebsd, 1 from netbsd)Theo de Raadt
2004-07-11syncTheo de Raadt
2004-07-11newTheo de Raadt
2004-07-11from netbsd via loki@animata.net, revision 1.68Theo de Raadt
Ignore a port error that happens to come in at the same time as a connect status change. Some root hubs seem to report both.
2004-07-11from netbsd via loki@animata.netTheo de Raadt
uhub.c revision 1.65, ohci.c revision 1.146, uhci.c revision 1.177 Use the correct wValue to get hub desriptors. Also, make wValue checks of root hub codes less strict.
2004-07-11syncTheo de Raadt
2004-07-11viewsonic; from loki@animata.netTheo de Raadt
2004-07-10from loki@animata.net:Theo de Raadt
this is netbsds fix for the endian problems they had with the data toggle change. do the swap when the var is assigned to the qtd, rather than swap everything that is assigned to the var and just assign the var. instead of 4 or so htole32s we now do 1. from netbsd, ehci.c 1.67 (i made a mistake, the last patch i gave you was from 1.68) log message: Fix a byte order error.
2004-07-10Avoid looping messages during boot. Tested by various people. deraadt@ ok.Hakan Olsson