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