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