From owner-cvs-all Mon Dec 17 23:55:25 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A734B37B405; Mon, 17 Dec 2001 23:55:17 -0800 (PST) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBI7tHA79580; Mon, 17 Dec 2001 23:55:17 -0800 (PST) (envelope-from jhb) Message-Id: <200112180755.fBI7tHA79580@freefall.freebsd.org> From: John Baldwin Date: Mon, 17 Dec 2001 23:55:17 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb umass.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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