From owner-freebsd-bugs@FreeBSD.ORG Thu Jan 22 13:10:08 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1697A1065702 for ; Thu, 22 Jan 2009 13:10:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3A02F8FC4F; Thu, 22 Jan 2009 13:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0MDA6IF063154; Thu, 22 Jan 2009 13:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0MDA6h8063153; Thu, 22 Jan 2009 13:10:06 GMT (envelope-from gnats) Resent-Date: Thu, 22 Jan 2009 13:10:06 GMT Resent-Message-Id: <200901221310.n0MDA6h8063153@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@freebsd.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Cc: n_himba@freebsd.org Resent-Reply-To: FreeBSD-gnats-submit@freebsd.org, Eygene Ryabinkin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C8CD1065678 for ; Thu, 22 Jan 2009 13:05:39 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id C94078FC0A for ; Thu, 22 Jan 2009 13:05:38 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtps (TLSv1:CAMELLIA256-SHA:256) id 1LPzFZ-0005rz-Sf for FreeBSD-gnats-submit@freebsd.org; Thu, 22 Jan 2009 16:05:37 +0300 Message-Id: <20090122130537.B9BA8DA81D@void.codelabs.ru> Date: Thu, 22 Jan 2009 16:05:37 +0300 (MSK) From: Eygene Ryabinkin To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 X-GNATS-Notify: n_himba@freebsd.org Cc: Subject: kern/130881: [patch] unbreak the build of umass.c for RELENG_7 after svn rev. 187577 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eygene Ryabinkin List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2009 13:10:11 -0000 >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: