Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2002 14:22:40 +0900 (JST)
From:      YAMAMOTO Shigeru <shigeru@iij.ad.jp>
To:        freebsd-current@FreeBSD.org
Subject:   small patch to support Formula 2.5
Message-ID:  <20020827.142240.02314545.shigeru@iij.ad.jp>

next in thread | raw e-mail | index | archive | help
----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	<shigeru@iij.ad.jp>

----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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020827.142240.02314545.shigeru>