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@
This commit is contained in:
parent
e7962ffd1d
commit
9ff8fe6273
|
@ -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
|
||||
|
||||
|
|
|
@ -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?
|
|
@ -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?
|
|
@ -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 @@ file dev/tc/xcfb.c xcfb needs-flag
|
|||
#
|
||||
include "dev/usb/files.usb"
|
||||
|
||||
include "dev/bluetooth/files.bluetooth"
|
||||
|
||||
include "arch/pmax/conf/majors.pmax"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 dobootblks
|
|||
|
||||
message set_kernel_1
|
||||
{Kernel (GENERIC)}
|
||||
|
||||
message set_kernel_2
|
||||
{Kernel (GENERIC_USB)}
|
||||
|
|
|
@ -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 dobootblks
|
|||
|
||||
message set_kernel_1
|
||||
{Kernel (GENERIC)}
|
||||
|
||||
message set_kernel_2
|
||||
{Kernel (GENERIC_USB)}
|
||||
|
|
|
@ -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 dobootblks
|
|||
|
||||
message set_kernel_1
|
||||
{Núcleo (GENERIC)}
|
||||
|
||||
message set_kernel_2
|
||||
{Núcleo (GENERIC_USB)}
|
||||
|
|
|
@ -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 dobootblks
|
|||
message set_kernel_1
|
||||
{Kernel (GENERIC)}
|
||||
|
||||
message set_kernel_2
|
||||
{Kernel (GENERIC_USB)}
|
||||
|
|
|
@ -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 dobootblks
|
|||
message set_kernel_1
|
||||
{Kernel (GENERIC)}
|
||||
|
||||
message set_kernel_2
|
||||
{Kernel (GENERIC_USB)}
|
||||
|
|
Loading…
Reference in New Issue