pseudo-device pf # pf防火墙设备
pseudo-device pflog # pf log设备
pseudo-device pfsync # pf sync if
pseudo-device enc 1 # option IPSEC needs the encapsulation interface
pseudo-device pty 64 # 默认伪终端设备
pseudo-device vnd 4 # vnd虚拟磁盘设备
pseudo-device ccd 4 # ccd设备,RAID必须
pseudo-device systrace 1 # systrace安全特性,允许对系统调用进行访问控制
pseudo-device bpfilter # packet filter
pseudo-device bridge # network bridging support
pseudo-device loop # network loopback
pseudo-device ppp # PPP
pseudo-device tun # network tunneling over tty
pseudo-device vlan # IEEE 802.1Q VLAN
option BOOT_CONFIG # add support for boot -c
#####################################################################
# /sys/conf/Genii
#####################################################################
# $OpenBSD: GENERIC,v 1.376 2004/07/20 20:30:09 dhartmei Exp $
#
# GENERIC -- everything that's currently supported
#
machine i386 # 系统硬件体系,必选
include "../../../conf/Genii" #包含全局特性配置文件
option I686_CPU # 系统对应的CPU体系
option USER_PCICONF # 用户PCI配置
option USER_LDT # user-settable LDT; see i386_set_ldt(2)
option APERTURE # XFree86支持
option DUMMY_NOPS # speed hack; recommended
option COMPAT_LINUX # binary compatibility with Linux
option COMPAT_FREEBSD # binary compatibility with FreeBSD
option COMPAT_AOUT # a.out binaries are emulated
maxusers 128 # estimated number of users
config bsd swap generic
mainbus0 at root
cpu0 at mainbus? apid ?
bios0 at mainbus0 apid ?
apm0 at bios0 flags 0x0000 # flags 0x0101 to force protocol version 1.1
pcibios0 at bios0 flags 0x0000 # use 0x30 for a total verbose
isa0 at mainbus0 # isa总线
isa0 at pcib?
isa0 at ichpcib? # Intel ICH芯片组
eisa0 at mainbus0 # eisa总线
pci* at mainbus0 bus ? # pci总线
option PCIVERBOSE
option EISAVERBOSE
option USBVERBOSE
pchb* at pci? dev ? function ? # PCI-Host bridges
ppb* at pci? dev ? function ? # PCI-PCI bridges
pci* at ppb? bus ?
pci* at pchb? bus ?
pcib* at pci? dev ? function ? # PCI-ISA bridge
ichpcib* at pci? dev ? function ? # Intel ICHx/ICHx-M LPC bridges
ehci* at pci? # Enhanced Host Controller
uhci* at pci? # Universal Host Controller (Intel芯片组)
ohci* at pci? # Open Host Controller (Apple,VIA等其他芯片组)
usb* at ehci?
usb* at uhci?
usb* at ohci?
uhub* at usb? # USB Hubs
uhub* at uhub? port ? configuration ? # USB Hubs
umass* at uhub? port ? configuration ? # USB Mass Storage devices
scsibus* at umass? # USB存储设备需要模拟SCSI总线
# 因此使用这一项同时需要打开SCSI、
# SCSI磁盘和SCSI-IDE桥的支持
uhidev* at uhub? port ? configuration ? interface ? # Human Interface Devices
ums* at uhidev? reportid ? # USB mouse
wsmouse* at ums? mux 0
ukbd* at uhidev? reportid ? # USB keyboard
wskbd* at ukbd? console ? mux 1
uhid* at uhidev? reportid ? # USB generic HID support
ugen* at uhub? port ? configuration ? # USB 通用设备
puc* at pci? # PCI "universal" communication device
npx0 at isa? port 0xf0 irq 13 # math coprocessor
isadma0 at isa?
isapnp0 at isa?
option WSDISPLAY_COMPAT_USL # VT handling
option WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
option WSDISPLAY_DEFAULTSCREENS=6
option WSDISPLAY_COMPAT_PCVT # emulate some ioctls
pckbc0 at isa? # PC keyboard controller
pckbd* at pckbc? # PC keyboard
pms* at pckbc? # PS/2 mouse for wsmouse
pmsi* at pckbc? # PS/2 "Intelli"mouse for wsmouse
vga0 at isa?
option PCIAGP # AGP设备支持
vga* at pci? dev ? function ?
pcdisplay0 at isa? # CGA, MDA, EGA, HGA
wsdisplay* at vga? console ?
wsdisplay* at pcdisplay? console ?
wskbd* at pckbd? console ?
wsmouse* at pms? mux 0
wsmouse* at pmsi? mux 0
pcppi0 at isa?
sysbeep0 at pcppi?
pccom0 at isa? port 0x3f8 irq 4 # standard PC serial ports
pccom1 at isa? port 0x2f8 irq 3
pccom2 at isa? port 0x3e8 irq 5
lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
bha0 at isa? port 0x330 irq ? drq ? # BusLogic [57]4X SCSI controllers
bha1 at isa? disable port 0x334 irq ? drq ? # BusLogic [57]4X SCSI controllers
bha2 at isa? disable port ? irq ?
bha* at pci? dev ? function ?
scsibus* at bha?
mpt* at pci? dev ? function ? # LSI Fusion-MPT SCSI/Fibre
scsibus* at mpt?
sd* at scsibus? target ? lun ? # SCSI disk drives,SCSI硬盘
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives,SCSI CDROM
uk* at scsibus? target ? lun ? # unknown SCSI,未知SCSI设备
fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
fd* at fdc? drive ? flags 0x00
pciide* at pci ? dev ? function ? flags 0x0000
wdc0 at isa? port 0x1f0 irq 14 flags 0x00
wdc1 at isa? port 0x170 irq 15 flags 0x00
wdc* at isapnp?
wd* at wdc? channel ? drive ? flags 0x0000
wd* at pciide? channel ? drive ? flags 0x0000
atapiscsi* at wdc? channel ?
atapiscsi* at pciide? channel ?
scsibus* at atapiscsi?
le* at pci? dev ? function ? # AMD PCNET32 网卡,Vmware需要
le* at isapnp?
pseudo-device mtrr 1 # Memory range attributes control
pseudo-device bio 1 # ioctl multiplexing device
pseudo-device hotplug 1 # devices hot plugging
pseudo-device wsmux 2
pseudo-device crypto 1
#####################################################################
默认安装的OpenBSD 3.6 通用内核/bsd (GENERIC)有5M多,根据自己的情况裁减之后,编译生成的内核只有2M了。
