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