- 论坛徽章:
- 0
|
怎样让fb6.2支持isa ne2000双网卡。
引自官方手册:类似 matcd 这样的一些驱动程序, 会由于无人维护或者其他一些原因而被删除。 其他一些仍然存在, 但由于其具有侵略性的检测方法而被默认禁用。 下面这些 ISA 设备驱动可以在启动加载器的第三步时启用: aha, ahv, aic, bt, ed, cs, sn, ie, fe, le, 以及 lnc。 要做到这一点, 在加载器进行 10 秒倒计时的时候将其中止, 并在提示符后输入:
unset hint.foo.0.disabled
将 foo 替换为驱动程序的名字就可以重新启用它们。 通过编辑文件 /boot/device.hints 并删去相应的 “disabled” 行可以使这一设置持久化。
解决办法:编译内核时要有这一项
device ed
注意:
编译内核时加入device ed0 at isa? disable port 0x280 irq 10 iomem 0xd8000现在这样做是通不过的。在6.x以前的版本中应该可以。
在/boot/loader.conf中加入
if_ed_load=”YES”
通过编辑文件 /boot/device.hints,加入下面的选项。前提是你必须知道你的网卡的port和irq值。
hint.ed.0.at="isa"
hint.ed.0.port="0x300"
hint.ed.0.irq="5"
hint.ed.0.maddr="0xd8000"
hint.ed.1.at="isa"
hint.ed.1.port="0x320"
hint.ed.1.irq="10"
hint.ed.1.maddr="0xd8000"
然后重启
#reboot
[ 本帖最后由 我自逍遥 于 2008-1-21 12:13 编辑 ] |
|