热门关键字:  ubuntu  分区  Fedora  linux系统进程  函数

当前位置 :| 主页>Linux教程>内核研究>

OpenBSD内核配置

来源: 作者: 时间:2008-02-08 Tag: 点击:


#-- 数学协处理器,必选 (486DX以下系统此选项无效,需要打开GPL_MATH_EMULATE选项)
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
#pccom3 at isa? port 0x2e8 irq 9 # (conflicts with some video cards)
#ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial card
#ast1 at isa? port 0x2a0 irq 6 # 2nd AST 4-port serial card
#pccom* at ast? slave ?
#boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards
#pccom* at boca? slave ?
#addcom0 at isa? port 0x108 irq 5 # Addonics FlexPort
#pccom* at addcom? slave ?
#rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards
#pccom* at rtfps? slave ?
#hsq0 at isa? port 0x140 irq 10 # Hostess 4-port serial card
#pccom* at hsq? slave ?
#pccom* at pcmcia? function ? # PCMCIA modems/serial ports
#pccom* at isapnp?
#pccom* at puc? port ?

# option for using CD1400 handshaking for incoming data
# requires a special cable that exchanges the RTS and DTR lines
# options CY_HW_RTS
#cy0 at isa? iomem 0xd4000 irq 12 # ISA cyclom serial card
#cy* at pci? # PCI cyclom serial card
#cz* at pci? dev ? function ? # Cyclades-Z multi-port serial boards

#-- 并口
lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
#lpt1 at isa? port 0x278
#lpt2 at isa? port 0x3bc
#lpt* at puc? port ?

#-- 非标准协议的鼠标支持,LogitechBus和MicroSoft
#lms0 at isa? port 0x23c irq 5 # Logitech bus mouse
#lms1 at isa? port 0x238 irq 5
#mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
#mms1 at isa? port 0x238 irq 5

#wsmouse* at lms? mux 0
#wsmouse* at mms? mux 0

#-- Buslogic SCSI适配器,Vmware需要
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 ?
#bha* at eisa? slot ? # XXX eisa still runs in isa-compat
scsibus* at bha?

#-- 其他SCSI和RAID卡的支持
#aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI controllers
#aha1 at isa? port 0x334 irq ? drq ? # Adaptec 154[02] SCSI controllers
#aha* at isapnp?
#scsibus* at aha?
#ahb* at eisa? slot ? # Adaptec 174[024] SCSI controllers
#scsibus* at ahb?
#ahc0 at isa? port ? irq ? # Adaptec 284x SCSI controllers
#ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI controllers
#ahc* at pci? dev ? function ? # Adaptec 2940/3940/78?? SCSI controllers
#scsibus* at ahc?
#ahd* at pci? dev ? function ? # Adaptec 79?? SCSI controllers
#scsibus* at ahd?

#-- LSI SCSI适配器,Vmware需要
mpt* at pci? dev ? function ? # LSI Fusion-MPT SCSI/Fibre
scsibus* at mpt?

