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