kern/130881: [patch] unbreak the build of umass.c for RELENG_7 after svn rev. 187577

Eygene Ryabinkin rea-fbsd at codelabs.ru
Thu Jan 22 05:10:11 PST 2009


>Number:         130881
>Category:       kern
>Synopsis:       [patch] unbreak the build of umass.c for RELENG_7 after svn rev. 187577
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 22 13:10:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Eygene Ryabinkin
>Release:        FreeBSD 7.1-STABLE amd64
>Organization:
Code Labs
>Environment:

System: FreeBSD 7.1-STABLE amd64

>Description:

Revision 187577 of /sys/dev/usb/umass.c introduced some USB product
names that aren't in the usbdevs table.

>How-To-Repeat:

Check out the latest kernel sources for RELENG_7 and try to build them
with the enabled 'umass' (for me it was built-in to the kernel).

>Fix:

The following patch will fix the build; it just adds the missing products
to the usbdevs.  Tested this on my 7.1-STABLE/i386 system.

--- usbdevs.patch begins here ---
--- sys/dev/usb/usbdevs.orig	2009-01-22 15:59:26.000000000 +0300
+++ sys/dev/usb/usbdevs	2009-01-22 15:58:48.000000000 +0300
@@ -1758,6 +1758,7 @@
 
 /* Netac products */
 product NETAC CF_CARD		0x1060	USB-CF-Card
+product NETAC ONLYDISK		0x0003	OnlyDisk
 
 
 /* NetChip Technology Products */
@@ -1810,6 +1811,7 @@
 product OMNIVISION OV511PLUS	0xa511	OV511+ Camera
 
 /* OnSpec Electronic, Inc. */
+product ONSPEC SDS_HOTFIND_D	0x0400	SDS-infrared.com Hotfind-D Infrared Camera
 product ONSPEC MDCFE_B_CF_READER	0xa000	MDCFE-B USB CF Reader
 product ONSPEC CFMS_RW		0xa001	SIIG/Datafab Memory Stick+CF Reader/Writer
 product ONSPEC READER		0xa003	Datafab-based Reader
--- usbdevs.patch ends here ---

Probably it will be wise to sync the entire usbdevs from -CURRENT --
don't know and hadn't tested it yet.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list