GENERIC_PS2TINY revision 1.56 1 # $NetBSD: GENERIC_PS2TINY,v 1.56 2009/11/25 17:08:08 tron 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-related options.
19 options VM86 # virtual 8086 emulation
20 options USER_LDT # user-settable LDT; used by WINE
21
22 # delay between "rebooting ..." message and hardware reset, in milliseconds
23 #options CPURESET_DELAY=2000
24
25 # This option allows you to force a serial console at the specified
26 # I/O address. see console(4) for details.
27 #options CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
28 # you don't want the option below ON iff you are using the
29 # serial console option of the new boot strap code.
30 #options CONS_OVERRIDE # Always use above! independent of boot info
31
32 # The following options override the memory sizes passed in from the boot
33 # block. Use them *only* if the boot block is unable to determine the correct
34 # values. Note that the BIOS may *correctly* report less than 640k of base
35 # memory if the extended BIOS data area is located at the top of base memory
36 # (as is the case on most recent systems).
37 #options REALBASEMEM=639 # size of base memory (in KB)
38 #options REALEXTMEM=15360 # size of extended memory (in KB)
39
40 # Standard system options
41
42 options INSECURE # disable kernel security levels - X needs this
43
44 options RTC_OFFSET=-600 # hardware clock is this many mins. west of GMT
45 options NTP # NTP phase/frequency locked loop
46
47 #options KTRACE # system call tracing via ktrace(1)
48
49 options SYSVMSG # System V-like message queues
50 options SYSVSEM # System V-like semaphores
51 options SYSVSHM # System V-like memory sharing
52 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
53
54
55 options USERCONF # userconf(4) support
56 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
57 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
58
59 # Diagnostic/debugging support options
60 #options DIAGNOSTIC # expensive kernel consistency checks
61 #options DEBUG # expensive debugging checks/support
62 #options KMEMSTATS # kernel memory statistics (vmstat -m)
63 options DDB # in-kernel debugger
64 #options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
65 options DDB_HISTORY_SIZE=512 # enable history editing in DDB
66 #options KGDB # remote debugger
67 #options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
68 #makeoptions DEBUG="-g" # compile full symbol table
69 makeoptions COPTS="-Os" # generates smaller code than -O2, -O1
70 makeoptions USE_SSP="no"
71
72 # File systems
73 file-system FFS # UFS
74 #file-system EXT2FS # second extended file system (linux)
75 #file-system LFS # log-structured file system
76 #file-system MFS # memory file system
77 file-system NFS # Network File System client
78 #file-system NTFS # Windows/NT file system (experimental)
79 file-system CD9660 # ISO 9660 + Rock Ridge file system
80 file-system MSDOSFS # MS-DOS file system
81 #file-system FDESC # /dev/fd
82 file-system KERNFS # /kern
83 #file-system NULLFS # loopback file system
84 #file-system OVERLAY # overlay file system
85 #file-system PORTAL # portal filesystem (still experimental)
86 #file-system PROCFS # /proc
87 #file-system UMAPFS # NULLFS + uid and gid remapping
88 #file-system UNION # union file system
89 #file-system CODA # Coda File System; also needs vcoda (below)
90
91 # File system options
92 options QUOTA # UFS quotas
93 #options FFS_EI # FFS Endian Independent support
94 options WAPBL # File system journaling support - Experimental
95 options FFS_NO_SNAPSHOT # No FFS snapshot support
96 #options NFSSERVER # Network File System server
97 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
98 # immutable) behave as system flags.
99 # Networking options
100 #options GATEWAY # packet forwarding
101 options INET # IP + ICMP + TCP + UDP
102 options INET6 # IPV6
103 #options IPSEC # IP security
104 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
105 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
106 #options IPSEC_DEBUG # debug for IP security
107 #options MROUTING # IP multicast routing
108 #options PIM # Protocol Independent Multicast
109 #options ISO,TPIP # OSI
110 #options EON # OSI tunneling over IP
111 #options NETATALK # AppleTalk networking protocols
112 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
113 #options PPP_DEFLATE # Deflate compression support for PPP
114 #options PPP_FILTER # Active filter support for PPP (requires bpf)
115 #options PFIL_HOOKS # pfil(9) packet filter hooks
116 #options IPFILTER_LOG # ipmon(8) log support
117 #options IPFILTER_LOOKUP # ippool(8) support
118 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
119 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
120
121 #options ALTQ # Manipulate network interfaces' output queues
122 #options ALTQ_BLUE # Stochastic Fair Blue
123 #options ALTQ_CBQ # Class-Based Queueing
124 #options ALTQ_CDNR # Diffserv Traffic Conditioner
125 #options ALTQ_FIFOQ # First-In First-Out Queue
126 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
127 #options ALTQ_HFSC # Hierarchical Fair Service Curve
128 #options ALTQ_LOCALQ # Local queueing discipline
129 #options ALTQ_PRIQ # Priority Queueing
130 #options ALTQ_RED # Random Early Detection
131 #options ALTQ_RIO # RED with IN/OUT
132 #options ALTQ_WFQ # Weighted Fair Queueing
133
134 # These options enable verbose messages for several subsystems.
135 # Warning, these may compile large string tables into the kernel!
136 #options EISAVERBOSE # verbose EISA device autoconfig messages
137 #options MIIVERBOSE # verbose PHY autoconfig messages
138 #options PCIVERBOSE # verbose PCI device autoconfig messages
139 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
140 #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
141 #options SCSIVERBOSE # human readable SCSI error messages
142 #options USBVERBOSE # verbose USB device autoconfig messages
143 #options PNPBIOSVERBOSE # verbose PnP BIOS messages
144 #options PNPBIOSDEBUG # more fulsome PnP BIOS debugging messages
145 options MCAVERBOSE # verbose MCA device autoconfig messages
146
147 options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
148
149 options WSEMUL_VT100 # VT100 / VT220 emulation
150 options WS_KERNEL_FG=WSCOL_GREEN
151
152 # Kernel root file system and dump configuration.
153 config netbsd root on ? type ?
154 #config netbsd root on ? type nfs
155 #config netbsd root on ed0a type ffs
156
157 #
158 # Device Configuration
159 #
160
161 mca0 at mainbus0
162 isa0 at mainbus0
163
164 #npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
165
166 # wscons
167 pckbc0 at isa? # pc keyboard controller
168 options PCKBCDEBUG
169 #pcconskbd* at pckbc?
170 #pms* at pckbc? # PS/2 mouse for wsmouse
171 #wsmouse* at pms?
172 pckbd* at pckbc? # PC keyboard
173 wskbd* at pckbd? console ?
174 vga0 at isa?
175 wsdisplay* at vga? console ?
176 options WSDISPLAY_DEFAULTSCREENS=4
177
178 com0 at isa? port 0x3f8 irq 4 # "SERIAL_!"
179 lpt0 at isa? port 0x3bc irq 7 # "PARALLEL_1"
180 fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
181 fd* at fdc? drive ? # the drives themselves
182
183 # MCA serial interfaces
184 com* at mca? slot ? # 16x50s on comm boards
185
186 # MCA network devices
187 elmc* at mca? slot ? # 3Com EtherLink/MC (3c523)
188 ep* at mca? slot ? # 3Com EtherLink III (3c529)
189 we* at mca? slot ? # WD/SMC Ethernet
190 ate* at mca? slot ? # Allied Telesis AT1720
191 ne* at mca? slot ? # Novell NE/2 and clones
192 tr* at mca? slot ? # IBM Token Ring adapter
193 tra* at mca? slot ? # Tiara LANCard/E and clones
194 le* at mca? slot ? # SKNET Personal/MC2+
195
196 # MCA ESDI controllers & disks
197 edc* at mca? slot ? # IBM ESDI Disk Controllers
198 ed* at edc? drive ?
199
200 # MCA SCSI controllers
201 aha* at mca? slot ? # Adaptec AHA-1640
202 esp* at mca? slot ? # NCR 53C90
203
204 # SCSI bus support
205 scsibus* at scsi?
206
207 # SCSI devices
208 sd* at scsibus? target ? lun ? # SCSI disk drives
209 #st* at scsibus? target ? lun ? # SCSI tape drives
210 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
211 #ch* at scsibus? target ? lun ? # SCSI autochangers
212 #ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
213 #ss* at scsibus? target ? lun ? # SCSI scanners
214 #uk* at scsibus? target ? lun ? # SCSI unknown
215
216 # network pseudo-devices
217 pseudo-device bpfilter # Berkeley packet filter
218 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
219 pseudo-device bridge # simple inter-network bridging
220 pseudo-device loop # network loopback
221
222 # miscellaneous pseudo-devices
223 pseudo-device pty # pseudo-terminals
224 pseudo-device md 1 # memory disk device (ramdisk)
225 # rnd works; RND_COM does not on port i386 yet.
226 pseudo-device rnd # /dev/random and in-kernel generator
227 #options RND_COM # use "com" randomness as well (BROKEN)
228 pseudo-device clockctl # user control of clock subsystem
229 pseudo-device fss 4 # file system snapshot device
230