264 lines
9.0 KiB
Plaintext
264 lines
9.0 KiB
Plaintext
# $NetBSD: GENERIC,v 1.81 2005/01/17 15:28:52 cube Exp $
|
|
#
|
|
# 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/next68k/conf/std.next68k"
|
|
|
|
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
|
|
|
|
#ident "GENERIC-$Revision: 1.81 $"
|
|
|
|
# Needs to be set per system. i.e change these as you see fit
|
|
maxusers 16
|
|
|
|
# Standard system options
|
|
options KTRACE # system call tracing
|
|
options SYSTRACE # system call vetting via systrace(1)
|
|
options SYSVMSG # System V message queues
|
|
options SYSVSEM # System V semaphores
|
|
#options SEMMNI=10 # number of semaphore identifiers
|
|
#options SEMMNS=60 # number of semaphores in system
|
|
#options SEMUME=10 # max number of undo entries per process
|
|
#options SEMMNU=30 # number of undo structures in system
|
|
options SYSVSHM # System V shared memory
|
|
options P1003_1B_SEMAPHORE # POSIX semaphore support
|
|
#options SHMMAXPGS=1024 # 1024 pages is the default
|
|
|
|
options LKM # loadable kernel modules
|
|
options INSECURE # disable kernel security level
|
|
options USERCONF # userconf(4) support
|
|
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
|
|
options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
|
|
|
|
# Enable experimental buffer queue strategy for better responsiveness under
|
|
# high disk I/O load. Use it with caution - it's not proven to be stable yet.
|
|
#options NEW_BUFQ_STRATEGY
|
|
|
|
options DEBUG # kernel debugging code
|
|
options DIAGNOSTIC # extra kernel sanity checking
|
|
|
|
# Which kernel debugger? Uncomment either this:
|
|
options DDB
|
|
options DDB_HISTORY_SIZE=100 # enable history editing in DDB
|
|
|
|
# ... or these for KGDB (gdb remote target)
|
|
#makeoptions DEBUG="-g" # debugging symbols for gdb
|
|
#options KGDB # support for kernel gdb
|
|
#options KGDB_DEV=0xc01 # kgdb device number (dev_t)
|
|
#options KGDB_DEVRATE=9600 # baud rate
|
|
|
|
# Other debugging options
|
|
options KMEMSTATS # kernel memory statistics (vmstat -m)
|
|
#options PMAP_DEBUG
|
|
options SCSIDEBUG
|
|
options SCSIVERBOSE # Verbose SCSI errors
|
|
options SWAPDEBUG
|
|
|
|
# Compatibility options
|
|
options COMPAT_43 # and 4.3BSD and ...
|
|
options COMPAT_44 # and 4.4BSD and ...
|
|
options COMPAT_09 # NetBSD 0.9
|
|
options COMPAT_10 # NetBSD 1.0
|
|
options COMPAT_11 # NetBSD 1.1
|
|
options COMPAT_12 # NetBSD 1.2
|
|
options COMPAT_13 # NetBSD 1.3
|
|
options COMPAT_14 # NetBSD 1.4
|
|
options COMPAT_15 # NetBSD 1.5
|
|
options COMPAT_16 # NetBSD 1.6
|
|
|
|
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
|
|
|
|
options COMPAT_M68K4K # compatibility with NetBSD/m68k4k binaries
|
|
options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8,
|
|
options COMPAT_SUNOS # can run SunOS 4.1.1 executables
|
|
#options COMPAT_SVR4 # can run SVR4 executables
|
|
#options COMPAT_LINUX # can run Linux/m68k executables
|
|
options COMPAT_AOUT_M68K # support for NetBSD a.out executables
|
|
options EXEC_AOUT # support for a.out executables
|
|
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
|
|
|
|
# File systems
|
|
file-system FFS # UFS
|
|
#file-system EXT2FS # second extended file system (linux)
|
|
#file-system LFS # log-structured file system
|
|
file-system MFS # memory file system
|
|
file-system NFS # Network File System client
|
|
#file-system CD9660 # ISO 9660 + Rock Ridge file system
|
|
#file-system MSDOSFS # MS-DOS file system
|
|
file-system FDESC # /dev/fd
|
|
file-system KERNFS # /kern
|
|
file-system NULLFS # loopback file system
|
|
file-system OVERLAY # overlay file system
|
|
file-system PORTAL # portal filesystem (still experimental)
|
|
file-system PROCFS # /proc
|
|
file-system UMAPFS # NULLFS + uid and gid remapping
|
|
file-system UNION # union file system
|
|
|
|
options NFSSERVER # nfs server support
|
|
#options QUOTA # FFS quotas
|
|
#options SOFTDEP # FFS soft updates support.
|
|
#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
|
|
# immutable) behave as system flags.
|
|
|
|
# Networking options
|
|
options GATEWAY # packet forwarding
|
|
options INET # IP + ICMP + TCP + UDP
|
|
options INET6 # IPV6
|
|
#options IPSEC # IP security
|
|
#options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
|
|
#options IPSEC_DEBUG # debug for IP security
|
|
#options MROUTING # IP multicast routing
|
|
#options PIM # Protocol Independent Multicast
|
|
#options NS # XNS
|
|
#options NSIP # XNS tunneling over IP
|
|
#options ISO,TPIP # OSI
|
|
#options EON # OSI tunneling over IP
|
|
#options CCITT,LLC,HDLC # X.25
|
|
#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 PFIL_HOOKS # pfil(9) packet filter hooks
|
|
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
|
|
|
|
#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
|
|
|
|
# NeXT specific options
|
|
options M68040
|
|
options M68030
|
|
options FPSP
|
|
#options FPU_EMULATE
|
|
|
|
options ZS_CONSOLE_ABORT # drop to debugger on break
|
|
#options SERCONSOLE # use serial console
|
|
|
|
options NFS_BOOT_BOOTP
|
|
options NFS_BOOT_DHCP
|
|
|
|
# wscons options
|
|
options RCONS_2BPP # necessary for nextdisplay
|
|
options RCONS_16BPP # necessary for color nextdisplay
|
|
#options WSEMUL_SUN # sun terminal emulation
|
|
options WSEMUL_VT100 # VT100 / VT220 emulation
|
|
options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
|
|
options WSDISPLAY_COMPAT_USL # VT handling
|
|
options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
|
|
# see dev/wskbdmap_next.h for implemented layouts
|
|
#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
|
|
|
|
config netbsd root on ? type ?
|
|
|
|
#
|
|
# Device configuration
|
|
#
|
|
|
|
# The root node:
|
|
mainbus0 at root
|
|
|
|
#fpu0 at mainbus?
|
|
|
|
# device space
|
|
intio0 at mainbus?
|
|
|
|
nextkbd0 at intio? ipl 3
|
|
nextdisplay0 at mainbus?
|
|
|
|
wsdisplay* at nextdisplay? console ?
|
|
wskbd* at nextkbd? console ?
|
|
|
|
# INTIO
|
|
nextdma* at intio? ipl 6
|
|
|
|
zsc0 at intio? ipl 5
|
|
#zsc1 at intio? ipl 5
|
|
|
|
xe* at intio? ipl 3 # ethernet
|
|
|
|
esp0 at intio? ipl 3 flags 0xffff00 # Turn off sync negotiation
|
|
|
|
#
|
|
# Serial ports
|
|
#
|
|
zstty0 at zsc0 channel 0 # ttya
|
|
zstty1 at zsc0 channel 1 # ttyb
|
|
|
|
# SCSI bus support
|
|
scsibus* at scsi?
|
|
|
|
# SCSI devices
|
|
sd* at scsibus? target ? lun ? # SCSI disk drives
|
|
st* at scsibus? target ? lun ? # SCSI tape drives
|
|
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
|
|
ch* at scsibus? target ? lun ? # SCSI autochangers
|
|
se* at scsibus? target ? lun ? # SCSI ethernet
|
|
ss* at scsibus? target ? lun ? # SCSI scanners
|
|
uk* at scsibus? target ? lun ? # SCSI unknown
|
|
|
|
|
|
# Memory-disk drivers
|
|
pseudo-device md 2
|
|
|
|
# Misc.
|
|
pseudo-device loop 1 # network loopback
|
|
pseudo-device bpfilter 8 # packet filter
|
|
pseudo-device sl 2 # CSLIP
|
|
pseudo-device ppp 2 # PPP
|
|
pseudo-device pppoe # PPP over Ethernet (RFC 2516)
|
|
pseudo-device tun 2 # network tunneling over tty
|
|
pseudo-device tap # virtual Ethernet
|
|
#pseudo-device gre 2 # generic L3 over IP tunnel
|
|
pseudo-device ipfilter # ip filter
|
|
pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
|
|
#pseudo-device faith 1 # IPv[46] tcp relay translation i/f
|
|
#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
|
|
pseudo-device vlan # IEEE 802.1q encapsulation
|
|
pseudo-device bridge # simple inter-network bridging
|
|
#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
|
|
pseudo-device rnd # /dev/random and in-kernel generator
|
|
#pseudo-device wsmux # mouse & keyboard multiplexor
|
|
|
|
pseudo-device pty # pseudo-terminals
|
|
pseudo-device vnd 4 # paging to files
|
|
#pseudo-device raid 8 # RAIDframe disk driver
|
|
#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 ccd 4 # concatenated disks
|
|
pseudo-device clockctl # user control of clock subsystem
|
|
pseudo-device ksyms # /dev/ksyms
|
|
#pseudo-device pf # PF packet filter
|
|
#pseudo-device pflog # PF log if
|