Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbmips/conf Use usbdevices. add midi needed to bui...



details:   https://anonhg.NetBSD.org/src/rev/32cb486cc58f
branches:  trunk
changeset: 829135:32cb486cc58f
user:      maya <maya%NetBSD.org@localhost>
date:      Thu Jan 18 23:17:09 2018 +0000

description:
Use usbdevices. add midi needed to build umidi.
Remove now redundant USB entries.

So we will stop missing random USB drivers.

diffstat:

 sys/arch/evbmips/conf/LOONGSON |  70 +++++++----------------------------------
 1 files changed, 12 insertions(+), 58 deletions(-)

diffs (103 lines):

diff -r bb44625c6b62 -r 32cb486cc58f sys/arch/evbmips/conf/LOONGSON
--- a/sys/arch/evbmips/conf/LOONGSON    Thu Jan 18 17:59:29 2018 +0000
+++ b/sys/arch/evbmips/conf/LOONGSON    Thu Jan 18 23:17:09 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: LOONGSON,v 1.35 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: LOONGSON,v 1.36 2018/01/18 23:17:09 maya Exp $
 #
 # LOONGSON machine description file
 # 
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "LOONGSON-$Revision: 1.35 $"
+#ident                 "LOONGSON-$Revision: 1.36 $"
 
 maxusers       16
 
@@ -176,11 +176,21 @@
 lynxfb0                at pci0 dev ? function ?        # SM712 on Yeeloong Notebook
 #genfb0                at pci0 dev ? function ?
 wsdisplay*     at wsemuldisplaydev?
+
 ehci*          at pci0 dev ? function ?
 #options       EHCI_DEBUG
 ohci*          at pci0 dev ? function ?
 #options       OHCI_DEBUG, USB_DEBUG, UHUB_DEBUG
 
+# USB
+usb*   at ehci?
+usb*   at ohci?
+
+include "dev/usb/usbdevices.config"
+midi*          at midibus?
+
+options                GDIUM_KEYBOARD_HACK     # support Fn key on Gdium
+
 gcscpcib*      at pci? dev ? function ?        # AMD CS5535/CS5536 PCI-ISA w/
 gpio*          at gcscpcib?                    # timecounter, watchdog and GPIO
 isa0           at gcscpcib?
@@ -246,62 +256,6 @@
 rlphy* at mii? phy ?                   # Realtek 8139/8201L PHYs
 ukphy* at mii? phy ?                   # generic unknown PHYs
 
-# USB Hubs
-usb*   at ehci?
-usb*   at ohci?
-uhub*  at usb?
-uhub*  at uhub? port ?
-
-# USB HID device
-uhidev*        at uhub? port ? configuration ? interface ?
-
-# USB Mice
-ums*           at uhidev? reportid ?
-wsmouse*       at ums? mux 0
-
-# USB Keyboards
-ukbd*  at uhidev? reportid ?
-wskbd* at ukbd? console ? mux 1
-options        GDIUM_KEYBOARD_HACK     # support Fn key on Gdium
-
-# USB Generic HID devices
-uhid*  at uhidev? reportid ?
-
-# USB serial adapter
-uftdi* at uhub? port ? configuration ?
-
-# USB Printer
-ulpt*  at uhub? port ? configuration ? interface ?
-
-# USB Modem
-umodem*        at uhub? port ? configuration ?
-ucom*  at umodem?
-
-# Option N.V. Wireless WAN modems
-uhso*  at uhub? port ? configuration ?
-
-# USB Mass Storage
-umass* at uhub? port ? configuration ? interface ?
-scsibus*       at umass? channel ?
-sd*            at scsibus? target ? lun ?      # SCSI disk drives
-cd*            at scsibus? target ? lun ?      # SCSI CD-ROM drives
-
-# FTDI FT8U100AX serial adapter
-uftdi* at uhub? port ?
-ucom*  at uftdi? portno ?
-
-uplcom*        at uhub? port ?         # I/O DATA USB-RSAQ2 serial adapter
-ucom*  at uplcom? portno ?
-
-umct*  at uhub? port ?         # MCT USB-RS232 serial adapter
-ucom*  at umct? portno ?
-
-# Realtek RTL8187/RTL8187B 802.11b/g USB wireless adapter
-urtw*  at uhub? port ?
-
-# USB Generic driver
-ugen*  at uhub? port ?
-
 #
 # accept filters
 pseudo-device   accf_data              # "dataready" accept filter



Home | Main Index | Thread Index | Old Index