#-- 其他SCSI和RAID卡的支持
#dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID PCI
#dpt* at eisa? slot ? # DPT SmartCache/SmartRAID EISA
#scsibus* at dpt?
#gdt* at pci? dev ? function ? # ICP Vortex GDT RAID controllers
#scsibus* at gdt?
#twe* at pci? dev ? function ? # 3ware Escalade RAID controllers
#scsibus* at twe?
#aac* at pci? dev ? function ? # Adaptec FSA RAID controllers
#scsibus* at aac?
#ami* at pci? dev ? function ? # AMI MegaRAID controllers
#scsibus* at ami?
#cac* at pci? dev ? function ? # Compaq Smart ARRAY RAID controllers
#cac* at eisa? slot ?
#scsibus* at cac?
#iha* at pci? dev ? function ? # Initio Ultra/UltraWide SCSI controllers
#scsibus* at iha?
#isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel
#scsibus* at isp?
#aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI controllers
#aic* at pcmcia? function ? # PCMCIA based aic SCSI controllers
#aic* at isapnp? # isapnp configured aic SCSI controllers
#scsibus* at aic?
#esp* at pcmcia? function ? # PCMCIA based NCR 53C9X SCSI
#scsibus* at esp?
#ncr* at pci? dev ? function ? # NCR 538XX SCSI controllers(old)
#scsibus* at ncr?
#siop* at pci? dev ? function ? # NCR 538XX SCSI controllers(new)
#scsibus* at siop?
#adv* at pci? dev ? function ? # AdvanSys 1200A/B and ULTRA SCSI
#scsibus* at adv?
#adw* at pci? dev ? function ? # AdvanSys ULTRA WIDE SCSI
#scsibus* at adw?
#pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI
#scsibus* at pcscp?
#sea0 at isa? disable iomem 0xc8000 irq 5 # Seagate ST0[12] SCSI controllers
#scsibus* at sea?
#trm* at pci? dev ? function ? # Tekram DC-3x5U SCSI Controllers
#scsibus* at trm?
#uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI controllers
#uha1 at isa? disable port 0x334 irq ? drq ? # UltraStor [13]4f SCSI controllers
#uha* at eisa? slot ? # UltraStor 24f SCSI controllers
#scsibus* at uha?
#wds0 at isa? disable port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers
##wds1 at isa? port 0x358 irq 11 drq 5
#scsibus* at wds?

#-- SCSI设备支持
sd* at scsibus? target ? lun ? # SCSI disk drives,SCSI硬盘
#st* at scsibus? target ? lun ? # SCSI tape drives,SCSI磁带机
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives,SCSI CDROM
#ch* at scsibus? target ? lun ? # SCSI autochangers,SCSI光盘塔?
#ss* at scsibus? target ? lun ? # SCSI scanners,SCSI扫描仪
uk* at scsibus? target ? lun ? # unknown SCSI,未知SCSI设备

#-- 软盘驱动器
fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
#fdc1 at isa? port 0x370 irq ? drq ?
fd* at fdc? drive ? flags 0x00

#-- 老式Mitsumi CDROM驱动
#mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives

#-- IDE 控制器
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 pcmcia? function ? # PCMCIA硬盘,此行需注释
wdc* at isapnp?

#-- IDE 硬盘
wd* at wdc? channel ? drive ? flags 0x0000
wd* at pciide? channel ? drive ? flags 0x0000

# ATAPI<->SCSI 桥接模拟
atapiscsi* at wdc? channel ?
atapiscsi* at pciide? channel ?
scsibus* at atapiscsi?

#wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives

