From owner-freebsd-current Mon Aug 26 22:22:50 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64AC637B400 for ; Mon, 26 Aug 2002 22:22:43 -0700 (PDT) Received: from mgo.iij.ad.jp (mgo.iij.ad.jp [202.232.15.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CD5A43E4A for ; Mon, 26 Aug 2002 22:22:42 -0700 (PDT) (envelope-from shigeru@iij.ad.jp) Received: from ns.iij.ad.jp ([192.168.2.111]) by mgo.iij.ad.jp (8.8.8/MGO1.0) with ESMTP id OAA09937 for ; Tue, 27 Aug 2002 14:22:41 +0900 (JST) Received: from fs.iij.ad.jp (root@fs.iij.ad.jp [192.168.2.9]) by ns.iij.ad.jp (8.8.5/3.5Wpl7) with ESMTP id OAA17046 for ; Tue, 27 Aug 2002 14:22:40 +0900 (JST) Received: from localhost (shigeru@mercury.iij.ad.jp [192.168.4.89]) by fs.iij.ad.jp (8.8.5/3.5Wpl7) with ESMTP id OAA02038 for ; Tue, 27 Aug 2002 14:22:40 +0900 (JST) Date: Tue, 27 Aug 2002 14:22:40 +0900 (JST) Message-Id: <20020827.142240.02314545.shigeru@iij.ad.jp> To: freebsd-current@FreeBSD.org Subject: small patch to support Formula 2.5 From: YAMAMOTO Shigeru X-Mailer: Mew version 3.0.52 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Tue_Aug_27_14:22:40_2002_139)--" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----Next_Part(Tue_Aug_27_14:22:40_2002_139)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all, I modify to support "Formula 2.5 FireWire & USB" on USB, which is a 2.5' ATA disk case to attach on USB. #URL:http://www.century.co.jp/products/cfc25fugkit.html (writen in Japanese) This is quick hack. I only test 'can mount it' and 'read a file'. #I don't test 'can write a file'. I send a patch. Thanks, ------- YAMAMOTO Shigeru ----Next_Part(Tue_Aug_27_14:22:40_2002_139)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="usb.diff" Index: sys/dev/usb/umass.c =================================================================== RCS file: /share/cvsup/FreeBSD/current/usr/src/sys/dev/usb/umass.c,v retrieving revision 1.65 diff -u -r1.65 umass.c --- sys/dev/usb/umass.c 8 Aug 2002 12:05:50 -0000 1.65 +++ sys/dev/usb/umass.c 26 Aug 2002 06:27:12 -0000 @@ -370,6 +370,11 @@ FORCE_SHORT_INQUIRY }, + { USB_VENDOR_CENTURY, USB_PRODUCT_CENTURY_CFC25FUGKIT, RID_WILDCARD, + UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I, + NO_TEST_UNIT_READY | NO_START_STOP + }, + { VID_EOT, PID_EOT, RID_EOT, 0, 0 } }; Index: sys/dev/usb/usbdevs =================================================================== RCS file: /share/cvsup/FreeBSD/current/usr/src/sys/dev/usb/usbdevs,v retrieving revision 1.101 diff -u -r1.101 usbdevs --- sys/dev/usb/usbdevs 11 Aug 2002 21:11:14 -0000 1.101 +++ sys/dev/usb/usbdevs 26 Aug 2002 06:26:19 -0000 @@ -277,6 +277,7 @@ vendor ARASAN 0x07da Arasan Chip Systems vendor ALLIEDCABLE 0x07e6 Allied Cable vendor STSN 0x07ef STSN +vendor CENTURY 0x07f7 Century Corporation vendor ZOOM 0x0803 Zoom Telephonics vendor BROADLOGIC 0x0827 BroadLogic vendor HANDSPRING 0x082d Handspring @@ -1113,3 +1114,6 @@ /* ZyXEL Communication Co. products */ product ZYXEL OMNI56K 0x1500 Omni 56K Plus product ZYXEL 980N 0x2011 Scorpion-980N keyboard + +/* Century Corporation */ +product CENTURY CFC25FUGKIT 0x000b Formula 2.5 USB-ATAPI Bridge (CFC25FUG/KIT) ----Next_Part(Tue_Aug_27_14:22:40_2002_139)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message