Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.125
      1 #	$NetBSD: GENERIC,v 1.125 1997/11/25 20:29:32 kleink Exp $
      2 #
      3 #	GENERIC -- everything that's currently supported
      4 #
      5 
      6 include "arch/i386/conf/std.i386"
      7 
      8 maxusers	32		# estimated number of users
      9 
     10 # CPU support.  At least one is REQUIRED.
     11 options 	I386_CPU
     12 options 	I486_CPU
     13 options 	I586_CPU
     14 options 	I686_CPU	
     15 
     16 # CPU-related options.
     17 options 	MATH_EMULATE	# floating point emulation
     18 #options 	VM86		# virtual 8086 emulation
     19 options 	USER_LDT	# user-settable LDT; used by WINE
     20 # eliminate delay no-ops in I/O; recommended on all but very old machines
     21 #options 	DUMMY_NOPS
     22 
     23 # Misc. i386-specific options
     24 options 	XSERVER		# X server support in console drivers
     25 
     26 # This option allows you to force a serial console at the specified
     27 # I/O address.   see console(4) for details.
     28 #options 	"CONSDEVNAME=\"com\""
     29 
     30 # The following options override the memory sizes passed in from the boot
     31 # block.  Use them *only* if the boot block is unable to determine the correct
     32 # values.  Note that the BIOS may *correctly* report less than 640k of base
     33 # memory if the extended BIOS data area is located at the top of base memory
     34 # (as is the case on most recent systems).
     35 #options 	REALBASEMEM=...	# size of base memory
     36 #options 	REALEXTMEM=...	# size of extended memory
     37 
     38 # Some i486 PCI chipsets have bugs in them that cause problems when using
     39 # memory-mapped device access.  Therefore, PCI mem space is disabled by
     40 # default on 486-class CPUs.  This option allows re-enables it.
     41 #options 	I486_PCI_MEM_ENABLED
     42 
     43 # Standard system options
     44 
     45 options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
     46 options 	INSECURE	# disable kernel security levels
     47 
     48 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     49 #options 	NTP		# NTP phase/frequency locked loop
     50 
     51 options 	KTRACE		# system call tracing via ktrace(1)
     52 
     53 options 	SYSVMSG		# System V-like message queues
     54 options 	SYSVSEM		# System V-like semaphores
     55 options 	SYSVSHM		# System V-like memory sharing
     56 #options 	SHMMAXPGS=1024	# 1024 pages is the default
     57 
     58 options 	LKM		# loadable kernel modules
     59 
     60 # Diagnostic/debugging support options
     61 options 	DIAGNOSTIC	# cheap kernel consistency checks
     62 #options 	DEBUG		# expensive debugging checks/support
     63 options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
     64 options 	DDB		# in-kernel debugger
     65 #options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
     66 #options 	KGDB		# remote debugger
     67 #options 	"KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600
     68 #makeoptions	DEBUG="-g"	# compile full symbol table
     69 
     70 # Compatibility options
     71 options 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
     72 options 	COMPAT_09	# NetBSD 0.9,
     73 options 	COMPAT_10	# NetBSD 1.0,
     74 options 	COMPAT_11	# NetBSD 1.1,
     75 options 	COMPAT_12	# NetBSD 1.2,
     76 options 	COMPAT_13	# NetBSD 1.3,
     77 options 	COMPAT_43	# and 4.3BSD
     78 
     79 options 	COMPAT_SVR4	# binary compatibility with SVR4
     80 options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
     81 options 	COMPAT_LINUX	# binary compatibility with Linux
     82 options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
     83 
     84 # Executable format options
     85 options 	EXEC_ELF32	# 32-bit ELF executables (SVR4, Linux)
     86 
     87 # File systems
     88 file-system 	FFS		# UFS
     89 file-system 	EXT2FS		# second extended file system (linux)
     90 file-system 	LFS		# log-structured file system
     91 file-system 	MFS		# memory file system
     92 file-system 	NFS		# Network File System client
     93 file-system 	CD9660		# ISO 9660 + Rock Ridge file system
     94 file-system 	MSDOSFS		# MS-DOS file system
     95 file-system 	FDESC		# /dev/fd
     96 file-system 	KERNFS		# /kern
     97 file-system 	NULLFS		# loopback file system
     98 file-system 	PORTAL		# portal filesystem (still experimental)
     99 file-system 	PROCFS		# /proc
    100 file-system 	UMAPFS		# NULLFS + uid and gid remapping
    101 file-system 	UNION		# union file system
    102 
    103 # File system options
    104 options 	QUOTA		# UFS quotas
    105 options 	NFSSERVER	# Network File System server
    106 options 	FIFO		# FIFOs; RECOMMENDED
    107 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
    108 				# immutable) behave as system flags.
    109 
    110 # Networking options
    111 #options 	GATEWAY		# packet forwarding
    112 options 	INET		# IP + ICMP + TCP + UDP
    113 #options 	MROUTING	# IP multicast routing
    114 options 	NS		# XNS
    115 #options 	NSIP		# XNS tunneling over IP
    116 options 	ISO,TPIP	# OSI
    117 options 	EON		# OSI tunneling over IP
    118 options 	CCITT,LLC,HDLC	# X.25
    119 options 	NETATALK	# AppleTalk networking protocols
    120 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
    121 #options 	PPP_DEFLATE	# Deflate compression support for PPP
    122 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
    123 #options 	PFIL_HOOKS	# pfil(9) packet filter hooks
    124 
    125 # Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
    126 #options 	TCP_COMPAT_42
    127 
    128 # These options enable verbose messages for several subsystems.
    129 # Warning, these may compile large string tables into the kernel!
    130 options 	EISAVERBOSE	# verbose EISA device autoconfig messages
    131 options 	PCIVERBOSE	# verbose PCI device autoconfig messages
    132 #options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
    133 options 	SCSIVERBOSE	# human readable SCSI error messages
    134 
    135 # Kernel root file system and dump configuration.
    136 config		netbsd	root on ? type ?
    137 #config		netbsd	root on sd0a type ffs
    138 #config		netbsd	root on ? type nfs
    139 
    140 #
    141 # Device configuration
    142 #
    143 
    144 mainbus0 at root
    145 
    146 #apm0	at mainbus0			# Advanced power management
    147 
    148 
    149 # Basic Bus Support
    150 
    151 # PCI bus support
    152 pci*	at mainbus? bus ?
    153 pci*	at pchb? bus ?
    154 pci*	at ppb? bus ?
    155 
    156 # PCI bridges
    157 pchb*	at pci? dev ? function ?	# PCI-Host bridges
    158 pcib*	at pci? dev ? function ?	# PCI-ISA bridges
    159 ppb*	at pci? dev ? function ?	# PCI-PCI bridges
    160 
    161 # EISA bus support
    162 eisa*	at mainbus?
    163 
    164 # ISA bus support
    165 isa*	at mainbus?
    166 isa*	at pcib?
    167 
    168 # PCMCIA bus support
    169 pcmcia*	at pcic? controller ? socket ?
    170 
    171 # ISA PCMCIA controllers
    172 pcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000
    173 pcic1	at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000
    174 
    175 # ISA Plug-and-Play bus support
    176 isapnp0	at isa?
    177 
    178 
    179 # Coprocessor Support
    180 
    181 # Math Coprocessor support
    182 npx0	at isa? port 0xf0 irq 13	# x86 math coprocessor
    183 
    184 
    185 # Console Devices
    186 
    187 # ISA console.  You can only configure one of these!
    188 pc0	at isa? port 0x60 irq 1		# pccons generic PC console driver
    189 #vt0	at isa? port 0x60 irq 1		# PCVT console driver
    190 
    191 
    192 # Serial Devices
    193 
    194 # PCI serial interfaces
    195 cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
    196 
    197 # ISA Plug-and-Play serial interfaces
    198 com*	at isapnp?			# Modems and serial boards
    199 
    200 # PCMCIA serial interfaces
    201 com*	at pcmcia? function ?		# Modems and serial cards
    202 
    203 # ISA serial interfaces
    204 #options 	COM_HAYESP		# adds Hayes ESP serial board support
    205 com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
    206 com1	at isa? port 0x2f8 irq 3
    207 com2	at isa? port 0x3e8 irq 5
    208 #com3	at isa? port 0x2e8 irq 9
    209 #ast0	at isa? port 0x1a0 irq 5	# AST 4-port serial cards
    210 #com*	at ast? slave ?
    211 #boca0	at isa? port 0x100 irq 5	# BOCA 8-port serial cards
    212 #com*	at boca? slave ?
    213 #rtfps0	at isa? port 0x1230 irq 10	# RT 4-port serial cards
    214 #com*	at rtfps? slave ?
    215 #cy0	at isa? iomem 0xd4000 irq 12	# Cyclades serial cards
    216 
    217 
    218 # Parallel Printer Interfaces
    219 
    220 # ISA parallel printer interfaces
    221 lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
    222 lpt1	at isa? port 0x278
    223 lpt2	at isa? port 0x3bc
    224 
    225 
    226 # SCSI Controllers and Devices
    227 
    228 # PCI SCSI controllers
    229 ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
    230 bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
    231 isp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
    232 ncr*	at pci? dev ? function ?	# NCR 53c8xx SCSI
    233 
    234 # EISA SCSI controllers
    235 ahb*	at eisa? slot ?			# Adaptec 174[02] SCSI
    236 ahc*	at eisa? slot ?			# Adaptec 274x, aic7770 SCSI
    237 bha*	at eisa? slot ?			# BusLogic 7xx SCSI
    238 uha*	at eisa? slot ?			# UltraStor 24f SCSI
    239 
    240 # PCMCIA SCSI controllers
    241 aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
    242 
    243 # ISA SCSI controllers
    244 aha0	at isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI
    245 aha1	at isa? port 0x334 irq ? drq ?
    246 ahc0	at isa? port ? irq ?		# Adaptec 284x SCSI
    247 aic0	at isa? port 0x340 irq 11	# Adaptec 152[02] SCSI
    248 bha0	at isa? port 0x330 irq ? drq ?	# BusLogic [457]4X SCSI
    249 bha1	at isa? port 0x334 irq ? drq ?
    250 sea0	at isa? iomem 0xc8000 irq 5	# Seagate/Future Domain SCSI
    251 uha0	at isa? port 0x330 irq ? drq ?	# UltraStor [13]4f SCSI
    252 uha1	at isa? port 0x334 irq ? drq ?
    253 wds0	at isa? port 0x350 irq 15 drq 6	# WD7000 and TMC-7000 controllers
    254 wds1	at isa? port 0x358 irq 11 drq 5
    255 
    256 # SCSI bus support
    257 scsibus* at aha?
    258 scsibus* at ahb?
    259 scsibus* at ahc?
    260 scsibus* at aic?
    261 scsibus* at bha?
    262 scsibus* at isp?
    263 scsibus* at ncr?
    264 scsibus* at sea?
    265 scsibus* at uha?
    266 scsibus* at wds?
    267 
    268 # SCSI devices
    269 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    270 st*	at scsibus? target ? lun ?	# SCSI tape drives
    271 cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    272 ch*	at scsibus? target ? lun ?	# SCSI autochangers
    273 ss*	at scsibus? target ? lun ?	# SCSI scanners
    274 uk*	at scsibus? target ? lun ?	# SCSI unknown
    275 
    276 
    277 # IDE and Related Devices
    278 
    279 # ISA IDE controllers
    280 wdc0	at isa? port 0x1f0 irq 14	# ST506, ESDI, and IDE controllers
    281 wdc1	at isa? port 0x170 irq 15
    282 
    283 # IDE drives
    284 wd*	at wdc? drive ?			# the drives themselves
    285 
    286 # ATAPI bus support
    287 atapibus* at wdc?
    288 
    289 # ATAPI devices
    290 cd*	at atapibus? drive ?		# ATAPI CD-ROM drives
    291 
    292 
    293 # Miscellaneous mass storage devices
    294 
    295 # ISA floppy
    296 fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
    297 #fdc1	at isa? port 0x370 irq ? drq ?
    298 fd*	at fdc? drive ?			# the drives themselves
    299 # some machines need you to do this instead of fd*
    300 #fd0	at fdc0 drive 0
    301 
    302 # ISA CD-ROM devices
    303 #mcd0	at isa? port 0x300 irq 10	# Mitsumi CD-ROM drives
    304 
    305 # ISA tape devices
    306 # note: the wt driver conflicts unpleasantly with ed devices at the
    307 # same I/O address. The probe reprograms their EEPROMs. Don't
    308 # uncomment it unless you are actually using it.
    309 #wt0	at isa? port 0x300 irq 5 drq 1	# Archive and Wangtek QIC tape drives
    310 
    311 
    312 # Network Interfaces
    313 
    314 # PCI network interfaces
    315 de*	at pci? dev ? function ?	# DEC 21x4x-based Ethernet
    316 en*	at pci? dev ? function ?	# ENI/Adaptec ATM
    317 ep*	at pci? dev ? function ?	# 3Com 3c59x/3c90x Ethernet
    318 fpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
    319 fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
    320 le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
    321 ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
    322 tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
    323 
    324 # EISA network interfaces
    325 ep*	at eisa? slot ?			# 3Com 3c579 Ethernet
    326 fea*	at eisa? slot ?			# DEC DEFEA FDDI
    327 
    328 # ISA Plug-and-Play network interfaces
    329 ep*	at isapnp?			# 3Com 3c509 Ethernet
    330 ne*	at isapnp?			# NE2000-compatible Ethernet
    331 
    332 # PCMCIA network interfaces
    333 ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
    334 ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
    335 sm*	at pcmcia? function ?		# Megahertz Ethernet
    336 
    337 # ISA network interfaces
    338 ec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
    339 eg0	at isa? port 0x280 irq 9		# 3C505 ethernet cards
    340 el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
    341 ep0	at isa? port ? irq ?			# 3C509 ethernet cards
    342 fe0	at isa? port 0x2a0 irq ?		# AT1700
    343 ie0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN and 3C507
    344 ie1	at isa? port 0x300 irq 10		# EtherExpress
    345 iy0	at isa? port 0x360 irq ?		# EtherExpress PRO 10 ISA
    346 lc0	at isa? port 0x320 iomem ? irq ?	# DEC EtherWORKS III (LEMAC)
    347 #le0	at isa? port 0x320 irq 10 drq 7		# IsoLan, NE2100, and DEPCA
    348 ne0	at isa? port 0x280 irq 9		# NE[12]000 ethernet cards
    349 ne1	at isa? port 0x300 irq 10
    350 sm0	at isa? port 0x300 irq 10		# SMC91C9x Ethernet
    351 we0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
    352 we1	at isa? port 0x300 iomem 0xcc000 irq 10
    353 
    354 # MII bus support
    355 mii*	at tl?
    356 
    357 # MII PHY network interfaces
    358 tlphy*	at mii? dev ?			# ThunderLAN PHYs
    359 nsphy*	at mii? dev ?			# NS and compatible PHYs
    360 
    361 
    362 # Audio Devices
    363 
    364 # ISA Plug-and-Play audio devices
    365 guspnp*	at isapnp?			# Gravis Ultra Sound PnP audio
    366 sb*	at isapnp?			# SoundBlaster-compatible audio
    367 
    368 # ISA audio devices
    369 gus0	at isa? port 0x220 irq 7 drq 1 drq2 6	# Gravis Ultra Sound
    370 pas0	at isa? port 0x220 irq 7 drq 1		# ProAudio Spectrum
    371 pss0	at isa? port 0x220 irq 7 drq 6  	# Personal Sound System
    372 sp0	at pss0 port 0x530 irq 10 drq 0		# 	sound port driver
    373 sb0	at isa? port 0x220 irq 7 drq 1 drq2 5	# SoundBlaster
    374 wss0	at isa? port 0x530 irq 10 drq 0	drq2 1	# Windows Sound System
    375 
    376 # Audio support
    377 audio*	at gus?
    378 audio*	at guspnp?
    379 audio*	at pas?
    380 audio*	at sb?
    381 audio*	at sp?
    382 audio*	at wss?
    383 
    384 # The spkr driver provides a simple tone interface to the built in speaker.
    385 #spkr0	at pckbd? port 0x61		# PC speaker
    386 
    387 
    388 # Mice
    389 
    390 # ISA busmice
    391 lms0	at isa? port 0x23c irq 5	# Logitech bus mouse
    392 lms1	at isa? port 0x238 irq 5
    393 mms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
    394 mms1	at isa? port 0x238 irq 5
    395 #pms0	at pckbd? irq 12		# PS/2 auxiliary port mouse
    396 
    397 
    398 # Joysticks
    399 
    400 # ISA Plug-and-Play joysticks
    401 joy*	at isapnp?			# Game ports (usually on audio cards)
    402 
    403 # ISA joysticks. Probe is a little strange; add only if you have one.
    404 #joy0	at isa? port 0x201
    405 
    406 
    407 # Miscellaneous Devices
    408 
    409 # Planetconnect Satellite receiver driver.
    410 #satlink0 at isa? port 0x300 drq 1
    411 
    412 
    413 # Pull in optional local configuration
    414 include	"arch/i386/conf/GENERIC.local"
    415 
    416 
    417 # Pseudo-Devices
    418 
    419 # disk/mass storage pseudo-devices
    420 pseudo-device	ccd		4	# concatenated/striped disk devices
    421 pseudo-device	md		1	# memory disk device (ramdisk)
    422 pseudo-device	vnd		4	# disk-like interface to files
    423 
    424 # network pseudo-devices
    425 pseudo-device	bpfilter	8	# Berkeley packet filter
    426 pseudo-device	ipfilter		# IP filter (firewall) and NAT
    427 pseudo-device	loop			# network loopback
    428 pseudo-device	ppp		2	# Point-to-Point Protocol
    429 pseudo-device	sl		2	# Serial Line IP
    430 pseudo-device	strip		2	# Starmode Radio IP (Metricom)
    431 pseudo-device	tun		2	# network tunneling over tty
    432 
    433 # miscellaneous pseudo-devices
    434 pseudo-device	pty		64	# pseudo-terminals
    435 pseudo-device	tb		1	# tablet line discipline
    436 
    437 # rnd is EXPERIMENTAL at this point.
    438 #pseudo-device	rnd			# /dev/random and in-kernel generator
    439 #options 	RND_COM			# use "com" randomness as well (BROKEN)
    440