From owner-freebsd-bugs Tue Jul 10 11:20: 7 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3359737B403 for ; Tue, 10 Jul 2001 11:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f6AIK1q14471; Tue, 10 Jul 2001 11:20:01 -0700 (PDT) (envelope-from gnats) Received: from gta.com (mailgate.gta.com [199.120.225.4]) by hub.freebsd.org (Postfix) with ESMTP id 56AF137B405 for ; Tue, 10 Jul 2001 11:10:53 -0700 (PDT) (envelope-from lab@gta.com) Received: from gta.com (GTA internal mail system) by gta.com id OAA24015 for FreeBSD-gnats-submit@freebsd.org; Tue, 10 Jul 2001 14:06:45 -0400 (EDT) Message-Id: <20010710140645.A23929@gta.com> Date: Tue, 10 Jul 2001 14:06:45 -0400 From: Larry Baird To: FreeBSD-gnats-submit@freebsd.org Subject: kern/28877: Support for USB FDD using SMSC controllers Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 28877 >Category: kern >Synopsis: [Patch] support for USB FDD using SMSC controllers >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 10 11:20:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Larry Baird >Release: FreeBSD 4.3-RELEASE i386 >Organization: GTA, Inc. >Environment: Machines with USB interfaces tring to use USB floppy based upon smsc USB FDD controller (http://www.smsc.com/main/catalog/usb97cfdc.html). Example product is http://www.pcally.com/spec/usb/fddusbp.html. >Description: USB floppies based upon SMSC USB FDD controller don't work. The FDD is detected, but when tring to reand and or write, errors occur. From dmseg umass0: SMSC USBFDC GOLD-1.0, rev 1.10/1.00, addr 2 da4 at umass-sim0 bus 0 target 0 lun 0 da4: Removable Direct Access SCSI-0 device da4: 20KB/s transfers da4: 1MB (2880 512 byte sectors: 2H 18S/T 80C) Add following to da_quirk_table[] in sys/cam/scsi/scsi_da.c { /* SMSC USB floppy */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "SMSC*", "USB FDC*","*"}, /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE }, Note the vendor, product and version for this controller are null terminated instead of being padded with spaces. The trailing wildcard character '*' is required. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message