#-- 网络设备
#we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC 80x3 ethernet
#we1 at isa? port 0x300 iomem 0xcc000 irq 10 #
#we2 at isa? port 0x280 iomem 0xd0000 irq 3 # WD/SMC 80x3 ethernet
#we* at isapnp?
#ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # ISA接口,3COM 3C503 ethernet
#ne0 at isa? port 0x240 irq 9 # *ISA接口,NE[12]000 ethernet
#ne1 at isa? port 0x300 irq 10 # *ISA接口,NE[12]000 ethernet
#ne2 at isa? port 0x280 irq 9 # ISA接口,NE[12]000 ethernet
#ne* at isapnp? # ISA接口,NE[12]000 PnP ethernet
#eg0 at isa? disable port 0x310 irq 5 # 3C505/Etherlink+ ethernet
#el0 at isa? disable port 0x300 irq 9 # 3C501 ethernet
#ep0 at isa? port ? irq ? # 3C509 ethernet
#ep* at isapnp? # *ISA接口,3C509 PnP ethernet
#ep* at isa? port ? irq ? # *ISA接口,3C509 ethernet
#ef* at isapnp? # 3C515 PnP ethernet
#ie0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN and 3C507
#ie1 at isa? port 0x300 irq 10 # EtherExpress
#lc0 at isa? port 0x200 irq ? # DEC EtherWorks
#lc1 at isa? port 0x280 irq ? # DEC EtherWorks
#le0 at isa? port 0x360 irq 15 drq 6 # IsoLan, NE2100, and DEPCA
#ex0 at isa? port 0x320 irq 5 # Intel EtherExpress PRO/10
#tr0 at isa? port 0xa20 iomem 0xd8000 irq ? # IBM TROPIC based Token-Ring
#tr1 at isa? port 0xa24 iomem 0xd0000 irq ? # IBM TROPIC based Token-Ring
#tr* at isa? port ? irq ? # 3COM TROPIC based Token-Ring
#ep0 at eisa? slot ?
#ep* at eisa? slot ? # 3C579 ethernet
#fea* at eisa? slot ? # DEC DEFEA FDDI
#lmc* at pci? dev ? function ? # Lan Media Corp SSI/T3/HSSI
#san* at pci? dev ? function ? # Sangoma PCI AFT card
le* at pci? dev ? function ? # *AMD PCNET32 网卡,Vmware需要
le* at isapnp?
#de* at pci? dev ? function ? # *PCI接口,DC21X4X 网卡,M$ VirtualPC需要
#fxp* at pci? dev ? function ? # *PCI接口,Intel EEpro10/100 (Intel 8255x芯片)
#fxp* at cardbus? dev ? function ? # *PCMCIA接口,Intel PRO/100 ethernet
#ne* at pci? dev ? function ? # *PCI接口,NE2000-compat ethernet
#ep0 at pci? dev ? function ? # 3C59x ethernet
#ep* at pci? dev ? function ? # 3C59x ethernet
#ne* at pcmcia? function ? # PCMCIA based NE2000 ethernet
#ep* at pcmcia? function ? # PCMCIA based 3C5xx ethernet
#sm* at pcmcia? function ? # PCMCIA based sm ethernet
#xe* at pcmcia? function ? # PCMCIA接口,Xircom ethernet
#fpa* at pci? dev ? function ? # DEC DEFPA FDDI
#xl* at pci? dev ? function ? # 3C9xx ethernet
#xl* at cardbus? dev ? function ? # 3C575/3C656 ethernet
#rl* at pci? dev ? function ? # *PCI接口,RealTek 81[23]9 ethernet
#rl* at cardbus? dev ? function ? # *PCI接口,RealTek 81[23]9 ethernet
#mtd* at pci? dev ? function ? # Myson MTD800/803/891
#tx* at pci? dev ? function ? # SMC 83C170 EPIC ethernet
#tl* at pci? dev ? function ? # Compaq Thunderlan ethernet
#vr* at pci? dev ? function ? # PCI接口,VIA Rhine(VIA 690*芯片) ethernet
#wb* at pci? dev ? function ? # Winbond W89C840F ethernet
#sf* at pci? dev ? function ? # Adaptec AIC-6915 ethernet
#sis* at pci? dev ? function ? # SiS 900/7016 ethernet
#ste* at pci? dev ? function ? # Sundance ST201 ethernet
#dc* at pci? dev ? function ? # PCI接口,DEC 21143, "tulip" clone ethernet
#dc* at cardbus? dev ? function ? # PCI接口,DEV 21143, "tulip" clone ethernet
#ti* at pci? dev ? function ? # Alteon Tigon 1Gb ethernet
#skc* at pci? dev ? function ? # SysKonnect GEnesis 984x
#sk* at skc? # each port of above
#em* at pci? dev ? function ? # *Intel Pro/1000 ethernet,Intel EEpro 1000
#txp* at pci? dev ? function ? # *3com 3CR990
#nge* at pci? dev ? function ? # NS DP83820/DP83821 GigE
#bge* at pci? dev ? function ? # *Broadcom BCM570x (aka Tigon3)
#re* at pci? dev ? function ? # *Realtek 8169/8169S/8110S
#stge* at pci? dev ? function ? # Sundance TC9021 GigE
#lge* at pci? dev ? function ? # Level1 LXT1001 GigE
#hme* at pci? dev ? function ? # Sun Happy Meal
#bce* at pci? dev ? function ? # Broadcom BCM4401

