赞助连接

赞助连接

阅 读 文 章

FreeBSD内核定制参考

[来源:网上转载 () | 作者:网友() | 时间:2007-07-07 | 浏览:人次 ]


controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
# 软驱A
disk fd0 at fdc0 drive 0
# 软驱 B
# disk fd1 at fdc0 drive 1

## IDE 硬盘控制器
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
disk wd0 at wdc0 drive 0
disk wd1 at wdc0 drive 1

## 第二个 IDE 硬盘控制器, 有接第二个IDE控制器时才用
#controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr
#disk wd2 at wdc1 drive 0
#disk wd3 at wdc1 drive 1

## IDE(ATAPI 规格) 光驱
#options         ATAPI   #Enable ATAPI support for IDE bus
#options  ATAPI_STATIC
#device          wcd0    #IDE CD-ROM

## SCSI 控制卡, 请从 /sys/i386/conf/LINT 中读取详细说明
#controller ahc0
#controller ncr0
#controller bt0 at isa? port "IO_BT0" bio irq ? vector btintr
#controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
#controller ahc1 at isa? bio irq ? vector ahcintr
#controller ahb0 at isa? bio irq ? vector ahbintr
#controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
#controller aic0    at isa? port 0x340 bio irq 11 vector aicintr
#controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr
#controller nca1 at isa? port 0x350 bio irq 5 vector ncaintr
#controller sea0 at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr

## SCSI 总线支持, 使用 SCSI 必备的
#controller scbus0

## SCSI HD SCSI硬盘
#device sd0 #Only need one of these, the code dynamically grows

## SCSI CDROM SCSI光驱
#device cd0 #Only need one of these, the code dynamically grows

## SCSI tape SCSI磁带机
#device st0 #Only need one of these, the code dynamically grows

## SCSI optical disk (MO)  SCSI的MO驱动器
#device od0 #Only need one of these, the code dynamically grows

## SCSI media changers (Juke-Box)
#device ch0 #Only need one of these, the code dynamically grows

#------------------  用AT-总线的光驱 (非 ATAPI,现在很少了吧) ---------------
## Mitsumi CDROM  美上美光驱
#controller mcd0 at isa? port 0x300 bio irq 10 vector mcdintr

## SONY CDROM  索尼光驱
#controller scd0 at isa? port 0x230 bio

## Panasonic CDROM  松下光驱
#controller      matcd0  at isa? port ?

## QIC tape QIC磁带机
#device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr

## console 屏幕驱动程序, 这是必备的,少了启动不了
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr

## 调用 FPU 的机制, 无论有无 FPU 都要有, 都是必要的
device npx0 at isa? port "IO_NPX" irq 13 vector npxintr

## COM1 到 COM4  串口设备1-4
device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
论坛热门帖子: [lch203] 写得蛮好的linux学习笔记(10-21)
[黑马制造] 学习java的30个目标(10-19)
[笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19)
[udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18)
[沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18)
TAG标签: 参考 定制 ## isa port vector irq #options #device

上一篇:FreeBSD基础点滴

下一篇:增加 tty 的步骤

最新评论 共有0位网友发表了评论

发表评论

评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名:(注册)
密码:
验证码:
匿名发表

网站地图友情连接交流论坛网站投稿广告服务联系我们留言本站长统计
Some rights reserved: www.chmhome.com, 鄂ICP备07010232号 E-mail:chinakafei@live.com,QQ:552766
中国咖啡技术网(Chmhome):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.