NetBSD/sys/dev
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
..
acpi The unit displayed when printing battery capacities and 2003-08-31 01:36:12 +00:00
apm
arcbios
ata For LBA drives, compute the number of cylinders from the drive capacity 2003-08-03 17:53:04 +00:00
bi Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
bluetooth A little printf-casting to make the DIAGNOSTIC sections of this 2003-07-24 19:19:42 +00:00
cardbus function prototype must not have variable name 2003-07-08 10:06:28 +00:00
dec Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
dmover Add support for xor2-xor8 to swdmover. 2003-07-25 13:59:09 +00:00
ebus add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
eisa
gpib Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
hpc French keydesc for Jornada 680/690. Written based on photos and 2003-08-23 02:48:47 +00:00
i2c
i2o Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
ic Correct flag names of AD1980 2003-09-08 13:58:21 +00:00
ieee1394 sprinkle some LL suffixes on >32 bit number literals 2003-08-04 07:00:19 +00:00
ir add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
isa Several changes to eliminate bogus controllers and sockets from being found: 2003-09-05 01:02:51 +00:00
isapnp aha and le uses isadma 2003-08-14 10:03:03 +00:00
marvell Try to drain the Tx pending queues after dealing with Rx/Tx interrupts. 2003-08-05 14:55:06 +00:00
mca Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
microcode Apply the following change from 06/28/2003 04:44:10 by gibbs to the 2003-08-29 03:54:06 +00:00
mii Remove advertising clauses from code written by Shingo WATANABE. 2003-09-04 15:17:38 +00:00
mscp Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
mvme Move the prototype of clock_rtc_config() into <dev/clock_subr.h>. 2003-07-18 19:20:55 +00:00
news
ofisa
ofw Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
pci Fix a printf format. 2003-09-08 19:17:29 +00:00
pckbc Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
pcmcia add support IO-DATA PCET/TX-R EthernetCard 2003-09-02 12:43:02 +00:00
podulebus
qbus Add stop routine. Add support for turning the device into promiscous mode. 2003-08-31 11:13:43 +00:00
raidframe Let boot code include raidframe.h to get RF_PROTECTED_SECTORS. 2003-08-12 10:01:08 +00:00
rasops
rcons Undo previous as it broke things. 2003-08-25 17:50:22 +00:00
sbus change PROM_getprop() from taking a "void **" for the storage, to a 2003-08-27 15:59:49 +00:00
scsipi Make similar changes as with cd_mode_{sense,select}(). 2003-09-09 06:32:14 +00:00
smbus Fix some silly typos. 2003-07-10 05:34:30 +00:00
std add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
sun cc_callout does not belong to struct cons_channel, as it's only used 2003-08-27 01:37:38 +00:00
sysmon Rename the thread command name so that it fits on top's display. 2003-09-06 23:28:30 +00:00
tc Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
usb 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
vme fix error in previous 2003-08-28 16:36:22 +00:00
wscons Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
wsfont Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
xmi
auconv.c
auconv.h
audio_if.h Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
audio.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
audiovar.h
aurateconv.c
ccd.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
ccdvar.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
cgd_crypto.c
cgd_crypto.h
cgd.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
cgdvar.h
clock_subr.c sys/types.h -> sys/param.h to get vax inlines correct. 2003-08-13 11:35:25 +00:00
clock_subr.h Rename clock_rtc_config() to todr_attach(). 2003-07-18 21:41:22 +00:00
clockctl.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
cninit.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
cons.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
cons.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
DEVNAMES Add sk as the PCI SysKonnect driver 2003-08-30 21:41:19 +00:00
dksubr.c add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
dkvar.h Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
kttcp.c add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
kttcpio.h
ld.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
ldvar.h
Makefile
md_root.c
md.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
md.h
midi_if.h Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
midi.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
midisyn.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
midisynvar.h Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
midivar.h
mm.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
mulaw.c
mulaw.h function prototype must not have variable name 2003-07-08 09:07:15 +00:00
radio_if.h
radio.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
radiovar.h
rnd.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
rndpool.c
sequencer.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
sequencervar.h
verified_exec.c add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
vnd.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
vndvar.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00