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