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