NetBSD/sys
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
..
altq use arc4random. sync w/ kame 2003-09-05 22:43:01 +00:00
arch Bump initial kernel PTs to 4. 2003-09-09 20:42:38 +00:00
coda don't include opt_coda_compat.h unless _KERNEL_OPT. also, only include it 2003-08-28 05:55:19 +00:00
compat Catch up to Christos' SIGINFO changes. 2003-09-07 21:37:19 +00:00
conf welcome to 1.6Z 2003-09-06 23:23:17 +00:00
crypto bzero() 2nd arg mistake. found by openbsd guys, via kame 2003-09-04 00:11:49 +00:00
ddb Widen FLAGS column for ps/l so that all defined l_flag flags fit. 2003-09-07 14:14:36 +00:00
dev 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
fs add -t option for gmt time offset (normally MS-DOS filesystem has timestamp 2003-09-07 22:09:11 +00:00
gdbscripts
ipkdb
kern fix timerupcall breakage after SA_SIGINFO changes: 2003-09-09 15:16:30 +00:00
lib Um, undo last; libsa printf doesn't do %z. 2003-09-04 12:02:10 +00:00
lkm add /kern/ipsecsa and /kern/ipsecsp, which can be inspected by setkey(8). 2003-09-08 06:51:53 +00:00
miscfs Make vnode times on /kern/boottime be the boot time, not "now". 2003-09-10 00:45:22 +00:00
net Fix vlan tag sending in the ETHERCAP_VLAN_HWTAGGING case. 2003-09-09 14:22:19 +00:00
net80211 Complete merge. 2003-09-07 04:10:39 +00:00
netatalk Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
netccitt Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
netinet cut-and-paste error. Valeriy E. Ushakov 2003-09-10 01:46:27 +00:00
netinet6 lint 2003-09-09 11:39:14 +00:00
netipsec change the additional arg to be passed to ip{,6}_output to struct socket *. 2003-08-22 21:53:01 +00:00
netisdn Make it compile on alpha. 2003-08-12 19:49:27 +00:00
netiso adjust for SA_SIGINFO changes 2003-09-06 23:56:27 +00:00
netkey correct hashed SPI lookup. reported by Greg Troxel 2003-09-09 21:58:26 +00:00
netnatm Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
netns change the additional arg to be passed to ip{,6}_output to struct socket *. 2003-08-22 21:53:01 +00:00
netsmb "(u_short > 0xffff)" is never true, as gcc3 found out 2003-07-03 10:59:12 +00:00
nfs VOP_PUTPAGES() must be called with the vnode's interlock held. 2003-08-26 16:40:10 +00:00
opencrypto comment typo 2003-09-06 18:40:15 +00:00
stand Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
sys remove variable names from prototype for consistency. 2003-09-07 11:37:13 +00:00
ufs comments on lfs_issequential_hole. 2003-09-07 21:00:36 +00:00
uvm Can't rely on side-effects in KASSERT expressions which was pointed out to 2003-09-01 14:20:57 +00:00
Makefile Descend into opencrypto (in alphabetical order) to install userland OCF header.. 2003-07-25 23:09:26 +00:00