Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src USB for vax (similar to pmax; no/negligible impact on legacy):
details: https://anonhg.NetBSD.org/src/rev/cdadd6c06e5d
branches: trunk
changeset: 354601:cdadd6c06e5d
user: flxd <flxd%NetBSD.org@localhost>
date: Thu Jun 22 17:51:22 2017 +0000
description:
USB for vax (similar to pmax; no/negligible impact on legacy):
* Add USB device files/majors.
* Make kernel configs with USB work.
* Provide a USB-enabled kernel config.
diffstat:
etc/etc.vax/MAKEDEV.conf | 3 ++-
sys/arch/vax/conf/GENERIC_USB | 16 ++++++++++++++++
sys/arch/vax/conf/files.vax | 15 ++++++++++++++-
sys/arch/vax/conf/majors.vax | 4 +++-
4 files changed, 35 insertions(+), 3 deletions(-)
diffs (86 lines):
diff -r 934e8923e70e -r cdadd6c06e5d etc/etc.vax/MAKEDEV.conf
--- a/etc/etc.vax/MAKEDEV.conf Thu Jun 22 17:01:34 2017 +0000
+++ b/etc/etc.vax/MAKEDEV.conf Thu Jun 22 17:51:22 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: MAKEDEV.conf,v 1.18 2017/06/20 15:10:03 flxd Exp $
+# $NetBSD: MAKEDEV.conf,v 1.19 2017/06/22 17:51:22 flxd Exp $
all_md)
makedev mt0 mt1 ts0 ts1 st0 st1 uk0 ss0 cd0 vt0
@@ -7,6 +7,7 @@
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev ses0 ses1 ses2 ses3
makedev audio speaker
+ makedev usbs
makedev std_vax
;;
diff -r 934e8923e70e -r cdadd6c06e5d sys/arch/vax/conf/GENERIC_USB
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/vax/conf/GENERIC_USB Thu Jun 22 17:51:22 2017 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: GENERIC_USB,v 1.1 2017/06/22 17:51:22 flxd Exp $
+#
+# GENERIC kernel with USB
+
+include "arch/vax/conf/GENERIC"
+
+# TC-USB
+tcu* at tc? slot ? offset ?
+slhci* at tcu?
+gpio* at gpiobus?
+
+# USB bus support
+usb* at slhci?
+
+include "dev/usb/usbdevices.config"
+midi* at midibus?
diff -r 934e8923e70e -r cdadd6c06e5d sys/arch/vax/conf/files.vax
--- a/sys/arch/vax/conf/files.vax Thu Jun 22 17:01:34 2017 +0000
+++ b/sys/arch/vax/conf/files.vax Thu Jun 22 17:51:22 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.vax,v 1.122 2017/06/22 16:46:53 flxd Exp $
+# $NetBSD: files.vax,v 1.123 2017/06/22 17:51:22 flxd Exp $
#
# new style config file for vax architecture
#
@@ -180,6 +180,11 @@
attach si at vsbus with si_vsbus
file arch/vax/vsa/ncr.c si_vsbus
+#
+# Machine-independent ATA drivers
+#
+include "dev/ata/files.ata"
+
# Monochrome framebuffer on VS3100.
device smg: displaydev, wsemuldisplaydev
attach smg at vsbus
@@ -412,4 +417,12 @@
#arch/vax/if/if_vv.c optional vv device-driver
#arch/vax/if/raw_hy.c optional hy device-driver
+# this wants to be probed as late as possible.
+#
+# Machine-independent USB device support
+#
+include "dev/usb/files.usb"
+
+include "dev/bluetooth/files.bluetooth"
+
include "arch/vax/conf/majors.vax"
diff -r 934e8923e70e -r cdadd6c06e5d sys/arch/vax/conf/majors.vax
--- a/sys/arch/vax/conf/majors.vax Thu Jun 22 17:01:34 2017 +0000
+++ b/sys/arch/vax/conf/majors.vax Thu Jun 22 17:51:22 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: majors.vax,v 1.26 2015/07/05 03:06:27 matt Exp $
+# $NetBSD: majors.vax,v 1.27 2017/06/22 17:51:22 flxd Exp $
#
# Device majors for vax
#
@@ -97,3 +97,5 @@
# Majors up to 143 are reserved for machine-dependent drivers.
# New machine-independent driver majors are assigned in
# sys/conf/majors.
+
+include "conf/majors.usb"
Home |
Main Index |
Thread Index |
Old Index