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