2003-02-27 22:22:36 +03:00
|
|
|
# $NetBSD: GENERIC,v 1.41 2003/02/27 19:22:40 perseant Exp $
|
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.
|
|
|
|
#
|
|
|
|
# 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.
|
2000-03-31 00:01:02 +04:00
|
|
|
|
|
|
|
include "arch/cobalt/conf/std.cobalt"
|
|
|
|
|
2002-04-25 19:06:20 +04:00
|
|
|
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
|
|
|
|
|
2003-02-27 22:22:36 +03:00
|
|
|
#ident "GENERIC-$Revision: 1.41 $"
|
2000-03-31 00:01:02 +04:00
|
|
|
|
|
|
|
maxusers 32
|
|
|
|
|
|
|
|
# Standard system options
|
|
|
|
options KTRACE # system call tracing support
|
2002-10-06 06:11:54 +04:00
|
|
|
options SYSTRACE # system call vetting via systrace(1)
|
2000-03-31 00:01:02 +04: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-03-31 00:01:02 +04:00
|
|
|
options SYSVSHM # System V shared memory
|
|
|
|
#options SHMMAXPGS=1024 # 1024 pages is the default
|
2001-02-16 22:48:05 +03:00
|
|
|
#options LKM # loadable kernel modules
|
2000-03-31 00:01:02 +04:00
|
|
|
#options NTP # network time protocol
|
|
|
|
#options UCONSOLE # users can redirect console (unsafe)
|
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-03-31 00:01:02 +04:00
|
|
|
|
2002-11-22 15:20:58 +03:00
|
|
|
# Enable experimental buffer queue strategy for better responsiveness under
|
2002-10-18 19:11:08 +04:00
|
|
|
# high disk I/O load. Use it with caution - it's not proven to be stable yet.
|
|
|
|
#options NEW_BUFQ_STRATEGY
|
|
|
|
|
2000-03-31 00:01:02 +04:00
|
|
|
# Debugging options
|
|
|
|
options DIAGNOSTIC # extra kernel sanity checking
|
|
|
|
#options DEBUG # extra kernel debugging support
|
2001-11-20 15:56:17 +03:00
|
|
|
#options KMEMSTATS # kernel memory statistics (vmstat -m)
|
2000-03-31 00:01:02 +04:00
|
|
|
options DDB # kernel dynamic debugger
|
|
|
|
#options DDB_HISTORY_SIZE=100 # enable history editing in DDB
|
2001-11-20 15:56:17 +03:00
|
|
|
#makeoptions DEBUG="-g" # compile full symbol table
|
2000-03-31 00:01:02 +04:00
|
|
|
|
|
|
|
# Compatibility options
|
|
|
|
options COMPAT_43 # compatibility with 4.3BSD binaries
|
|
|
|
#options COMPAT_10 # NetBSD 0.9 binary compatibility
|
|
|
|
#options COMPAT_10 # NetBSD 1.0 binary compatibility
|
|
|
|
#options COMPAT_11 # NetBSD 1.1 binary compatibility
|
|
|
|
#options COMPAT_12 # NetBSD 1.2 binary compatibility
|
|
|
|
#options COMPAT_13 # NetBSD 1.3 binary compatibility
|
|
|
|
#options COMPAT_14 # NetBSD 1.4 binary compatibility
|
2003-01-20 04:26:12 +03:00
|
|
|
options COMPAT_15 # NetBSD 1.5 binary compatibility
|
2000-03-31 00:01:02 +04:00
|
|
|
#options EXEC_ECOFF # exec ECOFF binaries
|
|
|
|
#options COMPAT_ULTRIX # binary compatibility with Ultrix
|
2001-07-08 20:32:12 +04:00
|
|
|
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
|
2000-03-31 00:01:02 +04:00
|
|
|
|
|
|
|
# File systems
|
|
|
|
file-system FFS # Berkeley Fast Filesystem
|
2001-11-20 15:56:17 +03:00
|
|
|
file-system EXT2FS # second extended file system (linux)
|
2000-03-31 00:01:02 +04:00
|
|
|
file-system NFS # Sun NFS-compatible filesystem client
|
2000-06-01 18:31:26 +04:00
|
|
|
#file-system KERNFS # kernel data-structure filesystem
|
2000-03-31 00:01:02 +04:00
|
|
|
#file-system NULLFS # NULL layered filesystem
|
2000-06-01 18:31:26 +04:00
|
|
|
#file-system OVERLAY # overlay file system
|
2000-03-31 00:01:02 +04:00
|
|
|
file-system MFS # memory-based filesystem
|
|
|
|
file-system FDESC # user file descriptor filesystem
|
|
|
|
#file-system UMAPFS # uid/gid remapping filesystem
|
2000-06-01 18:31:26 +04:00
|
|
|
#file-system LFS # Log-based filesystem (still experimental)
|
2000-03-31 00:01:02 +04:00
|
|
|
#file-system PORTAL # portal filesystem (still experimental)
|
2000-06-01 18:31:26 +04:00
|
|
|
#file-system PROCFS # /proc
|
2000-03-31 00:01:02 +04:00
|
|
|
#file-system CD9660 # ISO 9660 + Rock Ridge file system
|
|
|
|
#file-system UNION # union file system
|
|
|
|
#file-system MSDOSFS # MS-DOS FAT filesystem(s).
|
|
|
|
#file-system CODA # Coda File System; also needs vcoda (below)
|
|
|
|
|
|
|
|
# File system options
|
|
|
|
options NFSSERVER # Sun NFS-compatible filesystem server
|
|
|
|
options QUOTA # FFS quotas
|
|
|
|
#options FFS_EI # FFS Endian Independant support
|
2001-11-20 15:56:17 +03:00
|
|
|
options SOFTDEP # FFS soft updates support.
|
2000-03-31 00:01:02 +04:00
|
|
|
#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
|
|
|
|
# immutable) behave as system flags.
|
|
|
|
|
|
|
|
# Networking options
|
|
|
|
#options GATEWAY # IP packet forwarding
|
|
|
|
options INET # Internet protocols
|
2000-06-01 18:31:26 +04:00
|
|
|
#options INET6 # IPV6
|
2000-03-31 00:01:02 +04:00
|
|
|
#options IPSEC # IP security
|
|
|
|
#options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
|
|
|
|
#options IPSEC_DEBUG # debug for IP security
|
|
|
|
#options MROUTING # packet forwarding of multicast packets
|
|
|
|
#options NS # Xerox NS networking
|
|
|
|
#options NSIP # Xerox NS tunneling over IP
|
|
|
|
#options ISO,TPIP # OSI networking
|
|
|
|
#options EON # OSI tunneling over IP
|
|
|
|
#options CCITT,LLC,HDLC # X.25
|
|
|
|
#options NETATALK # AppleTalk (over Ethernet) protocol
|
|
|
|
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
|
|
|
|
#options PPP_DEFLATE # Deflate compression support for PPP
|
2000-06-27 12:34:02 +04:00
|
|
|
#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
|
2001-07-08 20:32:12 +04:00
|
|
|
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
|
2000-03-31 00:01:02 +04:00
|
|
|
|
|
|
|
# These options enable verbose messages for several subsystems.
|
|
|
|
# Warning, these may compile large string tables into the kernel!
|
|
|
|
options PCIVERBOSE # verbose PCI device autoconfig messages
|
|
|
|
#options PCI_CONFIG_DUMP # verbosely dump PCI config space
|
2001-11-20 15:56:17 +03:00
|
|
|
options SCSIVERBOSE # human readable SCSI error messages
|
2000-05-08 17:49:44 +04:00
|
|
|
#options MIIVERBOSE # verbose PHY autoconfig messages
|
2000-03-31 00:01:02 +04:00
|
|
|
|
|
|
|
options NFS_BOOT_DHCP
|
|
|
|
|
|
|
|
config netbsd root on ? type ?
|
|
|
|
|
|
|
|
mainbus0 at root
|
|
|
|
|
|
|
|
cpu0 at mainbus?
|
|
|
|
|
|
|
|
com0 at mainbus? addr 0x1c800000 level 3
|
|
|
|
options COM16650
|
|
|
|
|
2003-01-20 04:26:12 +03:00
|
|
|
panel0 at mainbus? addr 0x1f000000
|
|
|
|
|
2000-03-31 00:01:02 +04:00
|
|
|
gt0 at mainbus? addr 0x14000000
|
|
|
|
|
|
|
|
pci* at gt0
|
|
|
|
pchb* at pci? dev ? function ?
|
|
|
|
pcib* at pci? dev ? function ?
|
|
|
|
|
|
|
|
# PCI serial/parallel interfaces
|
2000-06-27 12:34:02 +04:00
|
|
|
#puc* at pci? dev ? function ? # PCI "universal" comm. cards
|
|
|
|
#com* at puc? port ?
|
2000-03-31 00:01:02 +04:00
|
|
|
#lpt* at puc? port ?
|
|
|
|
#cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial cards
|
|
|
|
|
|
|
|
# PCI SCSI controllers
|
|
|
|
#adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA]
|
|
|
|
#adw* at pci? dev ? function ? # AdvanSys 9xxUW SCSI
|
|
|
|
ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
|
|
|
|
#bha* at pci? dev ? function ? # BusLogic 9xx SCSI
|
|
|
|
#dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID
|
|
|
|
#isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FC
|
2000-04-27 14:52:43 +04:00
|
|
|
siop* at pci? dev ? function ? # NCR 53c8xx SCSI
|
2000-03-31 00:01:02 +04:00
|
|
|
#pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
|
|
|
|
|
|
|
|
# SCSI bus support
|
|
|
|
#scsibus* at adv?
|
|
|
|
#scsibus* at adw?
|
|
|
|
scsibus* at ahc?
|
|
|
|
#scsibus* at bha?
|
|
|
|
#scsibus* at dpt?
|
|
|
|
#scsibus* at isp?
|
2000-04-27 14:52:43 +04:00
|
|
|
scsibus* at siop?
|
2000-03-31 00:01:02 +04:00
|
|
|
#scsibus* at pcscp?
|
|
|
|
|
|
|
|
# SCSI devices
|
|
|
|
sd* at scsibus? target ? lun ? # SCSI disk drives
|
|
|
|
st* at scsibus? target ? lun ? # SCSI tape drives
|
2000-06-01 18:31:26 +04:00
|
|
|
#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
|
|
|
|
#ch* at scsibus? target ? lun ? # SCSI autochangers
|
2000-03-31 00:01:02 +04:00
|
|
|
#ss* at scsibus? target ? lun ? # SCSI scanners
|
2000-06-27 12:34:02 +04:00
|
|
|
#uk* at scsibus? target ? lun ? # SCSI unknown
|
2000-03-31 00:01:02 +04:00
|
|
|
|
|
|
|
# RAID controllers and devices
|
|
|
|
#cac* at pci? dev ? function ? # Compaq array controller
|
|
|
|
#ca* at cac? unit ? # Compaq array disk device
|
|
|
|
|
|
|
|
# IDE and related devices
|
|
|
|
# PCI IDE controllers - see pciide(4) for supported hardware.
|
|
|
|
# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
|
|
|
|
# how to set up DMA modes for this chip. This may work, or may cause
|
|
|
|
# a machine hang with some controllers.
|
|
|
|
pciide* at pci? dev ? function ? flags 0x0000
|
|
|
|
|
|
|
|
# IDE drives
|
|
|
|
# Flags are used only with controllers that support DMA operations
|
|
|
|
# and mode settings (e.g. some pciide controllers)
|
|
|
|
# The lowest order four bits (rightmost digit) of the flags define the PIO
|
|
|
|
# mode to use, the next set of four bits the DMA mode and the third set the
|
|
|
|
# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
|
|
|
|
# to use, and the last bit must be 1 for this setting to be used.
|
|
|
|
# For DMA and UDMA, 0xf (1111) means 'disable'.
|
|
|
|
# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
|
|
|
|
# (0xc=1100, 0xa=1010, 0xf=1111)
|
|
|
|
# 0x0000 means "use whatever the drive claims to support".
|
|
|
|
wd* at pciide? channel ? drive ? flags 0x0000
|
|
|
|
|
|
|
|
# PCI network interfaces
|
|
|
|
#en* at pci? dev ? function ? # ENI/Adaptec ATM
|
|
|
|
#ep* at pci? dev ? function ? # 3Com 3c59x
|
2001-08-22 19:39:04 +04:00
|
|
|
#ex* at pci? dev ? function ? # 3Com 90x[BC]
|
2000-03-31 00:01:02 +04:00
|
|
|
#epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
|
|
|
|
#esh* at pci? dev ? function ? # Essential HIPPI card
|
|
|
|
#fpa* at pci? dev ? function ? # DEC DEFPA FDDI
|
|
|
|
#fxp* at pci? dev ? function ? # Intel EtherExpress PRO10+/100B
|
|
|
|
#le* at pci? dev ? function ? # PCnet-PCI Ethernet
|
|
|
|
#ne* at pci? dev ? function ? # NE2000-compatible Ethernet
|
|
|
|
#ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial
|
|
|
|
#sip* at pci? dev ? function ? # SiS 900 Ethernet
|
|
|
|
#tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
|
2002-04-17 06:22:41 +04:00
|
|
|
tlp* at pci? dev ? function ? # DECchip 21x4x and clones
|
2000-03-31 00:01:02 +04:00
|
|
|
#vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
|
|
|
|
#lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
|
2000-04-23 01:03:27 +04:00
|
|
|
#rtk* at pci? dev ? function ? # Realtek 8129/8139
|
2000-03-31 00:01:02 +04:00
|
|
|
|
|
|
|
# MII/PHY support
|
|
|
|
#exphy* at mii? phy ? # 3Com internal PHYs
|
2002-02-10 20:36:52 +03:00
|
|
|
#icsphy* at mii? phy ? # ICS189x PHYs
|
2000-03-31 00:01:02 +04:00
|
|
|
#inphy* at mii? phy ? # Intel 82555 PHYs
|
|
|
|
#iophy* at mii? phy ? # Intel 82553 PHYs
|
|
|
|
lxtphy* at mii? phy ? # Level One LXT-970 PHYs
|
|
|
|
#nsphy* at mii? phy ? # NS83840 PHYs
|
|
|
|
#nsphyter* at mii? phy ? # NS83843 PHYs
|
|
|
|
#qsphy* at mii? phy ? # Quality Semiconductor QS6612
|
|
|
|
#sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
|
|
|
|
#tlphy* at mii? phy ? # ThunderLAN PHYs
|
|
|
|
#tqphy* at mii? phy ? # TDK Semiconductor PHYs
|
|
|
|
#ukphy* at mii? phy ? # generic unknown PHYs
|
|
|
|
|
|
|
|
# PCI audio devices
|
|
|
|
#clcs* at pci? dev ? function ? # Cirrus Logic CS4280
|
|
|
|
#eap* at pci? dev ? function ? # Ensoniq AudioPCI
|
|
|
|
#eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive
|
|
|
|
#fms* at pci? dev ? function ? # Forte Media FM801
|
|
|
|
#sbl* at pci? dev ? function ? # SoundBlaster Live!
|
|
|
|
#sv* at pci? dev ? function ? # S3 SonicVibes
|
|
|
|
|
|
|
|
# Pseudo-devices
|
|
|
|
|
|
|
|
# Disk/mass storage pseudo-devices
|
2000-06-01 18:31:26 +04:00
|
|
|
#pseudo-device ccd 4 # concatenated 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
|
|
|
pseudo-device raid 8 # RAIDframe disk driver
|
|
|
|
options RAID_AUTOCONFIG # auto-configuration of RAID
|
|
|
|
# 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-06-01 18:31:26 +04:00
|
|
|
#pseudo-device md 1 # memory disk device (ramdisk)
|
|
|
|
#pseudo-device vnd 4 # disk-like interface to files
|
2000-03-31 00:01:02 +04:00
|
|
|
|
|
|
|
# Network pseudo-devices
|
|
|
|
pseudo-device bpfilter 8 # Berkeley packet filter
|
2000-06-27 12:34:02 +04:00
|
|
|
#pseudo-device ipfilter # IP filter (firewall) and NAT
|
2000-03-31 00:01:02 +04:00
|
|
|
pseudo-device loop # network loopback
|
|
|
|
#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-03-31 00:01:02 +04:00
|
|
|
#pseudo-device sl 2 # Serial Line IP
|
|
|
|
#pseudo-device strip 2 # Starmode Radio IP (Metricom)
|
|
|
|
#pseudo-device tun 2 # network tunneling over tty
|
|
|
|
#pseudo-device gre 2 # generic L3 over IP tunnel
|
2001-11-20 15:56:17 +03:00
|
|
|
#pseudo-device gif 4 # RFC1933 tunnel
|
|
|
|
#pseudo-device faith 1 # IPv[46] tcp relay translation
|
2000-04-19 10:50:27 +04:00
|
|
|
#pseudo-device stf 1 # 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
|
2003-02-27 22:22:36 +03:00
|
|
|
#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
|
2000-03-31 00:01:02 +04:00
|
|
|
|
|
|
|
# Miscellaneous pseudo-devices
|
2000-09-24 19:59:26 +04:00
|
|
|
pseudo-device pty # pseudo-terminals
|
2000-03-31 00:01:02 +04:00
|
|
|
#pseudo-device tb 1 # tablet line discipline
|
|
|
|
#pseudo-device sequencer 1 # MIDI sequencer
|
|
|
|
pseudo-device rnd # /dev/random & kernel generator
|
|
|
|
#options RND_COM # use "com" randomness (BROKEN)
|
2002-06-17 09:14:02 +04:00
|
|
|
pseudo-device clockctl # user control of clock subsystem
|
2000-03-31 00:01:02 +04:00
|
|
|
|
|
|
|
# A pseudo device needed for Coda # also needs CODA (above)
|
|
|
|
#pseudo-device vcoda 4 # coda minicache <-> venus comm.
|