GENERIC_PS2TINY revision 1.47 1 # $NetBSD: GENERIC_PS2TINY,v 1.47 2007/11/04 14:34:22 xtraeme 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
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 INSECURE # disable kernel security levels - X needs this
50
51 options RTC_OFFSET=-600 # hardware clock is this many mins. west of GMT
52 options NTP # NTP phase/frequency locked loop
53
54 #options KTRACE # system call tracing via ktrace(1)
55
56 options SYSVMSG # System V-like message queues
57 options SYSVSEM # System V-like semaphores
58 options SYSVSHM # System V-like memory sharing
59 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
60
61 options LKM # loadable kernel modules
62
63 options USERCONF # userconf(4) support
64 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
65 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
66
67 # Diagnostic/debugging support options
68 #options DIAGNOSTIC # expensive kernel consistency checks
69 #options DEBUG # expensive debugging checks/support
70 #options KMEMSTATS # kernel memory statistics (vmstat -m)
71 options DDB # in-kernel debugger
72 #options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
73 options DDB_HISTORY_SIZE=512 # enable history editing in DDB
74 #options KGDB # remote debugger
75 #options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=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 FFS_NO_SNAPSHOT # No FFS snapshot support
103 #options NFSSERVER # Network File System server
104 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
105 # immutable) behave as system flags.
106 # Networking options
107 #options GATEWAY # packet forwarding
108 options INET # IP + ICMP + TCP + UDP
109 options INET6 # IPV6
110 #options IPSEC # IP security
111 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
112 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
113 #options IPSEC_DEBUG # debug for IP security
114 #options MROUTING # IP multicast routing
115 #options PIM # Protocol Independent Multicast
116 #options ISO,TPIP # OSI
117 #options EON # OSI tunneling over IP
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 IPFILTER_LOOKUP # ippool(8) support
125 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
126 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
127
128 #options ALTQ # Manipulate network interfaces' output queues
129 #options ALTQ_BLUE # Stochastic Fair Blue
130 #options ALTQ_CBQ # Class-Based Queueing
131 #options ALTQ_CDNR # Diffserv Traffic Conditioner
132 #options ALTQ_FIFOQ # First-In First-Out Queue
133 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
134 #options ALTQ_HFSC # Hierarchical Fair Service Curve
135 #options ALTQ_LOCALQ # Local queueing discipline
136 #options ALTQ_PRIQ # Priority Queueing
137 #options ALTQ_RED # Random Early Detection
138 #options ALTQ_RIO # RED with IN/OUT
139 #options ALTQ_WFQ # Weighted Fair Queueing
140
141 # These options enable verbose messages for several subsystems.
142 # Warning, these may compile large string tables into the kernel!
143 #options EISAVERBOSE # verbose EISA device autoconfig messages
144 #options MIIVERBOSE # verbose PHY autoconfig messages
145 #options PCIVERBOSE # verbose PCI device autoconfig messages
146 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
147 #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
148 #options SCSIVERBOSE # human readable SCSI error messages
149 #options USBVERBOSE # verbose USB device autoconfig messages
150 #options PNPBIOSVERBOSE # verbose PnP BIOS messages
151 #options PNPBIOSDEBUG # more fulsome PnP BIOS debugging messages
152 options MCAVERBOSE # verbose MCA device autoconfig messages
153
154 options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
155
156 options WSEMUL_VT100 # VT100 / VT220 emulation
157 options WS_KERNEL_FG=WSCOL_GREEN
158
159 # Kernel root file system and dump configuration.
160 config netbsd root on ? type ?
161 #config netbsd root on ? type nfs
162 #config netbsd root on ed0a type ffs
163
164 #
165 # Device Configuration
166 #
167
168 mainbus0 at root
169 cpu0 at mainbus0
170 mca0 at mainbus0
171 isa0 at mainbus0
172
173 #npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
174
175 #pc0 at isa? port 0x60 irq 1
176
177 # wscons
178 pckbc0 at isa? # pc keyboard controller
179 options PCKBCDEBUG
180 #pcconskbd* at pckbc?
181 #pms* at pckbc? # PS/2 mouse for wsmouse
182 #wsmouse* at pms?
183 pckbd* at pckbc? # PC keyboard
184 wskbd* at pckbd? console ?
185 vga0 at isa?
186 wsdisplay* at vga? console ?
187 options WSDISPLAY_DEFAULTSCREENS=4
188
189 com0 at isa? port 0x3f8 irq 4 # "SERIAL_!"
190 lpt0 at isa? port 0x3bc irq 7 # "PARALLEL_1"
191 fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
192 fd* at fdc? drive ? # the drives themselves
193
194 # MCA serial interfaces
195 com* at mca? slot ? # 16x50s on comm boards
196
197 # MCA network devices
198 elmc* at mca? slot ? # 3Com EtherLink/MC (3c523)
199 ep* at mca? slot ? # 3Com EtherLink III (3c529)
200 we* at mca? slot ? # WD/SMC Ethernet
201 ate* at mca? slot ? # Allied Telesis AT1720
202 ne* at mca? slot ? # Novell NE/2 and clones
203 tr* at mca? slot ? # IBM Token Ring adapter
204 tra* at mca? slot ? # Tiara LANCard/E and clones
205 le* at mca? slot ? # SKNET Personal/MC2+
206
207 # MCA ESDI controllers & disks
208 edc* at mca? slot ? # IBM ESDI Disk Controllers
209 ed* at edc? drive ?
210
211 # MCA SCSI controllers
212 aha* at mca? slot ? # Adaptec AHA-1640
213 esp* at mca? slot ? # NCR 53C90
214
215 # SCSI bus support
216 scsibus* at scsi?
217
218 # SCSI devices
219 sd* at scsibus? target ? lun ? # SCSI disk drives
220 #st* at scsibus? target ? lun ? # SCSI tape drives
221 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
222 #ch* at scsibus? target ? lun ? # SCSI autochangers
223 #ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
224 #ss* at scsibus? target ? lun ? # SCSI scanners
225 #uk* at scsibus? target ? lun ? # SCSI unknown
226
227 # network pseudo-devices
228 pseudo-device bpfilter # Berkeley packet filter
229 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
230 pseudo-device bridge # simple inter-network bridging
231 pseudo-device loop # network loopback
232
233 # miscellaneous pseudo-devices
234 pseudo-device pty # pseudo-terminals
235 pseudo-device md 1 # memory disk device (ramdisk)
236 # rnd works; RND_COM does not on port i386 yet.
237 pseudo-device rnd # /dev/random and in-kernel generator
238 #options RND_COM # use "com" randomness as well (BROKEN)
239 pseudo-device clockctl # user control of clock subsystem
240 pseudo-device fss 4 # file system snapshot device
241