Source-Changes-HG archive

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

[src/trunk]: src Bless pmax with USB device files/majors and make kernel conf...



details:   https://anonhg.NetBSD.org/src/rev/7afe868e8024
branches:  trunk
changeset: 818655:7afe868e8024
user:      flxd <flxd%NetBSD.org@localhost>
date:      Fri Oct 21 18:11:59 2016 +0000

description:
Bless pmax with USB device files/majors and make kernel configs with USB and typical drivers work.
OK christos@ simonb@

diffstat:

 etc/etc.pmax/MAKEDEV.conf      |   3 ++-
 sys/arch/pmax/conf/files.pmax  |  14 +++++++++++++-
 sys/arch/pmax/conf/majors.pmax |   4 +++-
 3 files changed, 18 insertions(+), 3 deletions(-)

diffs (65 lines):

diff -r d91c47870aa5 -r 7afe868e8024 etc/etc.pmax/MAKEDEV.conf
--- a/etc/etc.pmax/MAKEDEV.conf Fri Oct 21 10:56:35 2016 +0000
+++ b/etc/etc.pmax/MAKEDEV.conf Fri Oct 21 18:11:59 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: MAKEDEV.conf,v 1.8 2011/09/06 14:40:11 apb Exp $
+# $NetBSD: MAKEDEV.conf,v 1.9 2016/10/21 18:11:59 flxd Exp $
 
 all_md)
        makedev minimal
@@ -6,6 +6,7 @@
        makedev stic0 stic1 stic2
        makedev audio
        makedev scsibus0 scsibus1 scsibus2 scsibus3
+       makedev usbs
        ;;
 
 minimal)
diff -r d91c47870aa5 -r 7afe868e8024 sys/arch/pmax/conf/files.pmax
--- a/sys/arch/pmax/conf/files.pmax     Fri Oct 21 10:56:35 2016 +0000
+++ b/sys/arch/pmax/conf/files.pmax     Fri Oct 21 18:11:59 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.pmax,v 1.115 2014/07/20 10:22:54 alnsn Exp $
+#      $NetBSD: files.pmax,v 1.116 2016/10/21 18:11:59 flxd Exp $
 # DECstation-specific configuration info
 
 # maxpartitions must be first item in files.${ARCH}.
@@ -95,6 +95,12 @@
 
 include "dev/scsipi/files.scsipi"
 
+#
+# Machine-independent ATA drivers
+#
+include "dev/ata/files.ata"
+
+
 # Memory Disk
 file   dev/md_root.c                   memory_disk_hooks
 
@@ -166,4 +172,10 @@
 attach xcfb at tc
 file   dev/tc/xcfb.c                   xcfb needs-flag
 
+# this wants to be probed as late as possible.
+#
+# Machine-independent USB device support
+#
+include "dev/usb/files.usb"
+
 include "arch/pmax/conf/majors.pmax"
diff -r d91c47870aa5 -r 7afe868e8024 sys/arch/pmax/conf/majors.pmax
--- a/sys/arch/pmax/conf/majors.pmax    Fri Oct 21 10:56:35 2016 +0000
+++ b/sys/arch/pmax/conf/majors.pmax    Fri Oct 21 18:11:59 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: majors.pmax,v 1.21 2011/06/30 20:09:34 wiz Exp $
+#      $NetBSD: majors.pmax,v 1.22 2016/10/21 18:11:59 flxd Exp $
 #
 # Device majors for pmax
 #
@@ -55,3 +55,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