Source-Changes-HG archive

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

[src/trunk]: src Add new USB-enabled kernel config(s) based upon GENERIC for ...



details:   https://anonhg.NetBSD.org/src/rev/4abf45efaec9
branches:  trunk
changeset: 348733:4abf45efaec9
user:      flxd <flxd%NetBSD.org@localhost>
date:      Fri Nov 04 19:18:50 2016 +0000

description:
Add new USB-enabled kernel config(s) based upon GENERIC for pmax, include it as kernel set in the build and make it a choice in sysinst.
OK simonb@

diffstat:

 etc/etc.pmax/Makefile.inc            |   6 +++---
 sys/arch/pmax/conf/GENERIC64_USB     |  16 ++++++++++++++++
 sys/arch/pmax/conf/GENERIC_USB       |  16 ++++++++++++++++
 sys/arch/pmax/conf/files.pmax        |   4 +++-
 usr.sbin/sysinst/arch/pmax/md.h      |   3 ++-
 usr.sbin/sysinst/arch/pmax/msg.md.de |   5 ++++-
 usr.sbin/sysinst/arch/pmax/msg.md.en |   5 ++++-
 usr.sbin/sysinst/arch/pmax/msg.md.es |   5 ++++-
 usr.sbin/sysinst/arch/pmax/msg.md.fr |   4 +++-
 usr.sbin/sysinst/arch/pmax/msg.md.pl |   4 +++-
 10 files changed, 58 insertions(+), 10 deletions(-)

diffs (173 lines):

diff -r 5016c745be0c -r 4abf45efaec9 etc/etc.pmax/Makefile.inc
--- a/etc/etc.pmax/Makefile.inc Fri Nov 04 19:10:04 2016 +0000
+++ b/etc/etc.pmax/Makefile.inc Fri Nov 04 19:18:50 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.17 2009/12/14 01:12:05 matt Exp $
+#      $NetBSD: Makefile.inc,v 1.18 2016/11/04 19:18:50 flxd Exp $
 #
 #      etc.pmax/Makefile.inc -- pmax-specific etc Makefile targets
 #
@@ -8,13 +8,13 @@
 
 .if ${MACHINE_ARCH} == "mipsel"
 
-KERNEL_SETS=           GENERIC
+KERNEL_SETS=           GENERIC GENERIC_USB
 
 BUILD_KERNELS=         INSTALL RAMDISK
 
 .else
 
-KERNEL_SETS=           GENERIC64
+KERNEL_SETS=           GENERIC64 GENERIC64_USB
 
 BUILD_KERNELS=         INSTALL64 RAMDISK64
 
diff -r 5016c745be0c -r 4abf45efaec9 sys/arch/pmax/conf/GENERIC64_USB
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/pmax/conf/GENERIC64_USB  Fri Nov 04 19:18:50 2016 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: GENERIC64_USB,v 1.1 2016/11/04 19:18:50 flxd Exp $
+#
+# GENERIC64 kernel with USB
+
+include        "arch/pmax/conf/GENERIC64"
+
+# 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 5016c745be0c -r 4abf45efaec9 sys/arch/pmax/conf/GENERIC_USB
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/pmax/conf/GENERIC_USB    Fri Nov 04 19:18:50 2016 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: GENERIC_USB,v 1.1 2016/11/04 19:18:50 flxd Exp $
+#
+# GENERIC kernel with USB
+
+include        "arch/pmax/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 5016c745be0c -r 4abf45efaec9 sys/arch/pmax/conf/files.pmax
--- a/sys/arch/pmax/conf/files.pmax     Fri Nov 04 19:10:04 2016 +0000
+++ b/sys/arch/pmax/conf/files.pmax     Fri Nov 04 19:18:50 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.pmax,v 1.116 2016/10/21 18:11:59 flxd Exp $
+#      $NetBSD: files.pmax,v 1.117 2016/11/04 19:18:50 flxd Exp $
 # DECstation-specific configuration info
 
 # maxpartitions must be first item in files.${ARCH}.
@@ -178,4 +178,6 @@
 #
 include "dev/usb/files.usb"
 
+include "dev/bluetooth/files.bluetooth"
+
 include "arch/pmax/conf/majors.pmax"
