GENERIC revision 1.52 1 # $NetBSD: GENERIC,v 1.52 2017/09/14 07:58:41 mrg Exp $
2 #
3 #
4
5 include "arch/ibmnws/conf/std.ibmnws"
6
7 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
8
9 # Console settings
10 options CONSOLE="\"genfb\""
11 #options CONSOLE="\"com\""
12 options CONSOLE_SPEED=9600
13 options CONSOLE_ADDR=0x3f8
14
15 # Enable the hooks used for initializing the ram-disk.
16 options MEMORY_DISK_HOOKS
17 options MEMORY_DISK_IS_ROOT # Force root on ram-disk
18 options MEMORY_DISK_ROOT_SIZE=4096 # 2 Megabytes
19 options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
20
21 maxusers 8
22
23 options DDB
24
25 # Compatibility options
26 include "conf/compat_netbsd16.config"
27
28 # File systems
29 #file-system FFS # UFS
30 #file-system EXT2FS # second extended file system (linux)
31 #file-system MFS # memory file system
32 file-system NFS # Network File System client
33 #file-system CD9660 # ISO 9660 + Rock Ridge file system
34 #file-system MSDOSFS # MS-DOS file system
35 file-system KERNFS # kernel data-structure filesystem
36 file-system PROCFS # /proc
37 #file-system PTYFS # /dev/pts/N support
38 file-system TMPFS # Efficient memory file-system
39 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
40
41 # File system options
42 #options DISKLABEL_EI # disklabel Endian Independent support
43 #options FFS_EI # FFS Endian Independent support
44 #options FFS_NO_SNAPSHOT # No FFS snapshot support
45 #options UFS_EXTATTR # Extended attribute support for UFS1
46 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
47 # immutable) behave as system flags.
48 options WAPBL # File system journaling support
49
50 #options USERCONF # userconf(4) support
51 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
52 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
53
54 # Networking options
55 options INET # IP + ICMP + TCP + UDP
56 options INET6
57
58 #options ALTQ # Manipulate network interfaces' output queues
59 #options ALTQ_BLUE # Stochastic Fair Blue
60 #options ALTQ_CBQ # Class-Based Queueing
61 #options ALTQ_CDNR # Diffserv Traffic Conditioner
62 #options ALTQ_FIFOQ # First-In First-Out Queue
63 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
64 #options ALTQ_HFSC # Hierarchical Fair Service Curve
65 #options ALTQ_LOCALQ # Local queueing discipline
66 #options ALTQ_PRIQ # Priority Queueing
67 #options ALTQ_RED # Random Early Detection
68 #options ALTQ_RIO # RED with IN/OUT
69 #options ALTQ_WFQ # Weighted Fair Queueing
70 # options NFS_BOOT_BOOTPARAM
71 options NFS_BOOT_DHCP
72
73 #
74 # wscons options
75 #
76 # builtin terminal emulations
77 #options WSEMUL_VT100 # VT100 / VT220 emulation
78 #options WSDISPLAY_COMPAT_USL # wsconscfg VT handling
79 # different kernel output - see dev/wscons/wsdisplayvar.h
80 #options WS_KERNEL_FG=WSCOL_GREEN
81 #options WS_KERNEL_BG=WSCOL_BLACK
82 # see dev/pckbport/wskbdmap_mfii.c for implemented layouts
83 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
84 # allocate a number of virtual screens at autoconfiguration time
85 #options WSDISPLAY_DEFAULTSCREENS=4
86 # use a large software cursor that doesn't blink
87 #options PCDISPLAY_SOFTCURSOR
88
89 # Kernel root file system and dump configuration.
90 config netbsd root on ? type ?
91
92
93 #
94 # Device configuration
95 #
96
97 mainbus0 at root
98 cpu0 at mainbus0
99
100
101 # Basic Bus Support
102
103 # PCI bus support
104 pci0 at mainbus0 bus ?
105 pci* at pchb? bus ?
106
107 options PCIVERBOSE
108
109 # PCI bridges
110 pchb* at pci? dev ? function ? # PCI-Host bridges
111 pcib* at pci? dev ? function ? # PCI-ISA bridges
112
113 # ISA bus support
114 isa* at pcib? # ISA on PCI-ISA bridge
115
116 # PCMCIA bus support
117 # pcmcia* at pcic? controller ? socket ?
118
119 # ISA PCMCIA controllers
120 # pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
121
122 #options PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14
123 #options PCIC_ISA_ALLOC_IOBASE=0x0400
124 #options PCIC_ISA_ALLOC_IOSIZE=0x0100
125
126 # ISA Plug-and-Play bus support
127 # isapnp0 at isa?
128
129 # on-board I/O for IBM Personal Power Series 830 IDE controller
130 # obio0 at mainbus0
131
132
133 # Console Devices
134
135 # wscons
136 pckbc0 at isa? # pc keyboard controller
137 pckbd* at pckbc? # PC keyboard
138 pms* at pckbc? # PS/2 mouse for wsmouse
139 # vga* at pci?
140 # wsdisplay* at vga? console ?
141 genfb* at pci? dev ? function ?
142 wskbd* at pckbd? console ?
143 wsmouse* at pms? mux 0
144
145 # make sure the console display is always wsdisplay0 XXX Why?
146 wsdisplay0 at wsemuldisplaydev? console 1
147 wsdisplay* at wsemuldisplaydev?
148
149 # attimer0 at isa?
150 # pcppi0 at isa? # PC prog. periph. interface
151 # isabeep0 at pcppi? # "keyboard" beep
152
153 # mcclock0 at isa? port 0x70 # mc146818 and compatible
154
155
156 # Serial Devices
157
158 # ISA serial interfaces
159 com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
160 com1 at isa? port 0x2f8 irq 3
161
162 # Parallel Printer Interfaces
163
164 # ISA parallel printer interfaces
165 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
166
167
168 # SCSI Controllers and Devices
169
170 # PCI SCSI controllers
171 # adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
172 # ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
173 # iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
174 # pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
175 # siop* at pci? dev ? function ? # Symbios 53c8xx SCSI
176
177 # PCMCIA SCSI controllers
178 # aic* at pcmcia? function ? # Adaptec APA-1460 SCSI
179 # spc* at pcmcia? function ? # Fujitsu MB87030/MB89352 SCSI
180
181 # SCSI bus support
182 # scsibus* at adw?
183 # scsibus* at ahc?
184 # scsibus* at aic?
185 # scsibus* at iha?
186 # scsibus* at pcscp?
187 # scsibus* at siop?
188 # scsibus* at spc?
189
190 # SCSI devices
191 # sd* at scsibus? target ? lun ? # SCSI disk drives
192 # st* at scsibus? target ? lun ? # SCSI tape drives
193 # cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
194
195
196 # IDE and related devices
197
198 # IBM Personal Power Series 830 IDE controller
199 # wdc0 at obio? port 0x1f0 irq 13
200 # wdc1 at obio? port 0x170 irq 13
201
202 # ISA Plug-and-Play IDE controllers
203 # wdc* at isapnp?
204
205 # PCMCIA IDE controllers
206 # wdc* at pcmcia? function ?
207
208 # IDE drives
209 # Flags are used only with controllers that support DMA operations
210 # and mode settings (e.g. some pciide controllers)
211 # The lowest order four bits (rightmost digit) of the flags define the PIO
212 # mode to use, the next set of four bits the DMA mode and the third set the
213 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
214 # to use, and the last bit must be 1 for this setting to be used.
215 # For DMA and UDMA, 0xf (1111) means 'disable'.
216 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
217 # (0xc=1100, 0xa=1010, 0xf=1111)
218 # 0x0000 means "use whatever the drive claims to support".
219 # wd* at wdc? channel ? drive ? flags 0x0000
220
221 # ATAPI bus support
222 # atapibus* at wdc? channel ?
223
224 # ATAPI devices
225 # flags have the same meaning as for IDE drives.
226 # cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
227 # sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
228
229 # Miscellaneous mass storage devices
230
231 # ISA floppy
232 # fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
233 # fd* at fdc? drive ?
234
235 # Network Interfaces
236
237 # PCI network interfaces
238 pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
239
240 # PCMCIA network interfaces
241 # ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
242 # ne* at pcmcia? function ? # NE2000-compatible Ethernet
243
244 # MII/PHY support
245 #acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs
246 #amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
247 #bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
248 #brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
249 #dmphy* at mii? phy ? # Davicom DM9101 PHYs
250 #exphy* at mii? phy ? # 3Com internal PHYs
251 #gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs
252 #glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
253 #gphyter* at mii? phy ? # NS83861 Gig-E PHY
254 icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
255 #inphy* at mii? phy ? # Intel 82555 PHYs
256 #iophy* at mii? phy ? # Intel 82553 PHYs
257 #lxtphy* at mii? phy ? # Level One LXT-970 PHYs
258 #makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
259 #nsphy* at mii? phy ? # NS83840 PHYs
260 #nsphyter* at mii? phy ? # NS83843 PHYs
261 #pnaphy* at mii? phy ? # generic HomePNA PHYs
262 #qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
263 #sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
264 #tlphy* at mii? phy ? # ThunderLAN PHYs
265 #tqphy* at mii? phy ? # TDK Semiconductor PHYs
266 #ukphy* at mii? phy ? # generic unknown PHYs
267 #urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
268
269 # Audio support
270 paud0 at isa? port 0x830 irq 10 drq 0 drq2 1
271 audio* at audiobus?
272
273 spkr* at audio? # PC speaker (synthesized)
274
275 # Pseudo-Devices
276
277 # disk/mass storage pseudo-devices
278 pseudo-device md # memory disk device (ramdisk)
279
280 # network pseudo-devices
281 pseudo-device bpfilter # network tap
282 #pseudo-device carp # Common Address Redundancy Protocol
283 pseudo-device loop # network loopback
284
285 #
286 # accept filters
287 pseudo-device accf_data # "dataready" accept filter
288 pseudo-device accf_http # "httpready" accept filter
289
290 # miscellaneous pseudo-devices
291 pseudo-device pty # pseudo-terminals
292 #options RND_COM # use "com" randomness as well
293 pseudo-device ksyms
294 pseudo-device clockctl
295
296 # Veriexec
297 #
298 # a pseudo device needed for veriexec
299 #pseudo-device veriexec
300 #
301 # Uncomment the fingerprint methods below that are desired. Note that
302 # removing fingerprint methods will have almost no impact on the kernel
303 # code size.
304 #
305 #options VERIFIED_EXEC_FP_SHA256
306 #options VERIFIED_EXEC_FP_SHA384
307 #options VERIFIED_EXEC_FP_SHA512
308