GENERIC revision 1.100
11.100Sragge# $NetBSD: GENERIC,v 1.100 2003/04/26 14:10:06 ragge Exp $ 21.86Sgmcgarry# 31.86Sgmcgarry# GENERIC machine description file 41.86Sgmcgarry# 51.86Sgmcgarry# This machine description file is used to generate the default NetBSD 61.86Sgmcgarry# kernel. The generic kernel does not include all options, subsystems 71.86Sgmcgarry# and device drivers, but should be useful for most applications. 81.86Sgmcgarry# 91.86Sgmcgarry# The machine description file can be customised for your specific 101.86Sgmcgarry# machine to reduce the kernel size and improve its performance. 111.86Sgmcgarry# 121.86Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8) 131.86Sgmcgarry# man page. 141.86Sgmcgarry# 151.86Sgmcgarry# For further information on hardware support for this architecture, see 161.86Sgmcgarry# the intro(4) man page. For further information about kernel options 171.86Sgmcgarry# for this architecture, see the options(4) man page. For an explanation 181.86Sgmcgarry# of each device driver in this file see the section 4 man page for the 191.86Sgmcgarry# device. 201.9Sgwr 211.86Sgmcgarry# Supports Sun3 (3/50, 3/60, 3/110, 3/160, 3/260, 3/E) 221.21Sgwr# Supports root on: ie0, le0, sd*, ... 231.1Sglass 241.86Sgmcgarryinclude "arch/sun3/conf/std.sun3" 251.63Shubertf 261.91Satatatoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 271.91Satatat 281.100Sragge#ident "GENERIC-$Revision: 1.100 $" 291.1Sglass 301.50Sgwr# Machines to be supported by this kernel 311.15Sgwroptions FPU_EMULATE 321.21Sgwroptions HAVECACHE # Sun3/260 VAC 331.3Sglass 341.4Sgwr# Needs to be set per system. i.e change these as you see fit 351.3Sglassmaxusers 4 361.23Sgwr 371.4Sgwr# Standard system options 381.41Sgwroptions KTRACE # system call tracing 391.94Sprovosoptions SYSTRACE # system call vetting via systrace(1) 401.41Sgwroptions SYSVMSG # System V message queues 411.41Sgwroptions SYSVSEM # System V semaphores 421.84Slukem#options SEMMNI=10 # number of semaphore identifiers 431.84Slukem#options SEMMNS=60 # number of semaphores in system 441.84Slukem#options SEMUME=10 # max number of undo entries per process 451.84Slukem#options SEMMNU=30 # number of undo structures in system 461.41Sgwroptions SYSVSHM # System V shared memory 471.41Sgwr#options SHMMAXPGS=1024 # 1024 pages is the default 481.52Sfairoptions LKM # loadable kernel modules 491.41Sgwr#options INSECURE # disable kernel security level 501.93Slukemoptions USERCONF # userconf(4) support 511.89Sjdolecek#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 521.96Sjunyoung 531.97Swiz# Enable experimental buffer queue strategy for better responsiveness under 541.96Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet. 551.96Sjunyoung#options NEW_BUFQ_STRATEGY 561.30Sthorpej 571.41Sgwr# Which kernel debugger? Uncomment either this: 581.30Sthorpejoptions DDB 591.36Sgwr# ... or these for KGDB (gdb remote target) 601.84Slukem#makeoptions DEBUG="-g" # debugging symbols for gdb 611.30Sthorpej#options KGDB 621.83Slukem#options KGDB_DEV=0x0C01 # ttya=0C00 ttyb=0C01 631.41Sgwr 641.41Sgwr# Other debugging options 651.43Slukem#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 661.41Sgwr#options DEBUG # kernel debugging code 671.41Sgwr#options DIAGNOSTIC # extra kernel sanity checking 681.41Sgwr#options KMEMSTATS # kernel memory statistics (vmstat -m) 691.41Sgwr#options PMAP_DEBUG 701.41Sgwr#options SCSIDEBUG 711.40Smjacob#options SCSIVERBOSE # Verbose SCSI errors 721.1Sglass 731.78Swiz# Compatibility options 741.41Sgwroptions COMPAT_SUNOS # can run SunOS 4.1.1 executables 751.57Skleink#options COMPAT_SVR4 # can run SVR4 executables 761.41Sgwroptions COMPAT_43 # and 4.3BSD and ... 771.41Sgwroptions COMPAT_10 # NetBSD 1.0 781.41Sgwroptions COMPAT_11 # NetBSD 1.1 791.41Sgwroptions COMPAT_12 # NetBSD 1.2 801.45Skleinkoptions COMPAT_13 # NetBSD 1.3 811.59Saugustssoptions COMPAT_14 # NetBSD 1.4 821.77Schsoptions COMPAT_AOUT_M68K # support for NetBSD a.out executables 831.56Sitohy#options COMPAT_LINUX # can run Linux/m68k executables 841.77Schsoptions EXEC_AOUT # support for a.out executables 851.80Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 861.41Sgwr 871.4Sgwr# Filesystem options 881.41Sgwrfile-system FFS # Berkeley Fast Filesystem 891.41Sgwrfile-system NFS # Sun NFS client support 901.38Slukemfile-system CD9660 # ISO 9660 + Rock Ridge file system 911.38Slukemfile-system FDESC # /dev/fd/* 921.38Slukemfile-system KERNFS # /kern 931.38Slukemfile-system NULLFS # loopback file system 941.62Swrstudenfile-system OVERLAY # overlay file system 951.38Slukemfile-system PROCFS # /proc 961.38Slukemfile-system UNION # union file system 971.38Slukemfile-system MFS # memory-based filesystem 981.35Sthorpej 991.30Sthorpejoptions NFSSERVER # nfs server support 1001.41Sgwroptions QUOTA # FFS quotas 1011.51Sbouyer#options FFS_EI # FFS Endian Independant support 1021.84Slukemoptions SOFTDEP # FFS soft updates support. 1031.61Sitojun 1041.4Sgwr# Networking options 1051.30Sthorpejoptions INET # IP prototol stack support 1061.61Sitojunoptions INET6 # IPV6 1071.61Sitojun#options IPSEC # IP security 1081.61Sitojun#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1091.61Sitojun#options IPSEC_DEBUG # debug for IP security 1101.38Slukem#options GATEWAY # IP packet forwarding 1111.41Sgwr#options ISO,TPIP # OSI networking 1121.41Sgwr#options EON # OSI tunneling over IP 1131.41Sgwr#options CCITT,LLC,HDLC # X.25 1141.58Schristosoptions PFIL_HOOKS # pfil(9) packet filter hooks. 1151.80Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1161.41Sgwr 1171.41Sgwr# Work-around for root on slow servers (insurance...) 1181.12Sgwroptions NFS_BOOT_RWSIZE=1024 1191.48Sgwroptions NFS_BOOT_BOOTPARAM 1201.3Sglass 1211.35Sthorpejconfig netbsd root on ? type ? 1221.1Sglass 1231.49Sgwr# On-board I/O space (required) 1241.49Sgwrinclude "arch/sun3/conf/obio.sun3" 1251.49Sgwr 1261.49Sgwr# On-board memory (optional) 1271.49Sgwr# See frame-buffers 1281.49Sgwrobmem0 at mainbus? 1291.49Sgwr 1301.49Sgwr# VME bus support (optional) 1311.49Sgwr# One unit for each address space 1321.49Sgwrvme0 at mainbus? # A16/D16 1331.49Sgwrvme1 at mainbus? # A16/D32 1341.49Sgwrvme2 at mainbus? # A24/D16 1351.49Sgwrvme3 at mainbus? # A24/D32 1361.49Sgwrvme4 at mainbus? # A32/D16 1371.49Sgwrvme5 at mainbus? # A32/D32 1381.49Sgwr 1391.25Sgwr# 1401.27Sgwr# Serial ports 1411.27Sgwr# 1421.38Slukemzstty0 at zsc1 channel 0 # ttya 1431.38Slukemzstty1 at zsc1 channel 1 # ttyb 1441.27Sgwr 1451.38Slukemkbd0 at zsc0 channel 0 # keyboard 1461.38Slukemms0 at zsc0 channel 1 # mouse 1471.27Sgwr 1481.27Sgwr# 1491.25Sgwr# Network devices 1501.25Sgwr# 1511.16Sgwr 1521.25Sgwr# Intel Ethernet (onboard, or VME) 1531.49Sgwrie0 at obio0 addr 0x0C0000 ipl 3 1541.84Slukemie1 at vme2 addr 0xe88000 ipl 3 vect 0x75 1551.4Sgwr 1561.25Sgwr# Lance Ethernet (only onboard) 1571.49Sgwrle0 at obio0 addr 0x120000 ipl 3 1581.49Sgwr 1591.49Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be 1601.49Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C) 1611.49Sgwroptions LANCE_REVC_BUG 1621.12Sgwr 1631.25Sgwr# 1641.25Sgwr# Disk and tape devices 1651.25Sgwr# 1661.25Sgwr 1671.25Sgwr# Sun3 "si" SCSI controller (NCR 5380) 1681.37Sgwr# This driver has several flags which may be enabled using 1691.37Sgwr# the "flags" directive. Valid flags are: 1701.31Sgwr# 1711.37Sgwr# 0x000ff Set (1<<target) to disable disconnect/reselect 1721.37Sgwr# 0x0ff00 Set (1<<(target+8)) to disable parity checking 1731.37Sgwr# 0x10000 Set this bit to disable DMA interrupts (poll) 1741.37Sgwr# 0x20000 Set this bit to disable DMA entirely (use PIO) 1751.37Sgwr# 1761.37Sgwr# For example: "flags 0x1000f" would disable DMA interrupts, 1771.37Sgwr# and disable disconnect/reselect for targets 0-3 1781.49Sgwrsi0 at obio0 addr 0x140000 ipl 2 1791.84Slukemsi0 at vme2 addr 0x200000 ipl 2 vect 0x40 1801.84Slukemsi1 at vme2 addr 0x204000 ipl 2 vect 0x41 1811.49Sgwr 1821.49Sgwr# Xylogics 450/451 controllers (VME A16/D16) 1831.49Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48 1841.49Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49 1851.41Sgwrxy* at xyc? drive ? 1861.37Sgwr 1871.49Sgwr# Xylogics 7053 controllers (VME A16/D32) 1881.49Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44 1891.49Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45 1901.41Sgwrxd* at xdc? drive ? 1911.25Sgwr 1921.25Sgwr# Xylogics 472 tape controllers? 1931.25Sgwr 1941.49Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16) 1951.49Sgwr# Note: the board uses vect and vect+1 1961.49Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75 1971.49Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77 1981.46Sgwrsi* at sebuf? 1991.46Sgwrie* at sebuf? 2001.46Sgwr 2011.46Sgwr# 2021.25Sgwr# Frame buffer devices 2031.25Sgwr# 2041.10Sgwr 2051.50Sgwrinclude "arch/sun3/conf/bw2.sun3" 2061.50Sgwrinclude "arch/sun3/conf/cg4.sun3" 2071.25Sgwr 2081.25Sgwr# 3/60 P4 accelerated 8-bit color frame buffer 2091.50Sgwr# cgsix0 at obmem0 addr 0xff000000 2101.25Sgwr 2111.25Sgwr# 3/60 P4 24-bit color frame buffer 2121.50Sgwr# cgeight0 at obmem0 addr 0xff300000 2131.25Sgwr 2141.49Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16). 2151.49Sgwrcgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8 2161.25Sgwr 2171.49Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32). 2181.49Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA 2191.25Sgwr 2201.25Sgwr# 2211.25Sgwr# SCSI infrastructure 2221.25Sgwr# 2231.7Sgwrscsibus* at scsi? 2241.14Sgwr 2251.37Sgwrsd* at scsibus? target ? lun ? # SCSI disks 2261.37Sgwrst* at scsibus? target ? lun ? # SCSI tapes 2271.37Sgwrcd* at scsibus? target ? lun ? # SCSI CD-ROMs 2281.37Sgwrch* at scsibus? target ? lun ? # SCSI changer devices 2291.37Sgwrss* at scsibus? target ? lun ? # SCSI scanners 2301.37Sgwruk* at scsibus? target ? lun ? # unknown SCSI devices 2311.24Sgwr 2321.33Spk# Memory-disk drivers 2331.38Slukempseudo-device md 2 2341.1Sglass 2351.25Sgwr# Misc. 2361.38Slukempseudo-device loop 1 # network loopback 2371.38Slukempseudo-device bpfilter 8 # packet filter 2381.38Slukempseudo-device sl 2 # CSLIP 2391.38Slukempseudo-device ppp 2 # PPP 2401.87Smartinpseudo-device pppoe # PPP over Ethernet (RFC 2516) 2411.38Slukempseudo-device tun 2 # network tunneling over tty 2421.55Shwr#pseudo-device gre 2 # generic L3 over IP tunnel 2431.37Sgwr#pseudo-device ipfilter # ip filter 2441.61Sitojunpseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 2451.61Sitojun#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 2461.66Sitojun#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 2471.75Sbouyerpseudo-device vlan # IEEE 802.1q encapsulation 2481.85Satatatpseudo-device bridge # simple inter-network bridging 2491.98Sperseant#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 2501.74Sitojunpseudo-device rnd # /dev/random and in-kernel generator 2511.17Sgwr 2521.73Sjdolecekpseudo-device pty # pseudo-terminals 2531.67Stsutsuipseudo-device vnd 4 # paging to files 2541.38Slukem#pseudo-device ccd 4 # concatenated disks 2551.95Selric#pseudo-device cgd 4 # cryptographic disk devices 2561.54Soster#pseudo-device raid 4 # RAIDframe disk driver 2571.65Ssimonb#options RAID_AUTOCONFIG # auto-configuration of RAID components 2581.88Soster# Options to enable various other RAIDframe RAID types. 2591.88Soster# options RF_INCLUDE_EVENODD=1 2601.88Soster# options RF_INCLUDE_RAID5_RS=1 2611.88Soster# options RF_INCLUDE_PARITYLOGGING=1 2621.88Soster# options RF_INCLUDE_CHAINDECLUSTER=1 2631.88Soster# options RF_INCLUDE_INTERDECLUSTER=1 2641.88Soster# options RF_INCLUDE_PARITY_DECLUSTERING=1 2651.88Soster# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 2661.92Slukempseudo-device clockctl # user control of clock subsystem 2671.100Sraggepseudo-device ksyms # /dev/ksyms 268