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 add some more USB devices



details:   https://anonhg.NetBSD.org/src/rev/42301afbada0
branches:  trunk
changeset: 335090:42301afbada0
user:      macallan <macallan%NetBSD.org@localhost>
date:      Thu Dec 25 05:15:42 2014 +0000

description:
add some more USB devices

diffstat:

 sys/arch/evbmips/conf/CI20 |  33 ++++++++++++++++++++++++++-------
 1 files changed, 26 insertions(+), 7 deletions(-)

diffs (69 lines):

diff -r 128a2c2a6608 -r 42301afbada0 sys/arch/evbmips/conf/CI20
--- a/sys/arch/evbmips/conf/CI20        Thu Dec 25 05:13:49 2014 +0000
+++ b/sys/arch/evbmips/conf/CI20        Thu Dec 25 05:15:42 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: CI20,v 1.6 2014/12/23 16:16:49 macallan Exp $
+#      $NetBSD: CI20,v 1.7 2014/12/25 05:15:42 macallan Exp $
 #
 # MIPS Creator CI20
 #
@@ -7,7 +7,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "CI20-$Revision: 1.6 $"
+#ident                 "CI20-$Revision: 1.7 $"
 
 maxusers       32
 
@@ -141,18 +141,37 @@
 
 # On-board USB
 dwctwo*        at apbus? addr 0x13500000
-options        DWC2_DEBUG
+#options       DWC2_DEBUG
 usb*           at dwctwo?
 uhub*          at usb?
 uhub*          at uhub? port ?
-umass*         at uhub? port ? configuration ? interface ?
-scsibus*       at umass? channel ?
-sd*            at scsibus? target ? lun ?
 #jzgpio*       at apbus? addr ?
 #gpio*         at jzgpio?
 
 # no RTC!  so fake with a stub (required to prevent evbmips panic)
 
+# 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
+
+# USB Generic HID devices
+uhid*  at uhidev? reportid ?
+
+# 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
+
+# Ethernet
+axe*   at uhub? port ?
 
 # MII/PHY support
 #acphy*                at mii? phy ?           # DAltima AC101 and AMD Am79c874 PHYs
@@ -171,7 +190,7 @@
 #tlphy*                at mii? phy ?           # ThunderLAN PHYs
 #tqphy*                at mii? phy ?           # TDK Semiconductor PHYs
 #rlphy*                at mii? phy ?           # RealTek PHYs
-#ukphy*                at mii? phy ?           # generic unknown PHYs
+ukphy*         at mii? phy ?           # generic unknown PHYs
 
 
 # Pseudo-devices



Home | Main Index | Thread Index | Old Index