Go to file
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
bin Reinstate paragraph about -E, sort option descriptions, and bump date for -E addition. 2003-09-08 13:13:08 +00:00
crypto SKEY and BSDAUTH #ifdef mixup 2003-09-08 21:00:41 +00:00
dist Use bounded string op (snprintf instead of sprintf) for an automatic 2003-08-28 11:32:33 +00:00
distrib libc shlib minor bump 2003-09-09 22:18:58 +00:00
doc Mention things I did lately. 2003-09-09 23:35:43 +00:00
etc dd icmp6 as alias 2003-09-08 21:02:55 +00:00
games Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 09:36:50 +00:00
gnu Avoid outputing illegal assembler code for shifts by constants out of 2003-09-09 21:26:20 +00:00
include add randomid(3). 2003-09-09 22:10:33 +00:00
lib getopt return value has to be held in int, not char. 2003-09-10 00:03:42 +00:00
libexec Back out revision 1.100. There is something screwier going on. 2003-09-07 22:17:43 +00:00
regress simple tests to verify new signal trampoline works. 2003-09-06 22:27:22 +00:00
rescue Remove file "rescue.unstripped" in "cleandir" target. 2003-07-14 09:00:33 +00:00
sbin make it possible to use /kern/ipsec{sp,sa} for dumping policy/SA. it will 2003-09-08 12:34:29 +00:00
share Punctuation fix. 2003-09-08 18:06:40 +00:00
sys 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
tools If SIZE_MAX is not defined, but SIZE_T_MAX is defined (e.g. FreeBSD), 2003-08-27 18:33:26 +00:00
usr.bin PR# bin/22736: Allow unsorted tags file to work. If the initial binary 2003-09-09 21:03:15 +00:00
usr.sbin Inverted a test by mistake. 2003-09-09 08:22:39 +00:00
BUILDING Backout the previous commit 2003-08-19 12:53:30 +00:00
Makefile netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
Makefile.inc
UPDATING mention that you *need* COMPAT_16 before building. 2003-09-06 22:12:42 +00:00
build.sh in getkernelconf(), remove check for non-empty $makeobjdir, as it's not 2003-08-16 11:46:44 +00:00