#-- 无线网卡
#atw* at pci? dev ? function ? # ADMtek ADM8211 (802.11)
#atw* at cardbus? dev ? function ? # ADMtek ADM8211 (802.11)
#wi* at pci? dev ? function ? # *WaveLAN IEEE 802.11DS
#wi* at pcmcia? function ? # *WaveLAN IEEE 802.11DS
#awi* at pcmcia? function ? # Bay Networks IEEE 802.11FH
#an* at pci? dev ? function ? # *Aironet IEEE 802.11DS
#an* at isapnp? # *Aironet IEEE 802.11DS
#an* at pcmcia? function ? # *Aironet IEEE 802.11DS
#cnw* at pcmcia? function ? # Xircom Netwave
#ray* at pcmcia? function ? # Raylink Aviator2.4/Pro 802.11FH

#-- MII类型网卡
#exphy* at mii? phy ? # 3Com internal PHYs
#inphy* at mii? phy ? # Intel 82555 PHYs
#iophy* at mii? phy ? # Intel 82553 PHYs
#icsphy* at mii? phy ? # ICS 1890 PHYs
#lxtphy* at mii? phy ? # Level1 LXT970 PHYs
#nsphy* at mii? phy ? # NS and compatible PHYs
#nsphyter* at mii? phy ? # NS and compatible PHYs
#qsphy* at mii? phy ? # Quality Semi QS6612 PHYs
#sqphy* at mii? phy ? # Seeq 8x220 PHYs
#rlphy* at mii? phy ? # RealTek 8139 internal PHYs
#mtdphy* at mii? phy ? # Myson MTD972 PHYs
#dcphy* at mii? phy ? # Digital Clone PHYs
#acphy* at mii? phy ? # Altima AC101 PHYs
#amphy* at mii? phy ? # AMD 79C873 PHYs
#tqphy* at mii? phy ? # TDK 78Q212x PHYs
#bmtphy* at mii? phy ? # Broadcom 10/100 PHYs
#brgphy* at mii? phy ? # Broadcom Gigabit PHYs
#eephy* at mii? phy ? # Marvell 88E1000 series PHY
#xmphy* at mii? phy ? # XaQti XMAC-II PHYs
#nsgphy* at mii? phy ? # NS gigabit PHYs
#urlphy* at mii? phy ? # Realtek RTL8150L internal PHY
#rgephy* at mii? phy ? # Realtek 8169S/8110S PHY
#ukphy* at mii? phy ? # "unknown" PHYs

#-- 声卡驱动支持
#pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System
#sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver

#eap* at pci? dev ? function ? # Ensoniq AudioPCI S5016
#eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive
#sv* at pci? dev ? function ? # S3 SonicVibes (S3 617)
#neo* at pci? dev ? function ? # NeoMagic 256AV/ZX
#cmpci* at pci? dev ? function ? # C-Media CMI8338/8738
#auich* at pci? dev ? function ? flags 0x0000 # i82801 ICH AC'97 audio
#autri* at pci? dev ? function ? flags 0x0000 # Trident 4D WAVE
#auvia* at pci? dev ? function ? # VIA VT82C686A
#clcs* at pci? dev ? function ? # CS4280 CrystalClear audio
#clct* at pci? dev ? function ? # CS4281 CrystalClear audio
#fms* at pci? dev ? function ? # Forte Media FM801
#maestro* at pci? dev ? function ? # ESS Maestro PCI
#esa* at pci? dev ? function ? # ESS Maestro3 PCI
#yds* at pci? dev ? function ? flags 0x0000 # Yamaha YMF Audio
#emu* at pci? dev ? function ? # SB Live!
#sb0 at isa? port 0x220 irq 5 drq 1 # SoundBlaster
#sb* at isapnp?
#ess* at isapnp? # ESS Tech ES188[78], ES888
#wss0 at isa? port 0x530 irq 10 drq 0 # Windows Sound System
#wss* at isapnp?
#pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum
#gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis (drq2 is record drq)
#ym* at isapnp?
#mpu* at isapnp?
#mpu* at isa? port 0x300 # generic MPU, Yamaha SW60XG
##aria0 at isa? port 0x280 irq 10 drq 0 flags 0x1 # Prometheus Aria 16

