XEN3_DOM0 revision 1.76 1 # $NetBSD: XEN3_DOM0,v 1.76 2011/12/18 05:49:23 dholland Exp $
2
3 include "arch/amd64/conf/std.xen"
4
5 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
6
7 #options UVMHIST
8 #options UVMHIST_PRINT
9 #options SYSCALL_DEBUG
10
11 maxusers 32 # estimated number of users
12
13 #
14 options DOM0OPS
15
16 # boot messages with MPBIOS, acpi and ioapic can be quite large
17 options MSGBUFSIZE=24576
18
19 #options VM86 # virtual 8086 emulation
20 #options USER_LDT # user-settable LDT; used by WINE
21
22 # CPU features
23 est0 at cpu0 # Intel Enhanced SpeedStep (non-ACPI)
24 powernow0 at cpu0 # AMD PowerNow! and Cool'n'Quiet (non-ACPI)
25
26 #options MTRR # memory-type range register syscall support
27
28 #options CONSDEVNAME="\"xencons\""
29 #options CONS_OVERRIDE
30
31 options INSECURE # disable kernel security levels - X needs this
32
33 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
34 options NTP # NTP phase/frequency locked loop
35
36 options KTRACE # system call tracing via ktrace(1)
37
38 options SYSVMSG # System V-like message queues
39 options SYSVSEM # System V-like semaphores
40 options SYSVSHM # System V-like memory sharing
41 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
42
43
44 options USERCONF # userconf(4) support
45 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
46
47 #options BUFQ_READPRIO
48 options BUFQ_PRIOCSCAN
49
50 # Diagnostic/debugging support options
51 options DIAGNOSTIC # expensive kernel consistency checks
52 options DEBUG # expensive debugging checks/support
53 options KMEMSTATS # kernel memory statistics (vmstat -m)
54 options DDB # in-kernel debugger
55 options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
56 options DDB_HISTORY_SIZE=512 # enable history editing in DDB
57 #options KGDB # remote debugger
58 #options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
59 makeoptions DEBUG="-g" # compile full symbol table
60 makeoptions COPTS="-O2 -fno-omit-frame-pointer"
61 options DDB_COMMANDONENTER="trace;show registers"
62
63 # Compatibility options
64 options COMPAT_15 # compatibility with NetBSD 1.5,
65 options COMPAT_16 # NetBSD 1.6,
66 options COMPAT_20 # NetBSD 2.0,
67 options COMPAT_30 # NetBSD 3.0,
68 options COMPAT_40 # NetBSD 4.0 compatibility.
69 options COMPAT_43 # and 4.3BSD
70 #options COMPAT_386BSD_MBRPART # recognize old partition ID
71 options COMPAT_50 # NetBSD 5.0
72
73 options COMPAT_OSSAUDIO
74 options COMPAT_NETBSD32
75 options COMPAT_LINUX
76 options COMPAT_LINUX32 # req. COMPAT_LINUX and COMPAT_NETBSD32
77 options EXEC_ELF32
78 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
79
80 # Wedge support
81 options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances
82 options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges
83 # The following two options can break /etc/fstab, so handle with care
84 #options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges
85 #options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges
86
87 # File systems
88 file-system FFS # UFS
89 file-system EXT2FS # second extended file system (linux)
90 file-system LFS # log-structured file system
91 file-system MFS # memory file system
92 file-system NFS # Network File System client
93 file-system NTFS # Windows/NT file system (experimental)
94 file-system CD9660 # ISO 9660 + Rock Ridge file system
95 file-system MSDOSFS # MS-DOS file system
96 file-system FDESC # /dev/fd
97 file-system KERNFS # /kern
98 file-system NULLFS # loopback file system
99 file-system OVERLAY # overlay file system
100 file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
101 file-system PROCFS # /proc
102 file-system UMAPFS # NULLFS + uid and gid remapping
103 file-system UNION # union file system
104 file-system CODA # Coda File System; also needs vcoda (below)
105 file-system SMBFS # experimental - CIFS; also needs nsmb (below)
106 file-system PTYFS # /dev/pts/N support
107 file-system TMPFS # Efficient memory file-system
108
109 # File system options
110 options QUOTA # legacy UFS quotas
111 options QUOTA2 # new, in-filesystem UFS quotas
112 #options FFS_EI # FFS Endian Independent support
113 options WAPBL # File system journaling support
114 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
115 options NFSSERVER # Network File System server
116 #options FFS_NO_SNAPSHOT # No FFS snapshot support
117 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
118 # immutable) behave as system flags.
119
120 # Networking options
121 #options GATEWAY # packet forwarding
122 options INET # IP + ICMP + TCP + UDP
123 options INET6 # IPV6
124 #options IPSEC # IP security
125 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
126 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
127 #options IPSEC_DEBUG # debug for IP security
128 #options MROUTING # IP multicast routing
129 #options PIM # Protocol Independent Multicast
130 #options ISO,TPIP # OSI
131 #options EON # OSI tunneling over IP
132 options NETATALK # AppleTalk networking protocols
133 options PPP_BSDCOMP # BSD-Compress compression support for PPP
134 options PPP_DEFLATE # Deflate compression support for PPP
135 options PPP_FILTER # Active filter support for PPP (requires bpf)
136 options PFIL_HOOKS # pfil(9) packet filter hooks
137 options IPFILTER_LOG # ipmon(8) log support
138 options IPFILTER_LOOKUP # ippool(8) support
139 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
140 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
141
142 #options ALTQ # Manipulate network interfaces' output queues
143 #options ALTQ_BLUE # Stochastic Fair Blue
144 #options ALTQ_CBQ # Class-Based Queueing
145 #options ALTQ_CDNR # Diffserv Traffic Conditioner
146 #options ALTQ_FIFOQ # First-In First-Out Queue
147 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
148 #options ALTQ_HFSC # Hierarchical Fair Service Curve
149 #options ALTQ_LOCALQ # Local queueing discipline
150 #options ALTQ_PRIQ # Priority Queueing
151 #options ALTQ_RED # Random Early Detection
152 #options ALTQ_RIO # RED with IN/OUT
153 #options ALTQ_WFQ # Weighted Fair Queueing
154
155 options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
156 #options NFS_BOOT_BOOTSTATIC
157 #options NFS_BOOTSTATIC_MYIP="\"169.254.1.2\""
158 #options NFS_BOOTSTATIC_GWIP="\"169.254.1.1\""
159 #options NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
160 #options NFS_BOOTSTATIC_SERVADDR="\"169.254.1.1\""
161 #options NFS_BOOTSTATIC_SERVER="\"server:/path/to/root\""
162
163 #
164 # wscons options
165 #
166 # builtin terminal emulations
167 #options WSEMUL_SUN # sun terminal emulation
168 options WSEMUL_VT100 # VT100 / VT220 emulation
169 # different kernel output - see dev/wscons/wsdisplayvar.h
170 options WS_KERNEL_FG=WSCOL_GREEN
171 #options WS_KERNEL_BG=WSCOL_BLACK
172 # compatibility to other console drivers
173 options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
174 options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
175 options WSDISPLAY_COMPAT_USL # VT handling
176 options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
177 # see dev/pckbport/wskbdmap_mfii.c for implemented layouts
178 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
179 # allocate a number of virtual screens at autoconfiguration time
180 #options WSDISPLAY_DEFAULTSCREENS=4
181 # use a large software cursor that doesn't blink
182 options PCDISPLAY_SOFTCURSOR
183 # modify the screen type of the console; defaults to "80x25"
184 #options VGA_CONSOLE_SCREENTYPE="\"80x24\""
185 # work around a hardware bug that loaded fonts don't work; found on ATI cards
186 #options VGA_CONSOLE_ATI_BROKEN_FONTSEL
187 # console scrolling support.
188 options WSDISPLAY_SCROLLSUPPORT
189 # enable VGA raster mode capable of displaying multilingual text on console
190 #options VGA_RASTERCONSOLE
191 config netbsd root on ? type ?
192 #config netbsd root on wd0a type ffs
193 #config netbsd root on xennet0 type nfs
194
195 mainbus0 at root
196
197 cpu* at mainbus?
198
199 # IPMI support
200 ipmi0 at mainbus?
201
202 hypervisor* at mainbus? # Xen hypervisor
203
204 vcpu* at hypervisor? # Xen virtual CPUs
205
206 xenbus* at hypervisor? # Xen virtual bus
207
208 xencons* at hypervisor? # Xen virtual console
209 balloon* at xenbus? # Xen balloon device
210
211 acpi0 at hypervisor?
212 #options ACPI_ACTIVATE_DEV # If set, activate inactive devices
213 options ACPI_SCANPCI # find PCI roots using ACPI
214 #options ACPICA_PEDANTIC # force strict conformance to the Spec.
215 options ACPIVERBOSE # verbose ACPI configuration messages
216 #options MIIVERBOSE # verbose PHY autoconfig messages
217 options MPBIOS # configure CPUs and APICs using MPBIOS
218 options MPDEBUG # MPBIOS configures PCI roots
219 options MPVERBOSE # verbose MPBIOS autoconfig messages
220 options MPBIOS_SCANPCI # MPBIOS configures PCI roots
221 #options PCI_ADDR_FIXUP # fixup PCI I/O addresses
222 #options PCI_BUS_FIXUP # fixup PCI bus numbering
223 #options PCI_INTR_FIXUP # fixup PCI interrupt routing
224 #options PCIVERBOSE # verbose PCI device autoconfig messages
225 #options USBVERBOSE # verbose USB device autoconfig messages
226
227 ioapic* at mainbus? apid ?
228
229 # ACPI devices
230 acpiacad* at acpi? # ACPI AC Adapter
231 acpibat* at acpi? # ACPI Battery
232 acpibut* at acpi? # ACPI Button
233 acpidalb* at acpi? # ACPI Direct Application Launch Button
234 acpiec* at acpi? # ACPI Embedded Controller
235 acpilid* at acpi? # ACPI Lid Switch
236 acpitz* at acpi? # ACPI Thermal Zone
237 aibs* at acpi? # ASUSTeK AI Booster hardware monitor
238 hpqlb* at acpi? # HP Quick Launch Buttons
239 pckbc* at acpi? # PC keyboard controller
240 pcppi* at acpi? # AT-style speaker sound
241
242 # PCI bus support
243 pci* at hypervisor? bus ?
244 pci* at pchb? bus ?
245 ppb* at pci? dev ? function ? # PCI-PCI bridges
246 pci* at ppb? bus ?
247
248 # pci backend devices, used for PCI pass-through. To export a PCI device
249 # to a domU, the device has to be attached to the pciback driver in the dom0.
250 # you can force a device to attach to the pciback driver in dom0 passing
251 # pciback.hide=(bus:dev.fun)(bus:dev.func) to the dom0 kernel boot parameters.
252 # bus and dev are 2-digits hex number, func is a single-digit number:
253 # pciback.hide=(00:1a.0)(00:1a.1)(00:1a.7)
254 pciback* at pci? # pci backend device
255
256 # PCI bridges
257 ichlpcib* at pci? dev ? function ? # Intel ICH PCI-ISA w/ timecounter,
258 # watchdog and SpeedStep support
259 pcib* at pci? dev ? function ? # PCI-ISA bridges
260 pchb* at pci? dev ? function ? # PCI-Host bridges
261 ppb* at pci? dev ? function ? # PCI-PCI bridges
262 # XXX 'puc's aren't really bridges, but there's no better place for them here
263 puc* at pci? dev ? function ? # PCI "universal" comm. cards
264
265 agp* at pchb?
266
267 # ISA bus support
268 isa0 at ichlpcib?
269 isa0 at pcib?
270 isa0 at hypervisor?
271
272 # Serial Devices
273
274 # PCI serial interfaces
275 com* at puc? port ? # 16x50s on "universal" comm boards
276 cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards
277 cz* at pci? dev ? function ? # Cyclades-Z multi-port serial boards
278
279 # ISA serial interfaces
280 #options COM_HAYESP # adds Hayes ESP serial board support
281 # If a com port is used as Xen console it can't be used by the domain0 kernel
282 # and there's no easy way to detect this yet. Leave com0 out as it's the
283 # port usually used for serial console
284 #com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports
285 com1 at isa? port 0x2f8 irq 3
286 #com2 at isa? port 0x3e8 irq 5
287 #com3 at isa? port 0x2e8 irq 9
288
289 # Parallel Printer Interfaces
290
291 # PCI parallel printer interfaces
292 lpt* at puc? port ? # || ports on "universal" comm boards
293
294 # ISA parallel printer interfaces
295 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
296
297 # Hardware monitors
298
299 amdtemp* at pchb? # AMD CPU Temperature sensors
300
301 # AMD 768 and 8111 power/ACPI controllers
302 amdpm* at pci? dev ? function ? # RNG and SMBus 1.0 interface
303 #iic* at amdpm? # sensors below are on this bus
304
305 # Thermal monitor and fan controller
306 #dbcool* at iic? addr 0x2C # Unknown other motherboard(s)
307 #dbcool* at iic? addr 0x2D # Tyan S2881
308 #dbcool* at iic? addr 0x2E # Tyan S2882-D
309
310 # Winbond LPC Super I/O
311 #wbsio* at isa? port 0x2e
312 #wbsio* at isa? port 0x4e
313
314 # LM7[89] and compatible hardware monitors
315 #lm0 at isa? port 0x290 # other common: 0x280, 0x310, 0xc00
316 #lm* at wbsio?
317
318 # VIA VT82C686A/VT8231 Hardware Monitor and Power Management TImer
319 #viaenv* at pci? dev ? function ?
320
321
322 # PCI network interfaces
323 age* at pci? dev ? function ? # Attansic/Atheros L1 Gigabit Ethernet
324 an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11)
325 ale* at pci? dev ? function ? # Attansic/Atheros L1E Ethernet
326 ath* at pci? dev ? function ? # Atheros 5210/5211/5212 802.11
327 atw* at pci? dev ? function ? # ADMtek ADM8211 (802.11)
328 bce* at pci? dev ? function ? # Broadcom 4401 10/100 Ethernet
329 bge* at pci? dev ? function ? # Broadcom 570x gigabit Ethernet
330 bnx* at pci? dev ? function ? # Broadcom NetXtremeII gigabit Ethernet
331 dge* at pci? dev ? function ? # Intel 82597 10GbE LR
332 en* at pci? dev ? function ? # ENI/Adaptec ATM
333 ep* at pci? dev ? function ? # 3Com 3c59x
334 epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet
335 esh* at pci? dev ? function ? # Essential HIPPI card
336 et* at pci? dev ? function ? # Agere/LSI ET1310/ET1301 Gigabit
337 ex* at pci? dev ? function ? # 3Com 90x[BC]
338 fpa* at pci? dev ? function ? # DEC DEFPA FDDI
339 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
340 gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet
341 hme* at pci? dev ? function ? # Sun Microelectronics STP2002-STQ
342 ipw* at pci? dev ? function ? # Intel PRO/Wireless 2100
343 iwi* at pci? dev ? function ? # Intel PRO/Wireless 2200BG
344 iwn* at pci? dev ? function ? # Intel PRO/Wireless 4965AGN
345 jme* at pci? dev ? function ? # JMicron JMC2[56]0 ethernet
346 le* at pci? dev ? function ? # PCnet-PCI Ethernet
347 lii* at pci? dev ? function ? # Atheros L2 Fast-Ethernet
348 lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3
349 mskc* at pci? dev ? function ? # Marvell Yukon 2 Gigabit Ethernet
350 msk* at mskc? # Marvell Yukon 2 Gigabit Ethernet
351 mtd* at pci? dev ? function ? # Myson MTD803 3-in-1 Ethernet
352 ne* at pci? dev ? function ? # NE2000-compatible Ethernet
353 nfe* at pci? dev ? function ? # NVIDIA nForce Ethernet
354 ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial
355 pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet
356 ral* at pci? dev ? function ? # Ralink Technology RT25x0 802.11a/b/g
357 re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S
358 rtk* at pci? dev ? function ? # Realtek 8129/8139
359 sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet
360 sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet
361 skc* at pci? dev ? function ? # SysKonnect SK9821 Gigabit Ethernet
362 sk* at skc? # SysKonnect SK9821 Gigabit Ethernet
363 ste* at pci? dev ? function ? # Sundance ST-201 Ethernet
364 stge* at pci? dev ? function ? # Sundance/Tamarack TC9021 Gigabit
365 ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet
366 tl* at pci? dev ? function ? # ThunderLAN-based Ethernet
367 tlp* at pci? dev ? function ? # DECchip 21x4x and clones
368 txp* at pci? dev ? function ? # 3com 3cr990
369 vge* at pci? dev ? function ? # VIATech VT612X Gigabit Ethernet
370 vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet
371 wi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b)
372 wm* at pci? dev ? function ? # Intel 8254x gigabit
373 xge* at pci? dev ? function ? # Neterion (S2io) Xframe-I 10GbE
374
375 # MII/PHY support
376 acphy* at mii? phy ? # Altima AC101 and AMD Am79c874 PHYs
377 amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
378 atphy* at mii? phy ? # Attansic/Atheros PHYs
379 bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
380 brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
381 ciphy* at mii? phy ? # Cicada CS8201 Gig-E PHYs
382 dmphy* at mii? phy ? # Davicom DM9101 PHYs
383 etphy* at mii? phy ? # Agere/LSI ET1011 TruePHY Gig-E PHYs
384 exphy* at mii? phy ? # 3Com internal PHYs
385 gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs
386 glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
387 gphyter* at mii? phy ? # NS83861 Gig-E PHY
388 icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
389 igphy* at mii? phy ? # Intel IGP01E1000
390 ihphy* at mii? phy ? # Intel 82577 PHYs
391 ikphy* at mii? phy ? # Intel 82563 PHYs
392 inphy* at mii? phy ? # Intel 82555 PHYs
393 iophy* at mii? phy ? # Intel 82553 PHYs
394 lxtphy* at mii? phy ? # Level One LXT-970 PHYs
395 makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
396 nsphy* at mii? phy ? # NS83840 PHYs
397 nsphyter* at mii? phy ? # NS83843 PHYs
398 pnaphy* at mii? phy ? # generic HomePNA PHYs
399 qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
400 rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs
401 rlphy* at mii? phy ? # Realtek 8139/8201L PHYs
402 sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
403 tlphy* at mii? phy ? # ThunderLAN PHYs
404 tqphy* at mii? phy ? # TDK Semiconductor PHYs
405 ukphy* at mii? phy ? # generic unknown PHYs
406 urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
407
408 # I2O devices
409 iop* at pci? dev ? function ? # I/O processor
410 iopsp* at iop? tid ? # SCSI/FC-AL ports
411 ld* at iop? tid ? # block devices
412 # XXX dpti.c wants a processor type that is not assigned for x86-64
413 #dpti* at iop? tid 0 # DPT/Adaptec control interface
414
415 # IDE and related devices
416 # PCI IDE controllers - see pciide(4) for supported hardware.
417 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
418 # how to set up DMA modes for this chip. This may work, or may cause
419 # a machine hang with some controllers.
420 pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver
421 acardide* at pci? dev ? function ? # Acard IDE controllers
422 aceride* at pci? dev ? function ? # Acer Lab IDE controllers
423 ahcisata* at pci? dev ? function ? # AHCI SATA controllers
424 artsata* at pci? dev ? function ? # Intel i31244 SATA controller
425 cmdide* at pci? dev ? function ? # CMD tech IDE controllers
426 cypide* at pci? dev ? function ? # Cypress IDE controllers
427 geodeide* at pci? dev ? function ? # AMD Geode IDE controllers
428 hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers
429 iteide* at pci? dev ? function ? # IT Express IDE controllers
430 ixpide* at pci? dev ? function ? # ATI IXP IDE controllers
431 jmide* at pci? dev ? function ? # JMicron PCI-e PATA/SATA controllers
432 ahcisata* at jmide?
433 optiide* at pci? dev ? function ? # Opti IDE controllers
434 piixide* at pci? dev ? function ? # Intel IDE controllers
435 pdcide* at pci? dev ? function ? # Promise IDE controllers
436 pdcsata* at pci? dev ? function ? # Promise SATA150 controllers
437 rccide* at pci? dev ? function ? # ServerWorks IDE controllers
438 satalink* at pci? dev ? function ? # SiI SATALink controllers
439 siisata* at pci? dev ? function ? # SiI SteelVine controllers
440 siside* at pci? dev ? function ? # SiS IDE controllers
441 slide* at pci? dev ? function ? # Symphony Labs IDE controllers
442 svwsata* at pci? dev ? function ? # ServerWorks SATA controllers
443 stpcide* at pci? dev ? function ? # STMicro STPC IDE controllers
444 viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers
445
446 # ATA (IDE) bus support
447 atabus* at ata?
448
449 # IDE drives
450 # Flags are used only with controllers that support DMA operations
451 # and mode settings (e.g. some pciide controllers)
452 # The lowest order four bits (rightmost digit) of the flags define the PIO
453 # mode to use, the next set of four bits the DMA mode and the third set the
454 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
455 # to use, and the last bit must be 1 for this setting to be used.
456 # For DMA and UDMA, 0xf (1111) means 'disable'.
457 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
458 # (0xc=1100, 0xa=1010, 0xf=1111)
459 # 0x0000 means "use whatever the drive claims to support".
460 wd* at atabus? drive ? flags 0x0000
461
462 # ATA RAID configuration support, as found on some Promise controllers.
463 pseudo-device ataraid
464 ld* at ataraid? vendtype ? unit ?
465
466 # ATAPI bus support
467 atapibus* at atapi?
468
469 # ATAPI devices
470 # flags have the same meaning as for IDE drives.
471 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
472 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
473 st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
474 uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
475
476 # SCSI Controllers and Devices
477
478 # PCI SCSI controllers
479 adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI
480 adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
481 ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
482 ahd* at pci? dev ? function ? # Adaptec 29320, 39320 (aic790x) SCSI
483 bha* at pci? dev ? function ? # BusLogic 9xx SCSI
484 dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID
485 iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI
486 isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel
487 mfi* at pci? dev ? function ? # LSI MegaRAID SAS
488 mly* at pci? dev ? function ? # Mylex AcceleRAID and eXtremeRAID
489 mpt* at pci? dev ? function ? # LSI Fusion SCSI/FC
490 njs* at pci? dev ? function ? # Workbit NinjaSCSI-32
491 pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
492 siop* at pci? dev ? function ? # Symbios 53c8xx SCSI
493 esiop* at pci? dev ? function ? # Symbios 53c875 SCSI and newer
494 #options SIOP_SYMLED # drive the act. LED in software
495 trm* at pci? dev ? function ? # Tekram DC-395U/UW/F, DC-315/U SCSI
496 # SCSI bus support
497 scsibus* at scsi?
498
499 # SCSI devices
500 sd* at scsibus? target ? lun ? # SCSI disk drives
501 st* at scsibus? target ? lun ? # SCSI tape drives
502 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
503 ch* at scsibus? target ? lun ? # SCSI autochangers
504 ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
505 ss* at scsibus? target ? lun ? # SCSI scanners
506 uk* at scsibus? target ? lun ? # SCSI unknown
507
508 # RAID controllers and devices
509 aac* at pci? dev ? function ? # Adaptec AAC family
510 amr* at pci? dev ? function ? # AMI/LSI Logic MegaRAID
511 arcmsr* at pci? dev ? function ? # Areca SATA RAID controllers
512 cac* at pci? dev ? function ? # Compaq PCI array controllers
513 ciss* at pci? dev ? function ? # HP Smart Array controllers
514 icp* at pci? dev ? function ? # ICP-Vortex GDT & Intel RAID
515 mlx* at pci? dev ? function ? # Mylex DAC960 & DEC SWXCR family
516 twe* at pci? dev ? function ? # 3ware Escalade RAID controllers
517 twa* at pci? dev ? function ? # 3ware Escalade 95xx RAID controllers
518
519 ld* at aac? unit ? # logical disk devices
520 ld* at amr? unit ?
521 ld* at cac? unit ?
522 ld* at icp? unit ?
523 ld* at twe? unit ?
524 ld* at twa? unit ?
525 ld* at mlx? unit ?
526
527 icpsp* at icp? unit ? # SCSI pass-through
528
529 # wscons
530 pckbc0 at isa? # pc keyboard controller
531 pckbd* at pckbc? # PC keyboard
532 pms* at pckbc? # PS/2 mouse for wsmouse
533 #options PMS_DISABLE_POWERHOOK # Disable PS/2 reset on resume
534 #vga0 at isa?
535 vga* at pci? dev ? function ?
536 #pcdisplay0 at isa? # CGA, MDA, EGA, HGA
537 #machfb* at pci? dev ? function ? # ATI Mach64 framebuffer driver
538 wsdisplay* at vga? console ?
539 #wsdisplay* at pcdisplay? console ?
540 #wsdisplay* at machfb? console ?
541 wskbd* at pckbd? console ?
542 wsmouse* at pms? mux 0
543
544 # USB Controller and Devices
545
546 # PCI USB controllers
547 ehci* at pci? dev ? function ? # Enhanced Host Controller
548 ohci* at pci? dev ? function ? # Open Host Controller
549 uhci* at pci? dev ? function ? # Universal Host Controller (Intel)
550
551 # USB bus support
552 usb* at ehci?
553 usb* at ohci?
554 usb* at uhci?
555
556 # USB Hubs
557 uhub* at usb?
558 uhub* at uhub? port ?
559
560 # USB HID device
561 uhidev* at uhub? port ? configuration ? interface ?
562
563 # USB Mice
564 ums* at uhidev? reportid ?
565 wsmouse* at ums? mux 0
566
567 # USB eGalax touch-panel
568 uep* at uhub? port ?
569 wsmouse* at uep? mux 0
570
571 # USB Keyboards
572 ukbd* at uhidev? reportid ?
573 wskbd* at ukbd? console ? mux 1
574
575 # USB serial adapter
576 ucycom* at uhidev? reportid ?
577
578 # USB Generic HID devices
579 uhid* at uhidev? reportid ?
580
581 # USB Printer
582 ulpt* at uhub? port ? configuration ? interface ?
583
584 # USB Modem
585 umodem* at uhub? port ? configuration ?
586 ucom* at umodem?
587
588 # Option N.V. Wireless WAN modems
589 uhso* at uhub? port ? configuration ?
590
591 # USB Mass Storage
592 umass* at uhub? port ? configuration ? interface ?
593 wd* at umass?
594
595 # USB audio
596 uaudio* at uhub? port ? configuration ?
597
598 # USB MIDI
599 umidi* at uhub? port ? configuration ?
600
601 # USB IrDA
602 # USB-IrDA bridge spec
603 uirda* at uhub? port ? configuration ? interface ?
604 irframe* at uirda?
605
606 # SigmaTel STIr4200 USB/IrDA Bridge
607 ustir* at uhub? port ?
608 irframe* at ustir?
609
610 # USB Ethernet adapters
611 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
612 axe* at uhub? port ? # ASIX AX88172 based adapters
613 cdce* at uhub? port ? # CDC, Ethernet Networking Control Model
614 cue* at uhub? port ? # CATC USB-EL1201A based adapters
615 kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
616 udav* at uhub? port ? # Davicom DM9601 based adapters
617 url* at uhub? port ? # Realtek RTL8150L based adapters
618 urndis* at uhub? port ? # Microsoft RNDIS specification
619
620 # USB 802.11 adapters
621 atu* at uhub? port ? # Atmel AT76C50XX based adapters
622 ral* at uhub? port ? # Ralink Technology RT25x0 802.11a/b/g
623 rum* at uhub? port ? # Ralink Technology RT2501/RT2601 802.11a/b/g
624
625 # Prolific PL2301/PL2302 host-to-host adapter
626 upl* at uhub? port ?
627
628 # Serial adapters
629 ubsa* at uhub? port ? # Belkin serial adapter
630 ucom* at ubsa? portno ?
631
632 uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter
633 ucom* at uftdi? portno ?
634
635 umct* at uhub? port ? # MCT USB-RS232 serial adapter
636 ucom* at umct? portno ?
637
638 uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter
639 ucom* at uplcom? portno ?
640
641 uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter
642 ucom* at uvscom? portno ?
643
644 # Diamond Multimedia Rio 500
645 urio* at uhub? port ?
646
647 # USB Handspring Visor
648 uvisor* at uhub? port ?
649 ucom* at uvisor?
650
651 # Kyocera AIR-EDGE PHONE
652 ukyopon* at uhub? port ?
653 ucom* at ukyopon? portno ?
654
655 # USB scanners
656 uscanner* at uhub? port ?
657
658 # USB scanners that use SCSI emulation, e.g., HP5300
659 usscanner* at uhub? port ?
660
661 # Y@P firmware loader
662 uyap* at uhub? port ?
663
664 # D-Link DSB-R100 USB radio
665 udsbr* at uhub? port ?
666 radio* at udsbr?
667
668 # USB Generic driver
669 ugen* at uhub? port ?
670
671 # PCI IEEE1394 controllers
672 fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller
673
674 # CardBus IEEE1394 controllers
675 #fwohci* at cardbus? function ? # IEEE1394 Open Host Controller
676
677 ieee1394if* at fwohci?
678 fwip* at ieee1394if? # IP over IEEE1394
679 sbp* at ieee1394if? euihi ? euilo ? # SCSI over IEEE1394
680
681 # PCI audio devices
682 auacer* at pci? dev ? function ? # ALi M5455 integrated AC'97 Audio
683 auich* at pci? dev ? function ? # Intel ICH integrated AC'97 Audio
684 auixp* at pci? dev ? function ? # ATI IXP AC'97 Audio
685 autri* at pci? dev ? function ? # Trident 4DWAVE based AC'97 Audio
686 auvia* at pci? dev ? function ? # VIA VT82C686A integrated AC'97 Audio
687 azalia* at pci? dev ? function ? # High Definition Audio
688 clcs* at pci? dev ? function ? # Cirrus Logic CS4280
689 clct* at pci? dev ? function ? # Cirrus Logic CS4281
690 cmpci* at pci? dev ? function ? # C-Media CMI8338/8738
691 eap* at pci? dev ? function ? # Ensoniq AudioPCI
692 emuxki* at pci? dev ? function ? # Creative SBLive! and PCI512
693 esa* at pci? dev ? function ? # ESS Allegro-1 / Maestro-3 PCI Audio
694 esm* at pci? dev ? function ? # ESS Maestro-1/2/2e PCI Audio Accelerator
695 eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive
696 fms* at pci? dev ? function ? # Forte Media FM801
697 neo* at pci? dev ? function ? # NeoMagic 256 AC'97 Audio
698 sv* at pci? dev ? function ? # S3 SonicVibes
699 yds* at pci? dev ? function ? # Yamaha DS-1 PCI Audio
700
701 # OPL[23] FM synthesizers
702 #opl0 at isa? port 0x388 # use only if not attached to sound card
703 opl* at cmpci? flags 1
704 opl* at eso?
705 opl* at fms?
706 opl* at sv?
707 opl* at yds?
708
709 # High Definition Audio
710 hdaudio* at pci? dev ? function ? # High Definition Audio
711 hdafg* at hdaudiobus?
712
713 # Audio support
714 audio* at audiobus?
715
716 # MPU 401 UARTs
717 #mpu* at isa? port 0x330 irq 9 # MPU401 or compatible card
718 mpu* at cmpci?
719 mpu* at eso?
720 mpu* at fms?
721 mpu* at yds?
722
723 # MIDI support
724 midi* at midibus?
725
726 # Bluetooth Controller and Device support
727
728 # Bluetooth PCMCIA Controllers
729 #bt3c* at pcmcia? function ? # 3Com 3CRWB6096-A
730 #btbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139
731
732 # Bluetooth USB Controllers
733 ubt* at uhub? port ?
734 aubtfwl* at uhub? port ?
735
736 # Bluetooth Device Hub
737 #bthub* at bt3c?
738 #bthub* at btbh?
739 bthub* at ubt?
740
741 # Bluetooth HID support
742 bthidev* at bthub?
743
744 # Bluetooth Mouse
745 btms* at bthidev? reportid ?
746 wsmouse* at btms? mux 0
747
748 # Bluetooth Keyboard
749 btkbd* at bthidev? reportid ?
750 wskbd* at btkbd? console ? mux 1
751
752 # Bluetooth Apple Magic Mouse
753 btmagic* at bthub?
754 wsmouse* at btmagic? mux 0
755
756 # Bluetooth Audio support
757 btsco* at bthub?
758
759 # Cryptographic Devices
760
761 # PCI cryptographic devices
762 hifn* at pci? dev ? function ? # Hifn 7755/7811/795x
763 ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x
764
765 cinclude "arch/amd64/conf/GENERIC.local"
766
767 # Pseudo-Devices
768
769 #
770 # accept filters
771 pseudo-device accf_data # "dataready" accept filter
772 pseudo-device accf_http # "httpready" accept filter
773
774 pseudo-device crypto # /dev/crypto device
775 pseudo-device swcrypto # software crypto implementation
776
777 # disk/mass storage pseudo-devices
778 pseudo-device bio # RAID control device driver
779 pseudo-device ccd 4 # concatenated/striped disk devices
780 pseudo-device cgd 4 # cryptographic disk devices
781 pseudo-device raid 8 # RAIDframe disk driver
782 options RAID_AUTOCONFIG # auto-configuration of RAID components
783 # Options to enable various other RAIDframe RAID types.
784 #options RF_INCLUDE_EVENODD=1
785 #options RF_INCLUDE_RAID5_RS=1
786 #options RF_INCLUDE_PARITYLOGGING=1
787 #options RF_INCLUDE_CHAINDECLUSTER=1
788 #options RF_INCLUDE_INTERDECLUSTER=1
789 #options RF_INCLUDE_PARITY_DECLUSTERING=1
790 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
791 pseudo-device fss # file system snapshot device
792
793 pseudo-device md # memory disk device (ramdisk)
794 pseudo-device vnd # disk-like interface to files
795 pseudo-device putter # for puffs and pud
796 pseudo-device dm # device-mapper driver for LVM
797
798 # network pseudo-devices
799 pseudo-device bpfilter # Berkeley packet filter
800 pseudo-device ipfilter # IP filter (firewall) and NAT
801 pseudo-device loop # network loopback
802 pseudo-device ppp # Point-to-Point Protocol
803 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
804 pseudo-device sl # Serial Line IP
805 pseudo-device tap # virtual Ethernet
806 pseudo-device tun # network tunneling over tty
807 pseudo-device gre # generic L3 over IP tunnel
808 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
809 #pseudo-device faith # IPv[46] tcp relay translation i/f
810 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
811 pseudo-device vlan # IEEE 802.1q encapsulation
812 pseudo-device bridge # simple inter-network bridging
813 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
814 #pseudo-device pf # PF packet filter
815 #pseudo-device pflog # PF log if
816
817 # miscellaneous pseudo-devices
818 pseudo-device pty # pseudo-terminals
819 pseudo-device clockctl # user control of clock subsystem
820 pseudo-device ksyms # /dev/ksyms
821
822 # a pseudo device needed for Coda # also needs CODA (above)
823 pseudo-device vcoda 4 # coda minicache <-> venus comm.
824
825 # a pseudo device needed for SMBFS
826 pseudo-device nsmb # experimental - SMB requester
827
828 # wscons pseudo-devices
829 pseudo-device wsmux # mouse & keyboard multiplexor
830 pseudo-device wsfont
831
832 # userland interface to drivers, including autoconf and properties retrieval
833 pseudo-device drvctl
834
835 # xen pseudo-devices
836 pseudo-device xenevt
837 pseudo-device xvif
838 pseudo-device xbdback
839
840 options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
841 options PAX_ASLR=0 # PaX Address Space Layout Randomization
842