diff -r 5016c745be0c -r 4abf45efaec9 usr.sbin/sysinst/arch/pmax/md.h
--- a/usr.sbin/sysinst/arch/pmax/md.h   Fri Nov 04 19:10:04 2016 +0000
+++ b/usr.sbin/sysinst/arch/pmax/md.h   Fri Nov 04 19:18:50 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.h,v 1.1 2014/07/26 19:30:46 dholland Exp $  */
+/*     $NetBSD: md.h,v 1.2 2016/11/04 19:18:50 flxd Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -74,3 +74,4 @@
  *      base etc comp games man misc tests text xbase xcomp xetc xfont xserver
  */
 #define SET_KERNEL_1_NAME      "kern-GENERIC"
+#define SET_KERNEL_2_NAME      "kern-GENERIC_USB"
diff -r 5016c745be0c -r 4abf45efaec9 usr.sbin/sysinst/arch/pmax/msg.md.de
--- a/usr.sbin/sysinst/arch/pmax/msg.md.de      Fri Nov 04 19:10:04 2016 +0000
+++ b/usr.sbin/sysinst/arch/pmax/msg.md.de      Fri Nov 04 19:18:50 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msg.md.de,v 1.1 2014/07/26 19:30:46 dholland Exp $     */
+/*     $NetBSD: msg.md.de,v 1.2 2016/11/04 19:18:50 flxd Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -50,3 +50,6 @@
 
 message set_kernel_1
 {Kernel (GENERIC)}
+
+message set_kernel_2
+{Kernel (GENERIC_USB)}
diff -r 5016c745be0c -r 4abf45efaec9 usr.sbin/sysinst/arch/pmax/msg.md.en
--- a/usr.sbin/sysinst/arch/pmax/msg.md.en      Fri Nov 04 19:10:04 2016 +0000
+++ b/usr.sbin/sysinst/arch/pmax/msg.md.en      Fri Nov 04 19:18:50 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msg.md.en,v 1.1 2014/07/26 19:30:46 dholland Exp $     */
+/*     $NetBSD: msg.md.en,v 1.2 2016/11/04 19:18:50 flxd Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -49,3 +49,6 @@
 
 message set_kernel_1
 {Kernel (GENERIC)}
+
+message set_kernel_2
+{Kernel (GENERIC_USB)}
diff -r 5016c745be0c -r 4abf45efaec9 usr.sbin/sysinst/arch/pmax/msg.md.es
--- a/usr.sbin/sysinst/arch/pmax/msg.md.es      Fri Nov 04 19:10:04 2016 +0000
+++ b/usr.sbin/sysinst/arch/pmax/msg.md.es      Fri Nov 04 19:18:50 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msg.md.es,v 1.1 2014/07/26 19:30:46 dholland Exp $     */
+/*     $NetBSD: msg.md.es,v 1.2 2016/11/04 19:18:50 flxd Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -49,3 +49,6 @@
 
 message set_kernel_1
 {Núcleo (GENERIC)}
+
+message set_kernel_2
+{Núcleo (GENERIC_USB)}
diff -r 5016c745be0c -r 4abf45efaec9 usr.sbin/sysinst/arch/pmax/msg.md.fr
--- a/usr.sbin/sysinst/arch/pmax/msg.md.fr      Fri Nov 04 19:10:04 2016 +0000
+++ b/usr.sbin/sysinst/arch/pmax/msg.md.fr      Fri Nov 04 19:18:50 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msg.md.fr,v 1.1 2014/07/26 19:30:46 dholland Exp $     */
+/*     $NetBSD: msg.md.fr,v 1.2 2016/11/04 19:18:50 flxd Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -50,3 +50,5 @@
 message set_kernel_1
 {Kernel (GENERIC)}
 
+message set_kernel_2
+{Kernel (GENERIC_USB)}
diff -r 5016c745be0c -r 4abf45efaec9 usr.sbin/sysinst/arch/pmax/msg.md.pl
--- a/usr.sbin/sysinst/arch/pmax/msg.md.pl      Fri Nov 04 19:10:04 2016 +0000
+++ b/usr.sbin/sysinst/arch/pmax/msg.md.pl      Fri Nov 04 19:18:50 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msg.md.pl,v 1.1 2014/07/26 19:30:46 dholland Exp $     */
+/*     $NetBSD: msg.md.pl,v 1.2 2016/11/04 19:18:50 flxd Exp $ */
 /* Based on english version: */
 /*     NetBSD: msg.md.en,v 1.8 2000/12/03 01:54:49 minoura Exp */
 
@@ -53,3 +53,5 @@
 message set_kernel_1
 {Kernel (GENERIC)}
 
+message set_kernel_2
+{Kernel (GENERIC_USB)}



Home | Main Index | Thread Index | Old Index