GENERIC revision 1.32
11.32Sgmcgarry# $NetBSD: GENERIC,v 1.32 2002/04/12 08:11:11 gmcgarry Exp $ 21.26Sgmcgarry# 31.26Sgmcgarry# GENERIC machine description file 41.26Sgmcgarry# 51.26Sgmcgarry# This machine description file is used to generate the default NetBSD 61.26Sgmcgarry# kernel. The generic kernel does not include all options, subsystems 71.26Sgmcgarry# and device drivers, but should be useful for most applications. 81.26Sgmcgarry# 91.26Sgmcgarry# The machine description file can be customised for your specific 101.26Sgmcgarry# machine to reduce the kernel size and improve its performance. 111.26Sgmcgarry# 121.26Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8) 131.26Sgmcgarry# man page. 141.26Sgmcgarry# 151.26Sgmcgarry# For further information on hardware support for this architecture, see 161.26Sgmcgarry# the intro(4) man page. For further information about kernel options 171.26Sgmcgarry# for this architecture, see the options(4) man page. For an explanation 181.26Sgmcgarry# of each device driver in this file see the section 4 man page for the 191.26Sgmcgarry# device. 201.1Stsutsui 211.1Stsutsuiinclude "arch/news68k/conf/std.news68k" 221.3Shubertf 231.32Sgmcgarry#ident "GENERIC-$Revision: 1.32 $" 241.1Stsutsui 251.1Stsutsuimaxusers 8 261.1Stsutsui 271.24Slukemoptions news1200 # news1200 support 281.4Stsutsuioptions news1700 # news1[4567]00 support 291.1Stsutsuioptions CPU_SINGLE # Will IOP be supported eventually? 301.1Stsutsui#options FPU_EMULATE 311.1Stsutsui 321.1Stsutsui# Standard system options 331.1Stsutsuioptions NTP # NTP phase/frequency locked loop 341.1Stsutsuioptions KTRACE # system call tracing support 351.1Stsutsuioptions SYSVMSG # System V message queues 361.1Stsutsuioptions SYSVSEM # System V semaphores 371.24Slukem#options SEMMNI=10 # number of semaphore identifiers 381.24Slukem#options SEMMNS=60 # number of semaphores in system 391.24Slukem#options SEMUME=10 # max number of undo entries per process 401.24Slukem#options SEMMNU=30 # number of undo structures in system 411.1Stsutsuioptions SYSVSHM # System V shared memory 421.6Stsutsui#options SHMMAXPGS=1024 # 1024 pages is the default 431.1Stsutsuioptions LKM # loadable kernel modules 441.1Stsutsui#options UCONSOLE # users can redirect console (unsafe) 451.32Sgmcgarry#options USERCONF # userconf(4) support 461.29Sjdolecek#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 471.1Stsutsui 481.1Stsutsui# Debugging options 491.1Stsutsuioptions DIAGNOSTIC # extra kernel sanity checking 501.1Stsutsui#options DEBUG # extra kernel debugging support 511.1Stsutsui#options KMEMSTATS # kernel memory statistics (vmstat -m) 521.1Stsutsuioptions DDB # kernel dynamic debugger 531.1Stsutsui#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 541.1Stsutsui#options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic' 551.1Stsutsuioptions SCSIVERBOSE # Verbose SCSI errors 561.1Stsutsui#options SCSIDEBUG # extra SCSI debugging support 571.1Stsutsui#makeoptions DEBUG="-g" # compile full symbol table 581.1Stsutsui 591.1Stsutsui# Compatibility options 601.1Stsutsuioptions COMPAT_43 # compatibility with 4.3BSD binaries 611.1Stsutsuioptions COMPAT_12 # NetBSD 1.2 binary compatibility 621.1Stsutsuioptions COMPAT_13 # NetBSD 1.3 binary compatibility 631.1Stsutsuioptions COMPAT_14 # NetBSD 1.4 binary compatibility 641.18Stsutsuioptions COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out 651.1Stsutsui 661.1Stsutsui#options COMPAT_SVR4 # binary compatibility with SVR4 671.15Stsutsuioptions COMPAT_SUNOS # binary compatibility with SunOS 681.1Stsutsui#options COMPAT_LINUX # binary compatibllity with Linux/m68k 691.1Stsutsui 701.21Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 711.1Stsutsui 721.1Stsutsui# Filesystem options 731.1Stsutsuifile-system FFS # Berkeley Fast Filesystem 741.1Stsutsuifile-system LFS # log-structured file system 751.1Stsutsuifile-system NFS # Sun NFS-compatible filesystem client 761.1Stsutsuifile-system MFS # memory-based filesystem 771.1Stsutsuifile-system CD9660 # ISO 9660 + Rock Ridge file system 781.1Stsutsuifile-system MSDOSFS # MS-DOS FAT file system 791.1Stsutsuifile-system KERNFS # /kern 801.1Stsutsuifile-system PROCFS # /proc 811.1Stsutsuifile-system FDESC # /dev/fd/* 821.1Stsutsuifile-system NULLFS # loopback file system 831.2Swrstudenfile-system OVERLAY # overlay file system 841.1Stsutsuifile-system PORTAL # portal filesystem (still experimental) 851.1Stsutsuifile-system UMAPFS # NULLFS + uid and gid remapping 861.24Slukemfile-system UNION # union file system 871.1Stsutsui#file-system CODA # Coda File System; also needs vcode (below) 881.1Stsutsui 891.1Stsutsuioptions NFSSERVER # nfs server support 901.1Stsutsuioptions QUOTA # ffs quotas 911.1Stsutsui#options FFS_EI # ffs endian independant support 921.15Stsutsuioptions SOFTDEP # ffs soft updates support 931.1Stsutsui 941.1Stsutsui# Networking options 951.1Stsutsuioptions INET # Internet protocols 961.1Stsutsuioptions INET6 # IPV6 971.1Stsutsui#options IPSEC # IP security 981.31Swiz#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 991.1Stsutsui#options IPSEC_DEBUG # debug for IP security 1001.1Stsutsui#options GATEWAY # IP packet forwarding 1011.1Stsutsui#options MROUTING # IP multicast routing 1021.1Stsutsui#options NS # XNS 1031.1Stsutsui#options NSIP # XNS tunneling over IP 1041.1Stsutsui#options ISO,TPIP # OSI 1051.1Stsutsui#options EON # OSI tunneling over IP 1061.1Stsutsui#options CCITT,LLC,HDLC # X.25 1071.1Stsutsui#options NETATALK # AppleTalk networking protocols 1081.1Stsutsuioptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1091.1Stsutsuioptions PPP_DEFLATE # Deflate compression support for PPP 1101.1Stsutsuioptions PPP_FILTER # Active filter support for PPP (requires bpf) 1111.1Stsutsuioptions PFIL_HOOKS # pfil(9) packet filter hooks 1121.1Stsutsuioptions IPFILTER_LOG # ipmon(8) log support 1131.21Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1141.1Stsutsui 1151.1Stsutsuioptions NFS_BOOT_BOOTPARAM 1161.1Stsutsuioptions NFS_BOOT_DHCP 1171.1Stsutsui 1181.1Stsutsuiconfig netbsd root on ? type ? 1191.1Stsutsui#config netbsd root on ? type nfs 1201.1Stsutsui 1211.1Stsutsui# 1221.1Stsutsui# device declarations 1231.1Stsutsui# 1241.1Stsutsui 1251.1Stsutsuimainbus0 at root 1261.1Stsutsui 1271.1Stsutsui# NEWS HYPER-BUS 1281.4Stsutsuihb0 at mainbus0 systype NEWS1700 1291.4Stsutsuihb1 at mainbus0 systype NEWS1200 1301.1Stsutsui 1311.20Stsutsui# interval timer 1321.20Stsutsuitimer0 at hb0 addr 0xe1000000 ipl 6 # news1700 1331.20Stsutsuitimer0 at hb1 addr 0xe1140000 ipl 6 # news1200 1341.20Stsutsui 1351.20Stsutsui# MK48T02 TOD clock 1361.20Stsutsuimkclock0 at hb0 addr 0xe0d80000 # news1700 1371.20Stsutsuimkclock0 at hb1 addr 0xe1420000 # news1200 1381.1Stsutsui 1391.1Stsutsui# onboard LANCE ethernet 1401.4Stsutsuile0 at hb0 addr 0xe0f00000 ipl 4 # news1700 1411.4Stsutsuile0 at hb1 addr 0xe1a40000 ipl 4 # news1200 1421.1Stsutsui 1431.17Stsutsui# keyboard/mouse 1441.17Stsutsuikbc0 at hb0 addr 0xe0d00000 ipl 5 # news1700 1451.17Stsutsuikb0 at kbc0 # news1700 1461.17Stsutsuims0 at kbc0 # news1700 1471.17Stsutsui 1481.17Stsutsuikb0 at hb1 addr 0xe1240000 ipl 5 # news1200 1491.17Stsutsuims0 at hb1 addr 0xe1280000 ipl 5 # news1200 1501.17Stsutsui 1511.17Stsutsuiwskbd* at kb? 1521.17Stsutsuiwsmouse* at ms? 1531.1Stsutsui 1541.1Stsutsui# onboard z8530 SCC 1551.4Stsutsuizsc0 at hb0 addr 0xe0d40000 ipl 5 vect 64 flags 0x0 # news1700 1561.4Stsutsuizsc0 at hb1 addr 0xe1780000 ipl 5 vect 64 flags 0x1 # news1200 1571.1Stsutsuizstty0 at zsc0 channel 0 1581.24Slukemzstty1 at zsc0 channel 1 1591.1Stsutsui 1601.1Stsutsui# Frame buffer devices; not yet 1611.1Stsutsui#fb0 at hb0 addr 0xf0700000 # NWB225 1621.1Stsutsui#fb1 at hb0 addr 0xf0f00000 # NWB512 1631.1Stsutsui 1641.1Stsutsui# onboard uPD72067 FDC; not yet 1651.1Stsutsui#fdc0 at hb0 addr 0xe0c80000 ipl 3 1661.1Stsutsui#fd* at fdc0 1671.1Stsutsui 1681.1Stsutsui# onboard CXD1180 SCSI controller 1691.1Stsutsui# 1701.1Stsutsui# This driver has several flags which may be enabled using 1711.1Stsutsui# the "flags" directive. Valid flags are: 1721.1Stsutsui# 1731.1Stsutsui# 0x000ff Set (1<<target) to disable disconnect/reselect 1741.1Stsutsui# 0x0ff00 Set (1<<(target+8)) to disable parity checking 1751.1Stsutsui# 0x10000 Set this bit to disable DMA interrupts (poll) 1761.1Stsutsui# 0x20000 Set this bit to disable DMA entirely (use PIO) 1771.1Stsutsui# 1781.1Stsutsui# For example: "flags 0x1000f" would disable DMA interrupts, 1791.1Stsutsui# and disable disconnect/reselect for targets 0-3 1801.1Stsutsui# 1811.1Stsutsuisi0 at hb0 addr 0xe0cc0000 ipl 4 flags 0xf 1821.24Slukemscsibus* at si0 1831.1Stsutsui 1841.1Stsutsuisd* at scsibus? target ? lun ? # SCSI disks 1851.1Stsutsuist* at scsibus? target ? lun ? # SCSI tapes 1861.1Stsutsuicd* at scsibus? target ? lun ? # SCSI CD-ROMs 1871.1Stsutsuich* at scsibus? target ? lun ? # SCSI changer devices 1881.1Stsutsuiss* at scsibus? target ? lun ? # SCSI scanners 1891.1Stsutsuiuk* at scsibus? target ? lun ? # unknown SCSI devices 1901.1Stsutsui 1911.1Stsutsui# Misc. 1921.1Stsutsuipseudo-device loop # loopback interface; required 1931.13Sjdolecekpseudo-device pty # pseudo-terminals 1941.1Stsutsuipseudo-device md 1 # memory disk device 1951.1Stsutsuipseudo-device vnd 4 # disk-like interface to files 1961.1Stsutsuipseudo-device ccd 4 # concatenated and striped disks 1971.28Sosterpseudo-device raid 8 # RAIDframe disk driver 1981.28Soster#options RAID_AUTOCONFIG # auto-configuration of RAID components 1991.28Soster# Options to enable various other RAIDframe RAID types. 2001.28Soster# options RF_INCLUDE_EVENODD=1 2011.28Soster# options RF_INCLUDE_RAID5_RS=1 2021.28Soster# options RF_INCLUDE_PARITYLOGGING=1 2031.28Soster# options RF_INCLUDE_CHAINDECLUSTER=1 2041.28Soster# options RF_INCLUDE_INTERDECLUSTER=1 2051.28Soster# options RF_INCLUDE_PARITY_DECLUSTERING=1 2061.28Soster# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 2071.1Stsutsuipseudo-device sl 2 # SLIP interfaces 2081.1Stsutsuipseudo-device ppp 2 # PPP interfaces 2091.27Smartinpseudo-device pppoe # PPP over Ethernet (RFC 2516) 2101.1Stsutsuipseudo-device tun 4 # Network "tunnel" device 2111.1Stsutsuipseudo-device gre 2 # generic L3 over IP tunnel 2121.1Stsutsuipseudo-device bpfilter 16 # Berkeley Packet Filter 2131.1Stsutsuipseudo-device ipfilter # ip filter 2141.1Stsutsuipseudo-device strip 1 # Starmode Radio IP (Metricom) 2151.1Stsutsuipseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 2161.1Stsutsui#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 2171.7Sitojun#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 2181.16Sbouyerpseudo-device vlan # IEEE 802.1q encapsulation 2191.25Satatatpseudo-device bridge # simple inter-network bridging 2201.1Stsutsuipseudo-device rnd # /dev/random and in-kernle generator 2211.1Stsutsui#pseudo-device vcoda 4 # coda minicache <-> venus comm. 222