Date: Mon, 17 Dec 2001 23:55:17 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb umass.c Message-ID: <200112180755.fBI7tHA79580@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2001/12/17 23:55:17 PST Modified files: sys/dev/usb umass.c Log: - Add a function to convert 6 byte SCSI commands for read, write, mode sense, and mode select into their 10 byte equivalents. Eventually the da(4) driver will become more intelligent about this, or at least allow umass(4) to pass quirks in directly. However, this is a functional workaround until a better fix is implemented. - Use the 6 to 10 conversion function to allow the ATAPI and UFI command sets to emulate 6 byte commands with 10 byte commands. - Use the ATAPI command set rather than UFI for the ScanLogic SL11R-IDE as it supports the SYNCH_CACHE command. - Enable ATAPI command set support. - Pass READ/WRITE_12 commands through for UFI support as the UFI spec says they should be supported. - Update a comment in the UFI translation function since we handle MODE_SELECT. Revision Changes Path 1.47 +89 -35 src/sys/dev/usb/umass.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112180755.fBI7tHA79580>