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