Skip to content

Instantly share code, notes, and snippets.

@NCommander
Last active April 27, 2024 13:39
Show Gist options
  • Save NCommander/a2a03bf7dc86d2f71c47777f1f234e8f to your computer and use it in GitHub Desktop.
Save NCommander/a2a03bf7dc86d2f71c47777f1f234e8f to your computer and use it in GitHub Desktop.
INSTALL/GENERIC diff
user@skywalker:~/src/NetBSD/sys/arch/vax/conf$ diff -u INSTALL GENERIC
--- INSTALL 2024-04-27 08:39:55.956965465 -0400
+++ GENERIC 2024-04-27 07:53:38.299506303 -0400
@@ -1,17 +1,34 @@
-# $NetBSD: INSTALL,v 1.77 2023/02/11 06:02:56 tsutsui Exp $
+# $NetBSD: GENERIC,v 1.219 2023/02/12 14:50:42 abs Exp $
#
-# INSTALL kernel; all supported devices but nothing fancy.
+# GENERIC machine description file
+#
+# This machine description file is used to generate the default NetBSD
+# kernel. The generic kernel does not include all options, subsystems
+# and device drivers, but should be useful for most applications.
#
+# The machine description file can be customised for your specific
+# machine to reduce the kernel size and improve its performance.
+#
+# For further information on compiling NetBSD kernels, see the config(8)
+# man page.
+#
+# For further information on hardware support for this architecture, see
+# the intro(4) man page. For further information about kernel options
+# for this architecture, see the options(4) man page. For an explanation
+# of each device driver in this file see the section 4 man page for the
+# device.
include "arch/vax/conf/std.vax"
-#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
+options INCLUDE_CONFIG_FILE # embed config file in kernel binary
+
+#ident "GENERIC-$Revision: 1.219 $"
-makeoptions COPTS="-Os" # Optimise for space. Implies -O2
-�
# Here are all different supported CPU types listed.
+#options VAX8800 # VAX 8500, 8530, 8550, 8700, 8800
options VAX8600
options VAX8200
+#options VAX6400
options VAX780
options VAX750
options VAX630 # MV II
@@ -29,76 +46,105 @@
# Max users on system; this is just a hint
maxusers 8
-# Enable the hooks used for initializing the root memory-disk.
-options MEMORY_DISK_HOOKS
-options MEMORY_DISK_IS_ROOT # force root on memory disk
-options MEMORY_DISK_SERVER=0 # no userspace memory disk support
-options MEMORY_DISK_ROOT_SIZE=4100 # size of memory disk, in blocks
-options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
-
# Kernel compiled-in symbolic debugger & system call tracer
-#options DDB
-#options DDB_HISTORY_SIZE=512 # enable history editing in DDB
-#options KTRACE
-#options DIAGNOSTIC,DEBUG,PMAPDEBUG,TRAPDEBUG
+makeoptions DEBUG="-g"
+options DDB
+options DDB_HISTORY_SIZE=512 # enable history editing in DDB
+options KTRACE
+#options DIAGNOSTIC
+#options DEBUG
+#options PMAPDEBUG
+#options TRAPDEBUG
+#options LOCKDEBUG
-#options SCSIVERBOSE # Verbose SCSI errors
+options SCSIVERBOSE # Verbose SCSI errors
# Networking options
#options GATEWAY # packet forwarding
+options NTP # NTP kernel support
options INET # IP + ICMP + TCP + UDP
+options INET6 # IPV6
+#options IPSEC # IP security
+#options IPSEC_DEBUG # debug for IP security
+#options MROUTING # IP multicast routing
+#options NETATALK # AppleTalk networking protocols
+options PPP_BSDCOMP # BSD-Compress compression support for PPP
+options PPP_DEFLATE # Deflate compression support for PPP
+options PPP_FILTER # Active filter support for PPP (requires bpf)
options CPU_IN_CKSUM # optimized checksum routine
-# File systems
+#options ALTQ # Manipulate network interfaces' output queues
+#options ALTQ_BLUE # Stochastic Fair Blue
+#options ALTQ_CBQ # Class-Based Queueing
+#options ALTQ_CDNR # Diffserv Traffic Conditioner
+#options ALTQ_FIFOQ # First-In First-Out Queue
+#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
+#options ALTQ_HFSC # Hierarchical Fair Service Curve
+#options ALTQ_LOCALQ # Local queueing discipline
+#options ALTQ_PRIQ # Priority Queueing
+#options ALTQ_RED # Random Early Detection
+#options ALTQ_RIO # RED with IN/OUT
+#options ALTQ_WFQ # Weighted Fair Queueing
+
+# All supported filesystem types
file-system FFS
-#file-system LFS
-#file-system MFS
+file-system LFS
+file-system MFS
file-system NFS
-#file-system FDESC
-#file-system KERNFS
-#file-system NULLFS
-#file-system OVERLAY # overlay file system
-#file-system PROCFS
-#file-system UMAPFS
-#file-system UNION
+file-system FDESC
+file-system KERNFS
+file-system NULLFS
+file-system OVERLAY # overlay file system
+file-system PROCFS
+file-system UMAPFS
+file-system UNION
file-system CD9660
-#file-system PTYFS # /dev/pts/N support
-#file-system TMPFS # Efficient memory file-system
+file-system PTYFS # /dev/pts/N support
+file-system TMPFS # Efficient memory file-system
#file-system UDF # experimental - OSTA UDF CD/DVD file-system
-# Filesystem options
-#options QUOTA # legacy UFS quotas
-#options QUOTA2 # new, in-filesystem UFS quotas
+# File system options
#options FFS_EI # FFS Endian Independent support
-#options NFSSERVER
-#options NFS_V2_ONLY # Exclude NFS3 code to save space
-options FFS_NO_SNAPSHOT # No FFS snapshot support
+#options FFS_NO_SNAPSHOT # No FFS snapshot support
+options QUOTA # legacy UFS quotas
+options QUOTA2 # new, in-filesystem UFS quotas
+#options UFS_DIRHASH # UFS Large Directory Hashing
+options UFS_EXTATTR # Extended attribute support for UFS1
options WAPBL # File system journaling support
-
-#options NFS_BOOT_BOOTP,NFS_BOOT_DHCP # Use bootp <> dhcp
-#options NFS_BOOT_BOOTPARAM # Use the Sun way for netbooting.
+#options LFS_DIRHASH # LFS version of UFS_DIRHASH - experimental
+options NFSSERVER # Network File System server
+options NFS_BOOT_BOOTP,NFS_BOOT_DHCP # Use bootp <> dhcp
+options NFS_BOOT_BOOTPARAM # Use the Sun way for netbooting.
# WS console uses VT100 terminal emulation
options WSEMUL_VT100
-options WSDISPLAY_DEFAULTSCREENS=1
-#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
+options WSDISPLAY_DEFAULTSCREENS=8
+options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
+options FONT_QVSS8x15
# System V shared memory & semaphores support.
-#options SYSVMSG
-#options SYSVSEM
-#options SYSVSHM
+options SYSVMSG
+options SYSVSEM
+options SYSVSHM
# Old compat stuff; needed to run 4.3BSD Reno programs.
# Note that if COMPAT_ULTRIX is set, you lose compatibility with
# 4.3BSD Reno programs and get Ultrix compatibility instead.
# (They cannot coexist).
-include "conf/compat_netbsd14.config"
-#options COMPAT_VAX1K # Must be present to run pre-1.4 binaries.
-#options COMPAT_ULTRIX
+include "conf/compat_netbsd09.config"
+options COMPAT_VAX1K # Must be present to run pre-1.4 binaries.
+options COMPAT_ULTRIX
+#options NO_INSN_EMULATE # CPU does not lack some hardware instructions.
+
options USERCONF # userconf(4) support
-options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
-#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
+#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
+options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
+
+# Alternate buffer queue strategies for better responsiveness under high
+# disk I/O load.
+#options BUFQ_READPRIO
+options BUFQ_PRIOCSCAN
# Kernel(s) to compile
config netbsd root on ? type ?
@@ -142,7 +188,13 @@
gpx0 at vsbus0 csr 0x3c000000 # VS3100 GPX display option
#clr0 at vsbus0 csr 0x30000000 # 4- or 8-bitplans color graphics
spx0 at vsbus0 csr 0x38000000 # Low Cost SPX on VS4000/90.
-#lcg0 at vsbus0 csr 0x21801000 # VS4000/60 (or VLC) graphics
+lcg0 at vsbus0 csr 0x21801000 # VS4000/60 (or VLC) graphics
+vsaudio0 at vsbus0 csr 0x200d0000 # VS4000/60 (or VLC) audio
+vsaudio0 at vsbus0 csr 0x26800000 # VS4000/90 audio
+audio* at audiobus?
+
+spkr* at audio? # PC speaker (synthesized)
+
tc0 at vsbus0 csr 0x36800000 # VS4000/60 or 90 TC adapter
tcds* at tc0 slot ? offset ? # TC dual SCSI controller
asc* at tcds? chip ? # PMAZB/C
@@ -153,6 +205,7 @@
rd* at hdc0 drive? # RD5x disks
#ry* at hdc0 drive? # RX floppies
+
# Devices connected at VAXBI
cpu* at bi? node? # KA820/KA825 CPU
mem* at bi? node? # Memory subsystems
@@ -179,6 +232,7 @@
# Devices on Unibus/Qbus adapters
uda* at uba? csr 0172150 # UDA50/RQDX?
uda* at uba? csr 0160334
+#il* at uba? csr 0164000 # NI1010
mtc* at uba? csr 0174500 # Tape MSCP ctlr
ts0 at uba? csr 0172520 # TS11/TSV05 tape.
#qd0 at uba? csr 0177400 # 4- or 8-bitplans color graphics
@@ -212,36 +266,69 @@
sd* at scsibus? target? lun?
st* at scsibus? target? lun?
cd* at scsibus? target? lun?
-#ch* at scsibus? target? lun?
-#ss* at scsibus? target? lun?
-#uk* at scsibus? target? lun?
+ch* at scsibus? target? lun?
+ss* at scsibus? target? lun?
+uk* at scsibus? target? lun?
# VAXstation graphics support
wsdisplay* at smg0
wsdisplay* at gpx0
wsdisplay* at spx0
-#wsdisplay* at lcg0
+wsdisplay* at lcg0
#wsdisplay* at clr0
#wsdisplay* at qd0
#wsdisplay* at qv0
lkkbd0 at dz0 line 0
wskbd* at lkkbd? console ?
-#lkms0 at dz0 line 1
-#wsmouse* at lkms?
+lkms0 at dz0 line 1
+wsmouse* at lkms?
#
# accept filters
-#pseudo-device accf_data # "dataready" accept filter
-#pseudo-device accf_http # "httpready" accept filter
+pseudo-device accf_data # "dataready" accept filter
+pseudo-device accf_http # "httpready" accept filter
pseudo-device loop
pseudo-device pty # pseudo-terminals
pseudo-device bpfilter
-#pseudo-device tun
+pseudo-device carp # Common Address Redundancy Protocol
+pseudo-device npf # NPF packet filter
+#pseudo-device sl
+pseudo-device ppp
+#pseudo-device pppoe # PPP over Ethernet (RFC 2516)
+pseudo-device tun
+pseudo-device tap # virtual Ethernet
#pseudo-device gre # generic L3 over IP tunnel
-#pseudo-device vnd
-#pseudo-device ccd
+pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
+#pseudo-device faith # IPv[46] tcp relay translation i/f
+pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
+pseudo-device vlan # IEEE 802.1q encapsulation
+pseudo-device bridge # simple inter-network bridging
+pseudo-device vether # Virtual Ethernet for bridge
+pseudo-device agr # IEEE 802.3ad link aggregation
+pseudo-device vnd
+#options VND_COMPRESSION # compressed vnd(4)
+pseudo-device ccd
+#pseudo-device cgd # cryptographic disk devices
pseudo-device raid # RAIDframe disk driver
-#pseudo-device fss # file system snapshot device
+options RAID_AUTOCONFIG # auto-configuration of RAID components
+# Options to enable various other RAIDframe RAID types.
+# options RF_INCLUDE_EVENODD=1
+# options RF_INCLUDE_RAID5_RS=1
+# options RF_INCLUDE_PARITYLOGGING=1
+# options RF_INCLUDE_CHAINDECLUSTER=1
+# options RF_INCLUDE_INTERDECLUSTER=1
+# options RF_INCLUDE_PARITY_DECLUSTERING=1
+# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
+pseudo-device fss # file system snapshot device
+#pseudo-device leds # control the leds on vaxstations.
+pseudo-device clockctl # user control of clock subsystem
+pseudo-device drvctl # user control of drive subsystem
+pseudo-device ksyms # /dev/ksyms
+pseudo-device wsmux # mouse & keyboard multiplexor
+pseudo-device swwdog # software watchdog timer -- swwdog(4)
+
+include "dev/veriexec.config"
-pseudo-device md
+# Pull in optional local configuration - always at end
+cinclude "arch/vax/conf/GENERIC.local"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment