2002-10-14 22:39:22 +04:00
|
|
|
# $NetBSD: GENERIC,v 1.59 2002/10/14 18:39:36 elric Exp $
|
1996-09-30 20:34:14 +04:00
|
|
|
#
|
2001-12-14 08:34:45 +03:00
|
|
|
# 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.
|
1996-09-30 20:34:14 +04:00
|
|
|
#
|
2001-12-14 08:34:45 +03:00
|
|
|
# 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.
|
1996-09-30 20:34:14 +04:00
|
|
|
|
2001-12-14 08:34:45 +03:00
|
|
|
include "arch/ofppc/conf/std.ofppc"
|
1996-09-30 20:34:14 +04:00
|
|
|
|
2002-04-25 19:06:20 +04:00
|
|
|
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
|
|
|
|
|
2002-10-14 22:39:22 +04:00
|
|
|
#ident "GENERIC-$Revision: 1.59 $"
|
2000-01-24 02:46:04 +03:00
|
|
|
|
1996-09-30 20:34:14 +04:00
|
|
|
maxusers 32
|
|
|
|
|
|
|
|
# various hacks due to bugs in Openfirmware implementation
|
1997-11-17 04:57:23 +03:00
|
|
|
options FIRMWORKSBUGS
|
1996-09-30 20:34:14 +04:00
|
|
|
|
2000-11-14 09:01:09 +03:00
|
|
|
# Standard system options
|
|
|
|
#options UCONSOLE # users can use TIOCCONS (for xconsole)
|
|
|
|
#options INSECURE # disable kernel security checks
|
|
|
|
#options NTP # NTP phase/frequency locked loop
|
|
|
|
options KTRACE # system call tracing via ktrace(1)
|
2002-10-06 06:11:54 +04:00
|
|
|
options SYSTRACE # system call vetting via systrace(1)
|
2000-11-14 09:01:09 +03:00
|
|
|
|
|
|
|
options SYSVMSG # System V message queues
|
|
|
|
options SYSVSEM # System V semaphores
|
2001-11-20 15:56:17 +03:00
|
|
|
#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
|
2000-11-14 09:01:09 +03:00
|
|
|
options SYSVSHM # System V shared memory
|
|
|
|
#options SHMMAXPGS=1024 # 1024 pages is the default
|
1996-09-30 20:34:14 +04:00
|
|
|
|
2000-11-14 09:01:09 +03:00
|
|
|
options LKM # loadable kernel modules
|
|
|
|
|
2002-09-18 06:43:53 +04:00
|
|
|
options USERCONF # userconf(4) support
|
2002-01-27 16:23:08 +03:00
|
|
|
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
|
|
|
|
|
2000-11-14 09:01:09 +03:00
|
|
|
# Diagnostic/debugging support options
|
|
|
|
options DIAGNOSTIC # cheap kernel consistency checks
|
2001-11-20 15:56:17 +03:00
|
|
|
#options DEBUG # expensive debugging checks/support
|
2000-11-14 09:01:09 +03:00
|
|
|
options DDB # in-kernel debugger
|
|
|
|
options DDB_HISTORY_SIZE=512 # enable history editing in DDB
|
1997-04-17 03:14:24 +04:00
|
|
|
options TRAP_PANICWAIT
|
1996-09-30 20:34:14 +04:00
|
|
|
|
2002-09-18 05:55:02 +04:00
|
|
|
makeoptions DEBUG="-g" # compile full symbol table
|
1996-09-30 20:34:14 +04:00
|
|
|
|
2000-11-14 09:01:09 +03:00
|
|
|
# Compatibility option
|
|
|
|
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_43 # and 4.3BSD
|
|
|
|
options COMPAT_386BSD_MBRPART # recognize old partition ID
|
2001-11-20 15:56:17 +03:00
|
|
|
#options COMPAT_LINUX # Linux binary compatibility
|
2001-07-08 20:32:12 +04:00
|
|
|
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
|
1996-09-30 20:34:14 +04:00
|
|
|
|
2000-11-14 09:01:09 +03:00
|
|
|
# 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 file system (still experimental)
|
|
|
|
file-system PROCFS # /proc
|
|
|
|
file-system UMAPFS # NULLFS + uid and gid remapping
|
|
|
|
file-system UNION # union file system
|
|
|
|
file-system NTFS # Windows NT file system
|
|
|
|
|
|
|
|
# File system options
|
|
|
|
options QUOTA # UFS quotas
|
|
|
|
options FFS_EI # FFS Endian Independent support
|
|
|
|
options SOFTDEP # FFS soft updates support
|
|
|
|
options NFSSERVER # Network File System server
|
2001-11-20 15:56:17 +03:00
|
|
|
#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
|
|
|
|
# immutable) behave as system flags.
|
2000-11-14 09:01:09 +03:00
|
|
|
|
|
|
|
options NFS_BOOT_DHCP # Support DHCP NFS root
|
|
|
|
|
|
|
|
# Networking options
|
|
|
|
#options GATEWAY # packet forwarding
|
|
|
|
options INET # IP + ICMP + TCP + UDP
|
1999-11-21 17:00:37 +03:00
|
|
|
options INET6 # IPV6
|
|
|
|
#options IPSEC # IP security
|
|
|
|
#options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
|
|
|
|
#options IPSEC_DEBUG # debug for IP security
|
2001-11-20 15:56:17 +03:00
|
|
|
#options MROUTING # IP multicast routing
|
2000-11-14 09:01:09 +03:00
|
|
|
#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 IPFILTER_LOG # ipmon(8) log support
|
2002-09-25 15:49:48 +04:00
|
|
|
#options IPFILTER_DEFAULT_BLOCK # block all packets by default
|
1997-11-17 04:57:23 +03:00
|
|
|
options NMBCLUSTERS=1024
|
2001-07-08 20:32:12 +04:00
|
|
|
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
|
2000-11-14 09:01:09 +03:00
|
|
|
|
|
|
|
# Kernel root file system and dump configuration
|
1997-01-31 05:03:38 +03:00
|
|
|
config netbsd root on ? type ?
|
1996-09-30 20:34:14 +04:00
|
|
|
|
2000-11-14 09:01:09 +03:00
|
|
|
#
|
|
|
|
# Device configuration
|
|
|
|
#
|
1996-09-30 20:34:14 +04:00
|
|
|
|
2000-11-14 09:01:09 +03:00
|
|
|
mainbus* at root
|
|
|
|
|
|
|
|
# Generic OpenFirmware bus support
|
1998-02-24 08:45:51 +03:00
|
|
|
ofbus* at mainbus?
|
|
|
|
ofbus* at ofbus?
|
1996-09-30 20:34:14 +04:00
|
|
|
|
2001-10-22 18:46:08 +04:00
|
|
|
# CPUs
|
|
|
|
cpu* at mainbus?
|
2001-08-26 06:47:33 +04:00
|
|
|
|
2000-11-14 09:01:09 +03:00
|
|
|
# Generic OpenFirmware disk support
|
1998-02-24 08:45:51 +03:00
|
|
|
ofdisk* at ofbus?
|
1996-09-30 20:34:14 +04:00
|
|
|
|
2000-11-14 09:01:09 +03:00
|
|
|
# Generic OpenFirmware network interface support
|
1998-02-24 08:45:51 +03:00
|
|
|
ofnet* at ofbus?
|
1996-09-30 20:34:14 +04:00
|
|
|
|
2000-11-14 09:01:09 +03:00
|
|
|
# Generic OpenFirmware console support
|
1998-02-24 08:45:51 +03:00
|
|
|
ofcons* at ofbus?
|
1996-09-30 20:34:14 +04:00
|
|
|
|
2000-11-14 09:01:09 +03:00
|
|
|
# Generic OpenFirmware real-time clock support
|
1998-02-24 08:45:51 +03:00
|
|
|
ofrtc* at ofbus?
|
1996-09-30 20:34:14 +04:00
|
|
|
|
2000-11-14 09:01:09 +03:00
|
|
|
pseudo-device vnd 4 # disk-like interface to files
|
|
|
|
pseudo-device ccd 4 # concatenated/striped disk devices
|
2002-10-14 22:39:22 +04:00
|
|
|
#pseudo-device cgd 4 # cryptographic disk devices
|
2002-01-19 21:45:06 +03:00
|
|
|
#pesudo-device raid 8 # RAIDframe disk driver
|
2000-11-14 09:01:09 +03:00
|
|
|
#options RAID_AUTOCONFIG # auto-configuration of RAID components
|
2002-01-19 21:45:06 +03:00
|
|
|
# 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
|
2000-11-14 09:01:09 +03:00
|
|
|
pseudo-device md 1 # memory disk device
|
|
|
|
pseudo-device loop # network loopback
|
1997-04-17 03:14:24 +04:00
|
|
|
pseudo-device bpfilter 8 # packet filter
|
2000-11-14 09:01:09 +03:00
|
|
|
pseudo-device ipfilter # IP Filter (firewall) and NAT
|
|
|
|
pseudo-device ppp 2 # Point-to-Point Protocol
|
2001-12-28 15:21:52 +03:00
|
|
|
pseudo-device pppoe # PPP over Ethernet (RFC 2516)
|
2000-11-14 09:01:09 +03:00
|
|
|
pseudo-device sl 2 # Serial Line IP
|
|
|
|
pseudo-device tun 4 # network tunneling over tty
|
|
|
|
#pseudo-device gre 2 # generic L3 over IP tunnel
|
|
|
|
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
|
2000-12-19 13:42:02 +03:00
|
|
|
pseudo-device vlan # IEEE 802.1q encapsulation
|
2001-11-23 08:00:22 +03:00
|
|
|
pseudo-device bridge # simple inter-network bridging
|
2000-09-24 19:59:26 +04:00
|
|
|
pseudo-device pty # pseudo-terminals
|
2000-10-04 07:35:53 +04:00
|
|
|
pseudo-device rnd # /dev/random and in-kernel generator
|
2002-06-17 09:14:02 +04:00
|
|
|
pseudo-device clockctl # user control of clock subsystem
|
2002-09-18 05:55:02 +04:00
|
|
|
pseudo-device openfirm # /dev/openfirm
|
|
|
|
|
|
|
|
options FIREPOWER_ES # Firepower ES
|
|
|
|
options FIREPOWER_MX # Firepower MX
|
|
|
|
options FIREPOWER_LX # Firepower LX
|