NetBSD/sys/dev/usb
mycroft b8fd3dab7d cc -pipe -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -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.)

This eliminates the need for quirks for the Y-E DATA FlashBuster.

These changes work on:

umass0: SAMSUNG SFD-321U [FW 0C], rev 1.10/2.10, addr 2
umass0: using UFI over CBI with CCI
sd0 at atapibus1 drive 0: <SMSC, USB FDC, 2.10> disk removable

umass0: TEAC TEAC FD-05PUB, rev 1.10/0.00, addr 2
umass0: using UFI over CBI with CCI
sd0 at atapibus0 drive 0: <TEAC, FD-05PUB, 1026> disk removable

umass0: Y-E DATA FlashBuster-U, rev 1.00/3.04, addr 2
umass0: using UFI over CBI with CCI
sd0 at atapibus0 drive 0: <Y-E DATA, USB-FDU, 3.04> disk removable
2003-09-10 02:49:18 +00:00
..
devlist2h.awk
ehci.c Try to make message about missing companion controllers clearer. 2003-05-10 12:04:22 +00:00
ehcireg.h
ehcivar.h
ezload.c
ezload.h
FILES
files.usb udav*, for ether w/ Davicom DM9601 chipset. Shingo WATANABE 2003-08-22 05:13:29 +00:00
hid.c
hid.h
if_aue.c Used correct aue_flags in ELECOM LD-USB/T and ELECOM LD-USB/TX. 2003-03-05 17:37:36 +00:00
if_auereg.h
if_cue.c
if_cuereg.h
if_kue.c
if_kuereg.h
if_uax.c Add AboCom UFE2000. 2003-05-25 14:36:56 +00:00
if_uaxreg.h Split out register definitions. 2003-02-16 17:18:47 +00:00
if_udav.c Remove advertising clauses from code written by Shingo WATANABE. 2003-09-04 15:17:38 +00:00
if_udavreg.h Remove advertising clauses from code written by Shingo WATANABE. 2003-09-04 15:17:38 +00:00
if_upl.c
if_url.c Remove advertising clauses from code written by Shingo WATANABE. 2003-09-04 15:17:38 +00:00
if_urlreg.h Remove advertising clauses from code written by Shingo WATANABE. 2003-09-04 15:17:38 +00:00
kue_fw.h
Makefile
Makefile.usbdevs
ohci.c Function names printed in debug messages did not always match the 2003-05-13 04:41:59 +00:00
ohcireg.h
ohcivar.h Use mstohz() in <sys/param.h> rather than homegrown MS_TO_TICKS(). 2003-02-22 05:24:16 +00:00
TODO
uaudio.c DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
uaudioreg.h
ubsa.c add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
ubt.c
ubtbcmfw.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
ubtbcmfw.h
ubtreg.h
ucom.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
ucomvar.h
udsbr.c
uftdi.c Remove assigned-to but not used variable. 2003-02-23 04:20:06 +00:00
uftdireg.h
ugen.c Cast a printf() arg so that USB_DEBUG compiles on multiple platforms. 2003-09-04 03:47:03 +00:00
ugraphire_rdesc.h
uhci.c avoid a gcc3 warning about a never-true comparision in the 2003-07-03 11:24:13 +00:00
uhcireg.h
uhcivar.h
uhid.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
uhidev.c add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
uhidev.h
uhub.c change URL pointers of USB[1,2] specification 2003-02-08 03:32:50 +00:00
uirda.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
ukbd.c Update URLs for the HID spec. 2003-03-11 16:44:00 +00:00
ukbdmap.c
ukbdvar.h
ulpt.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
umass_isdata.c
umass_isdata.h
umass_quirks.c cc -pipe -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Fix several problems with CCI handling, and enable it: 2003-09-10 02:49:18 +00:00
umass_quirks.h
umass_scsipi.c cc -pipe -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Fix several problems with CCI handling, and enable it: 2003-09-10 02:49:18 +00:00
umass_scsipi.h
umass.c cc -pipe -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Fix several problems with CCI handling, and enable it: 2003-09-10 02:49:18 +00:00
umassvar.h cc -pipe -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Fix several problems with CCI handling, and enable it: 2003-09-10 02:49:18 +00:00
umct.c Support for Belkin F5U109. From PR kern/21534. 2003-05-11 16:26:49 +00:00
umct.h
umidi_quirks.c
umidi_quirks.h
umidi.c
umidireg.h
umidivar.h
umodem.c
ums.c Update URLs for the HID spec. 2003-03-11 16:44:00 +00:00
uplcom.c Add Sony Ericsson DCU10 USB Cable. PR kern/22432. 2003-08-11 08:16:34 +00:00
urio.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
urio.h
usb_mem.c
usb_mem.h DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
usb_port.h Check in some work-in-progress (not yet operational). 2003-02-15 18:33:29 +00:00
usb_quirks.c Eicon diva 852 isdn ta support. From Pavel Arnost, PR kern/21818. 2003-06-07 17:00:41 +00:00
usb_quirks.h
usb_subr.c Make sure to include opt_foo.h if a defflag option FOO is used. 2003-06-23 11:00:59 +00:00
usb.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
usb.h
usbcdc.h
usbdevs Add quirk for Sandisk SDDR-86. The patch was supplied by Peter Seebach 2003-09-08 16:06:57 +00:00
usbdevs_data.h Regen. 2003-09-08 16:07:15 +00:00
usbdevs.h Regen. 2003-09-08 16:07:15 +00:00
usbdi_util.c
usbdi_util.h
usbdi.c
usbdi.h
usbdivar.h
usbhid.h
uscanner.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
usscanner.c
ustir.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
ustirreg.h
uvisor.c Bunch of changes to make the Palm Tungsten T work: 2003-08-03 21:59:26 +00:00
uvscom.c add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
uyap_firmware.h
uyap.c