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        <[EMAIL PROTECTED]>
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)

Reply via email to