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