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