Subject: kern/33184: Use sys/dev/usb/usbdevices.config in kernel config files
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <scw@netbsd.org>
List: netbsd-bugs
Date: 04/03/2006 10:00:01
>Number: 33184
>Category: kern
>Synopsis: Use sys/dev/usb/usbdevices.config in kernel config files
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Apr 03 10:00:00 +0000 2006
>Originator: Steve Woodford
>Release: NetBSD 3.99.17
>Organization:
>Environment:
Architecture: all
Machine: all
>Description:
NetBSD's "kitchen sink" kernel config files should be including
sys/dev/usb/usbdevices.config to get support for all current USB drivers.
At the present time, adding a driver for a USB device requires that a
whole bunch of kernel config files be edited and committed.
>How-To-Repeat:
Write a USB driver then edit dozens of kernel config files.
>Fix:
Find all the eligible kernel config files (I guess only those which have
PCI, since usbdevices.config assumes this). Replace all the USB entries
with:
include "dev/usb/usbdevices.config"
Problem solved.