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