Home | History | Annotate | Line # | Download | only in conf
GENERIC_PS2TINY revision 1.18
      1 #	$NetBSD: GENERIC_PS2TINY,v 1.18 2002/09/18 02:44:00 lukem Exp $
      2 #
      3 #	GENERIC-style kernel config for IBM PS/2 with MCA bus. It only contains
      4 #	IBM PS/2 related stuff and has been generally trimmed down somewhat,
      5 #	so that the kernel is small enough to be usable for 4MB machines. This
      6 #	configuration is also used for INSTALL_PS2 kernels.
      7 #
      8 #	BEWARE:
      9 #	 MCA support in NetBSD is still experimental at this
     10 #	 stage and should be used with caution.
     11 
     12 include "arch/i386/conf/std.i386"
     13 
     14 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
     15 
     16 maxusers	16		# estimated number of users
     17 
     18 # CPU support.  At least one is REQUIRED.
     19 options 	I386_CPU
     20 options 	I486_CPU
     21 options 	I586_CPU
     22 #options 	I686_CPU
     23 
     24 # CPU-related options.
     25 options 	MATH_EMULATE	# floating point emulation
     26 options 	VM86		# virtual 8086 emulation
     27 options 	USER_LDT	# user-settable LDT; used by WINE
     28 # eliminate delay no-ops in I/O; recommended on all but very old machines
     29 #options 	DUMMY_NOPS
     30 
     31 # delay between "rebooting ..." message and hardware reset, in milliseconds
     32 #options 	CPURESET_DELAY=2000
     33 
     34 # This option allows you to force a serial console at the specified
     35 # I/O address.   see console(4) for details.
     36 #options 	CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
     37 #	you don't want the option below ON iff you are using the
     38 #	serial console option of the new boot strap code.
     39 #options 	CONS_OVERRIDE	# Always use above! independent of boot info
     40 
     41 # The following options override the memory sizes passed in from the boot
     42 # block.  Use them *only* if the boot block is unable to determine the correct
     43 # values.  Note that the BIOS may *correctly* report less than 640k of base
     44 # memory if the extended BIOS data area is located at the top of base memory
     45 # (as is the case on most recent systems).
     46 #options 	REALBASEMEM=639		# size of base memory (in KB)
     47 #options 	REALEXTMEM=15360	# size of extended memory (in KB)
     48 
     49 # Standard system options
     50 
     51 options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
     52 options 	INSECURE	# disable kernel security levels - X needs this
     53 
     54 options 	RTC_OFFSET=-600 # hardware clock is this many mins. west of GMT
     55 options 	NTP		# NTP phase/frequency locked loop
     56 
     57 #options 	KTRACE		# system call tracing via ktrace(1)
     58 
     59 options 	SYSVMSG		# System V-like message queues
     60 options 	SYSVSEM		# System V-like semaphores
     61 #options 	SEMMNI=10	# number of semaphore identifiers
     62 #options 	SEMMNS=60	# number of semaphores in system
     63 #options 	SEMUME=10	# max number of undo entries per process
     64 #options 	SEMMNU=30	# number of undo structures in system
     65 options 	SYSVSHM		# System V-like memory sharing
     66 #options 	SHMMAXPGS=2048	# 2048 pages is the default
     67 
     68 options 	LKM		# loadable kernel modules
     69 
     70 options 	USERCONF	# userconf(4) support
     71 options 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
     72 options 	MALLOC_NOINLINE		# Not inlining MALLOC saves memory
     73 
     74 # Diagnostic/debugging support options
     75 #options 	DIAGNOSTIC	# expensive kernel consistency checks
     76 #options 	DEBUG		# expensive debugging checks/support
     77 #options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
     78 options 	DDB		# in-kernel debugger
     79 options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
     80 #options 	KGDB		# remote debugger
     81 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
     82 #makeoptions	DEBUG="-g"	# compile full symbol table
     83 makeoptions	COPTS="-Os"	# generates smaller code than -O2, -O1
     84 
     85 # File systems
     86 file-system 	FFS		# UFS
     87 #file-system 	EXT2FS		# second extended file system (linux)
     88 #file-system 	LFS		# log-structured file system
     89 #file-system 	MFS		# memory file system
     90 file-system 	NFS		# Network File System client
     91 #file-system 	NTFS		# Windows/NT file system (experimental)
     92 file-system 	CD9660		# ISO 9660 + Rock Ridge file system
     93 file-system 	MSDOSFS		# MS-DOS file system
     94 #file-system 	FDESC		# /dev/fd
     95 file-system 	KERNFS		# /kern
     96 #file-system 	NULLFS		# loopback file system
     97 #file-system 	OVERLAY		# overlay 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 #file-system	CODA		# Coda File System; also needs vcoda (below)
    103 
    104 # File system options
    105 options 	QUOTA		# UFS quotas
    106 #options 	FFS_EI		# FFS Endian Independent support
    107 options 	SOFTDEP		# FFS soft updates support.
    108 #options 	NFSSERVER	# Network File System server
    109 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
    110 				# immutable) behave as system flags.
    111 
    112 options 	VNODE_OP_NOINLINE	# Not inlining vnode op calls saves mem
    113 
    114 # Networking options
    115 #options 	GATEWAY		# packet forwarding
    116 options 	INET		# IP + ICMP + TCP + UDP
    117 options 	INET6		# IPV6
    118 #options 	IPSEC		# IP security
    119 #options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
    120 #options 	IPSEC_DEBUG	# debug for IP security
    121 #options 	MROUTING	# IP multicast routing
    122 #options 	NS		# XNS
    123 #options 	NSIP		# XNS tunneling over IP
    124 #options 	ISO,TPIP	# OSI
    125 #options 	EON		# OSI tunneling over IP
    126 #options 	CCITT,LLC,HDLC	# X.25
    127 #options 	NETATALK	# AppleTalk networking protocols
    128 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
    129 #options 	PPP_DEFLATE	# Deflate compression support for PPP
    130 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
    131 #options 	PFIL_HOOKS	# pfil(9) packet filter hooks
    132 #options 	IPFILTER_LOG	# ipmon(8) log support
    133 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
    134 
    135 # These options enable verbose messages for several subsystems.
    136 # Warning, these may compile large string tables into the kernel!
    137 #options 	EISAVERBOSE	# verbose EISA device autoconfig messages
    138 #options 	MIIVERBOSE	# verbose PHY autoconfig messages
    139 #options 	PCIVERBOSE	# verbose PCI device autoconfig messages
    140 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    141 #options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
    142 #options 	SCSIVERBOSE	# human readable SCSI error messages
    143 #options 	USBVERBOSE	# verbose USB device autoconfig messages
    144 #options 	PNPBIOSVERBOSE	# verbose PnP BIOS messages
    145 #options 	PNPBIOSDEBUG	# more fulsome PnP BIOS debugging messages
    146 #options 	I2OVERBOSE	# verbose I2O driver messages
    147 options 	MCAVERBOSE	# verbose MCA device autoconfig messages
    148 
    149 options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
    150 
    151 options 	WSEMUL_VT100	# VT100 / VT220 emulation
    152 options 	WS_KERNEL_FG=WSCOL_GREEN
    153 
    154 # Kernel root file system and dump configuration.
    155 config		netbsd root on ? type ?
    156 #config		netbsd root on ? type nfs
    157 #config		netbsd root on ed0a type ffs
    158 
    159 #
    160 # Device Configuration
    161 #
    162 
    163 mainbus0 at root
    164 mca0	at mainbus0
    165 isa0	at mainbus0
    166 
    167 #npx0	at isa? port 0xf0 irq 13	# x86 math coprocessor
    168 
    169 #pc0	at isa? port 0x60 irq 1
    170 
    171 # wscons
    172 pckbc0		at isa?			# pc keyboard controller
    173 options 	PCKBCDEBUG
    174 #pcconskbd*	at pckbc?
    175 #pms*		at pckbc?		# PS/2 mouse for wsmouse
    176 #wsmouse*	at pms?
    177 pckbd*		at pckbc?		# PC keyboard
    178 wskbd*		at pckbd? console ?
    179 vga0		at isa?
    180 wsdisplay*	at vga? console ?
    181 options 	WSDISPLAY_DEFAULTSCREENS=4
    182 
    183 com0	at isa? port 0x3f8 irq 4	# "SERIAL_!"
    184 lpt0	at isa? port 0x3bc irq 7	# "PARALLEL_1"
    185 fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
    186 fd*	at fdc? drive ?			# the drives themselves
    187 
    188 # MCA serial interfaces
    189 com*	at mca? slot ?			# 16x50s on comm boards
    190 
    191 # MCA network devices
    192 elmc*	at mca? slot ?			# 3Com EtherLink/MC (3c523)
    193 ep*	at mca? slot ?			# 3Com EtherLink III (3c529)
    194 we*	at mca? slot ?			# WD/SMC Ethernet
    195 ate*	at mca? slot ?			# Allied Telesis AT1720
    196 ne*	at mca? slot ?			# Novell NE/2 and clones
    197 tr*	at mca? slot ?			# IBM Token Ring adapter
    198 le*	at mca? slot ?			# SKNET Personal/MC2+
    199 
    200 # MCA ESDI controllers & disks
    201 edc*	at mca? slot ?			# IBM ESDI Disk Controllers
    202 ed*	at edc? drive ?
    203 
    204 # MCA SCSI controllers
    205 aha*	at mca? slot ?			# Adaptec AHA-1640
    206 esp*	at mca? slot ?			# NCR 53C90
    207 
    208 # SCSI bus support
    209 scsibus* at scsi?
    210 
    211 # SCSI devices
    212 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    213 #st*	at scsibus? target ? lun ?	# SCSI tape drives
    214 cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    215 #ch*	at scsibus? target ? lun ?	# SCSI autochangers
    216 #ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
    217 #ss*	at scsibus? target ? lun ?	# SCSI scanners
    218 #uk*	at scsibus? target ? lun ?	# SCSI unknown
    219 
    220 # network pseudo-devices
    221 pseudo-device	bpfilter	4	# Berkeley packet filter
    222 pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    223 pseudo-device	bridge			# simple inter-network bridging
    224 pseudo-device	loop			# network loopback
    225 
    226 # miscellaneous pseudo-devices
    227 pseudo-device	pty			# pseudo-terminals
    228 pseudo-device	md		1	# memory disk device (ramdisk)
    229 # rnd works; RND_COM does not on port i386 yet.
    230 pseudo-device	rnd			# /dev/random and in-kernel generator
    231 #options 	RND_COM			# use "com" randomness as well (BROKEN)
    232 pseudo-device	clockctl		# user control of clock subsystem
    233