# OPL[23] FM synthesizers
#opl0 at isa? port 0x388 # use only if not attached to sound card
#opl* at eso?
#opl* at sb?
#opl* at ess?
#opl* at yds?

# MIDI support
#midi* at pcppi? # MIDI interface to the PC speaker
#midi* at sb? # SB MPU401 port
#midi* at opl? # OPL FM synth
#midi* at ym?
#midi* at mpu?
#midi* at autri?

# The spkr driver provides a simple tone interface to the built in speaker.
#spkr0 at pcppi? # PC speaker

# Audio Support
#audio* at sb?
#audio* at gus?
#audio* at pas?
#audio* at sp?
#audio* at ess?
#audio* at wss?
#audio* at ym?
#audio* at eap?
#audio* at eso?
#audio* at sv?
#audio* at neo?
#audio* at cmpci?
#audio* at clcs?
#audio* at clct?
#audio* at auich?
#audio* at autri?
#audio* at auvia?
#audio* at fms?
#audio* at maestro?
#audio* at esa?
#audio* at yds?
#audio* at emu?

#bktr0 at pci? dev ? function ?

#-- FM-Radio无线电设备
#gtp* at pci? dev ? function ? # Gemtek/Guillemot Radio PCI Radio Card
#sfr0 at isa? port 0x384 # SoundForte RadioLink SF16-FMR FM Radio Card
#sf2r0 at isa? port 0x384 # SoundForte RadioLink SF16-FMR2 FM Radio Card
#az0 at isa? port 0x350 # Aztech/PackardBell FM Radio Card
#rt0 at isa? port 0x30c # AIMS Lab Radiotrack FM Radio Card
#rt* at isapnp?
#rtii0 at isa? port 0x30c # AIMS Lab Radiotrack II FM Radio Card

# FM-Radio support
#radio* at bktr?
#radio* at fms?
#radio* at gtp?
#radio* at sfr?
#radio* at sf2r?
#radio* at az?
#radio* at rt?
#radio* at rtii?

#-- 游戏杆设备
#joy0 at isa? port 0x201
#joy* at isapnp?

#wdt0 at pci? dev ? function ? # Ind Computer Source PCI-WDT50x driver


相关文章:
精通initramfs构建step by step
Linux利用kexec迅速切换内核
进程上下文VS中断上下文
内核通知链 学习笔记
linux spi子系统驱动分析
menuconfig 配置选项
《Linux操作系统内核实习》之练习一
udev详解
什么叫微内核,宏内核?
Linux 信号signal处理机制
开发简单的 Linux2.6 内核模块
删除内核的perl脚本
Linux2.6内核usb gadget驱动移植
GCC hacks in the Linux kernel
iomem
kernel学习的想法
让自己的驱动支持udev
linux内核编译步骤
内核的等待队列
Linux内核wait_queue深入分析
升级和删除内核
SD卡驱动分析2
Linux Kernel VDSO本地权限提升漏洞
内核中的TCP的追踪分析-15-TCP(IPV4)的客户端与
linux 2.6内核可加载模块的编译
内核模块HelloWorld
在环回接口上发送一个数据报
ARP初始化
1分钟编译FreeBSD内核
linux设备模型之uart驱动架构分析