303 lines
11 KiB
Plaintext
303 lines
11 KiB
Plaintext
# $NetBSD: GENERIC,v 1.120 2005/08/19 02:03:51 christos 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/hp300/conf/std.hp300"
|
|
|
|
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
|
|
|
|
#ident "GENERIC-$Revision: 1.120 $"
|
|
|
|
maxusers 32 # estimated number of users
|
|
|
|
# Support for various CPU types
|
|
options HP320
|
|
options HP330 # includes 318, 319
|
|
options HP340
|
|
options HP345
|
|
options HP350
|
|
options HP360
|
|
options HP370
|
|
options HP375
|
|
options HP380
|
|
options HP385
|
|
options HP400
|
|
options HP425
|
|
options HP433
|
|
options FPSP # floating point interface for 68040
|
|
|
|
# Standard system options
|
|
options KTRACE # system call tracing support
|
|
options SYSTRACE # system call vetting via systrace(1)
|
|
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
|
|
#options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
|
|
options NTP # NTP phase/frequency locked loop
|
|
options SYSVSHM # System V-style shared memory
|
|
#options SHMMAXPGS=1024 # 1024 pages is the default
|
|
options SYSVMSG # System V-style message queues
|
|
options SYSVSEM # System V-style 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 P1003_1B_SEMAPHORE # p1003.1b semaphore support
|
|
|
|
# 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 BUFQ_READPRIO
|
|
#options BUFQ_PRIOCSCAN
|
|
|
|
# Debugging options
|
|
options DIAGNOSTIC # Extra kernel sanity checks
|
|
#options DEBUG # Enable misc. kernel debugging code
|
|
#options KMEMSTATS # kernel memory statistics (vmstat -m)
|
|
options DDB # Kernel Dynamic Debugger
|
|
#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
|
|
#options KGDB # remote debugger
|
|
#makeoptions DEBUG="-g" # netbsd.gdb with full debugging symbols
|
|
|
|
# Compatibility options
|
|
options COMPAT_43 # compatibility with 4.3BSD interfaces
|
|
options COMPAT_44 # compatibility with 4.4BSD binaries
|
|
options COMPAT_09 # compatibility with NetBSD 0.9
|
|
options COMPAT_10 # compatibility with NetBSD 1.0
|
|
options COMPAT_11 # compatibility with NetBSD 1.1
|
|
options COMPAT_12 # compatibility with NetBSD 1.2
|
|
options COMPAT_13 # compatibility with NetBSD 1.3
|
|
options COMPAT_14 # compatibility with NetBSD 1.4
|
|
options COMPAT_15 # compatibility with NetBSD 1.5
|
|
options COMPAT_16 # compatibility with NetBSD 1.6
|
|
options COMPAT_20 # compatibility with NetBSD 2.0
|
|
options COMPAT_30 # NetBSD 3.0 compatibility.
|
|
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
|
|
|
|
# Binary compatibility.
|
|
options COMPAT_HPUX # HP-UX binary compatibility
|
|
options COMPAT_AOUT_M68K # NetBSD/m68k a.out binary compatibility
|
|
options COMPAT_M68K4K # NetBSD/m68k4k binary compatibility
|
|
options COMPAT_SUNOS # SunOS4 m68k binary compatibility
|
|
options COMPAT_LINUX # Linux/m68k binary compatibility
|
|
options COMPAT_SVR4 # SVR4 binary compatibility
|
|
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
|
|
|
|
# Filesystems
|
|
file-system CD9660 # CD-ROM ISO-9660 filesystem
|
|
file-system EXT2FS # second extended file system (linux)
|
|
file-system FDESC # user file descriptor filesystem
|
|
file-system FFS # fast filesystem
|
|
file-system KERNFS # kernel data-structure filesystem
|
|
file-system LFS # log-structured file system
|
|
file-system MFS # Memory-based filesystem
|
|
file-system NFS # Network filesystem client
|
|
file-system NULLFS # loopback file system
|
|
file-system OVERLAY # overlay file system
|
|
file-system PORTAL # portal filesystem (still experimental)
|
|
file-system PROCFS # /proc filesystem
|
|
file-system UMAPFS # NULLFS + uid and gid remapping
|
|
file-system UNION # Union filesystem (req. for FDESC)
|
|
file-system CODA # Coda File System; also needs vcoda (below)
|
|
#file-system PTYFS # experimental - /dev/ptm support
|
|
|
|
# Filesystem options
|
|
options QUOTA # User and group quotas in FFS
|
|
#options FFS_EI # FFS Endian Independant support
|
|
options SOFTDEP # FFS soft updates support.
|
|
#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
|
|
options NFSSERVER # Network filesystem server
|
|
#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags
|
|
options NFS_BOOT_BOOTP # use bootp for NFS boot
|
|
#options FFS_NO_SNAPSHOT # ffs snapshots
|
|
|
|
# Networking options
|
|
options INET # Internet protocols
|
|
options INET6 # IPV6
|
|
#options IPSEC # IP security
|
|
#options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
|
|
#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
|
|
#options IPSEC_DEBUG # debug for IP security
|
|
options GATEWAY # IP forwarding + larger mb_map
|
|
options MROUTING # 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 # packet filter hooks
|
|
options IPFILTER_LOG # ipmon(8) log support
|
|
#options IPFILTER_DEFAULT_BLOCK # block all packets by default
|
|
#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
|
|
|
|
# Options for HP hardware
|
|
options USELEDS # make the lights twinkle
|
|
#options PANICBUTTON # two fast <reset>s on HIL dump kernel
|
|
#options CONSCODE=9 # force console at this select code
|
|
#options MAPPEDCOPY # different copyin/copyout for large copies
|
|
|
|
# These options enable verbose messages for several subsystems.
|
|
# Warning, these may compile large string tables into the kernel!
|
|
#options SCSIVERBOSE # Verbose SCSI errors
|
|
options DIOVERBOSE # recognize "unknown" DIO devices
|
|
|
|
config netbsd root on ? type ?
|
|
|
|
#
|
|
# Device configuration
|
|
#
|
|
|
|
mainbus0 at root # root "bus"
|
|
|
|
intio0 at mainbus0 # internal i/o space
|
|
dio0 at mainbus0 # DIO/DIO-II bus
|
|
|
|
rtc* at intio? # real-time clock (not optional)
|
|
dma* at intio? # DMA controller
|
|
hil* at intio? # Human Interface Loop
|
|
options UK_KEYBOARD # include United Kingdom HIL keymap
|
|
options SE_KEYBOARD # include Swedish HIL keymap
|
|
frodo* at intio? # Frodo utility chip found on 4xx's
|
|
nhpib* at intio? # slow internal HP-IB
|
|
|
|
# 8250-like serial ports found on Frodo ASIC
|
|
#dnkbd0 at frodo? offset 0x0 # Domain keyboard flavor
|
|
com* at frodo? offset ? # tty flavor
|
|
|
|
dvbox* at intio? # Davinci framebuffer
|
|
dvbox* at dio? scode ?
|
|
|
|
gbox* at intio? # Gatorbox framebuffer
|
|
gbox* at dio? scode ?
|
|
|
|
hyper* at dio? scode ? # Hyperion framebuffer
|
|
|
|
rbox* at intio? # Renaissance framebuffer
|
|
rbox* at dio? scode ?
|
|
|
|
topcat* at intio? # Topcat/catseye framebuffers
|
|
topcat* at dio? scode ?
|
|
|
|
# Framebuffer abstraction
|
|
grf* at dvbox?
|
|
grf* at gbox?
|
|
grf* at hyper?
|
|
grf* at rbox?
|
|
grf* at topcat?
|
|
|
|
ite* at grf? # Internal Terminal Emulator
|
|
|
|
com0 at dio0 scode 9 # DCA serial interfaces
|
|
com* at dio? scode ?
|
|
|
|
dcm* at dio? scode ? flags 0xe # DCM 4- or 8-port serial interfaces
|
|
|
|
le* at dio? scode ? # LANCE ethernet interfaces
|
|
|
|
nhpib0 at dio? scode 7 # slow internal HP-IB
|
|
nhpib* at dio? scode ?
|
|
|
|
fhpib* at dio? scode ? # `fast' HP-IB
|
|
|
|
hpibbus0 at nhpib0
|
|
hpibbus* at nhpib?
|
|
hpibbus* at fhpib?
|
|
|
|
rd* at hpibbus? slave ? punit ? # HP-IB disks
|
|
ct* at hpibbus? slave ? punit ? # HP-IB cartridge tapes
|
|
mt* at hpibbus? slave ? punit ? # HP-IB 9-track tape
|
|
ppi0 at hpibbus0 slave 5 punit 0 # HP-IB plotter
|
|
|
|
spc* at dio? scode ? # HP 98265A SCSI
|
|
scsibus* at spc?
|
|
|
|
sd* at scsibus? target ? lun ? # SCSI disks
|
|
st* at scsibus? target ? lun ? # SCSI tapes
|
|
cd* at scsibus? target ? lun ? # SCSI CD-ROMs
|
|
ch* at scsibus? target ? lun ? # SCSI changer devices
|
|
ss* at scsibus? target ? lun ? # SCSI scanners
|
|
uk* at scsibus? target ? lun ? # unknown SCSI devices
|
|
|
|
#
|
|
# Pseudo-devices
|
|
#
|
|
|
|
# disk pseudo-devices
|
|
pseudo-device ccd 4 # concatenated disk devices
|
|
#pseudo-device cgd 4 # cryptographic disk devices
|
|
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 fss 4 # file system snapshot device
|
|
pseudo-device md 1 # memory disk device (ramdisk)
|
|
pseudo-device vnd 4 # vnode pseudo-disks
|
|
#options VND_COMPRESSION # compressed vnd(4)
|
|
|
|
# network pseudo-devices
|
|
pseudo-device bridge # simple inter-network bridging
|
|
#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
|
|
pseudo-device bpfilter 8 # Berkeley packet filter
|
|
#pseudo-device faith 1 # IPv[46] tcp relay translation i/f
|
|
#pseudo-device gre 2 # generic L3 over IP tunnel
|
|
pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
|
|
pseudo-device ipfilter # IP Filter package
|
|
pseudo-device loop # loopback network interface
|
|
pseudo-device ppp 4 # PPP network interfaces
|
|
pseudo-device pppoe # PPP over Ethernet (RFC 2516)
|
|
pseudo-device sl 4 # SLIP network interfaces
|
|
#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
|
|
pseudo-device tun 2 # network tunneling over tty
|
|
pseudo-device tap # virtual Ethernet
|
|
pseudo-device vlan # IEEE 802.1q encapsulation
|
|
|
|
# miscellaneous pseudo-devices
|
|
pseudo-device clockctl # user control of clock subsystem
|
|
pseudo-device pty # pseudo-terminals
|
|
pseudo-device rnd # /dev/random and in-kernel generator
|
|
pseudo-device vcoda 4 # coda minicache <-> venus comm.
|
|
pseudo-device ksyms # /dev/ksyms
|
|
#pseudo-device pf # PF packet filter
|
|
#pseudo-device pflog # PF log if
|