注意:如果你的内猫占用COM4,并且串口占用COM2,则你必须修改调制解调器的IRQ
为2(IRQ 2 跟IRQ 9 是 一样的),这样你才能在freebsd中正常使用调制解调器 。
如果你用的时multiport的串口卡,则应该参考sio的 man手册 。部分显示卡(特别
是使用S3 芯片的),用到I/O 地址0x*2e8,而一些便宜的串行卡,不能正确译码
16 位的I/O 寻址空间,因此它们会冲突,导致COM4 无法正常使用 。
每个串行口都要有一个唯一的IRQ(除非你用的时支持共享中断的multiport卡),
所以COM3 与COM4 默认的 IRQ 无法使用 。
# Parallel port
device ppc0 at isa? irq 7
ISA总线 并行接口
device ppbus # Parallel port bus (required)
提供并行总线的支持 。
device lpt # Printer
提供并口打印机的支持 。
注意: 要使用并口打印机,就必须同时加入上面三行设置 。
device plip # TCP/IP over parallel
提供并行网络接口的支持 。
device ppi # Parallel port interface device
普通用途的I/O (“geek port”)IEEE1284 I/O。
#device vpo # Requires scbus and da
这是针对Iomega Zip 驱动器的 。它要求scbus 和da 的支持 。工作在EPP 1.9 模式执行效果最好 。
# PCI Ethernet NICs.
device de # DEC/Intel DC21x4x (``Tulip"")
device fxp # Intel EtherExpress PRO/100B (82557, 82558)
device tx # SMC 9432TX (83c170 ``EPIC"")
device vx # 3Com 3c590, 3c595 (``Vortex"")
device wx # Intel Gigabit Ethernet Card (``Wiseman"")
多种PCI 网卡驱动器 。注释或删除在你系统中没有的设备 。
# PCI Ethernet NICs that use the common MII bus controller code.
device miibus # MII bus support
MII总线支持,对于部分PCI 10/100 Ethernet 网卡来说是必需的,也就是那些使用类似MII
传输方式操作的 网卡 。加miibus驱动到内核配置中,以实现对普通miibus API的支持及所有
的PHY驱动,包括一种不能被特 定驱动明确处理的PHY的通用驱动 。
device dc # DEC/Intel 21143 and various workalikes
device rl # RealTek 8129/8139
device sf # Adaptec AIC-6915 (``Starfire"")
device sis # Silicon Integrated Systems SiS 900/SiS 7016
device ste # Sundance ST201 (D-Link DFE-550TX)
device tl # Texas Instruments ThunderLAN
device vr # VIA Rhine, Rhine II
device wb # Winbond W89C840F
device xl # 3Com 3c90x (``Boomerang"", ``Cyclone"")
驱动,使用MII 总线控制器代码 。
# ISA Ethernet NICs.
device ed0 at isa? port 0x280 irq 10 iomem 0xd8000
device ex
device ep
# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
# exists only as a PCMCIA device, so there is no ISA attachment needed
# and resources will always be dynamically assigned by the pccard code.
device wi
# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
# mode (the factory default). If you set the switches on your ISA
# card for a manually chosen I/O address and IRQ, you must specify
# those parameters here.
device an
# The probe order of these is presently determined by i386/isa/isa_compat.c.
device ie0 at isa? port 0x300 irq 10 iomem 0xd0000
device fe0 at isa? port 0x300
device le0 at isa? port 0x300 irq 5 iomem 0xd0000
device lnc0 at isa? port 0x280 irq 10 drq 0
device cs0 at isa? port 0x300
device sn0 at isa? port 0x300 irq 10
# requires PCCARD (PCMCIA) support to be activated
#device xe0 at isa?
ISA 以太网驱动器 。看看/usr/src/sys/i386/conf/LINT 了解一下哪个卡被哪个驱动所支持 。
pseudo-device ether # Ethernet support
仅有以太网卡时才需要 。它包含了通用的以太网协议代码 。
pseudo-device sl 1 # Kernel SLIP
Sl 是对SLIP 提供支持的 。这已经完全被PPP 所代替,ppp更易于配置,更适合modem-to-modem
推荐阅读
- FreeBSD 下的TOP的使用方法
- 关于FreeBSD 5优化的补充
- FreeBSD下也有“看门人”--浅谈tcpwrapper的基本使用方法
- FreeBSD5.3进行CVSup升级不成功的问题
- 在FREEBSD 5中使用MRTG画出Packet图表
- 安装FreeBSD出错之后,Windows2003找不到磁盘分区的处理
- FreeBSD 上使用Kerberos 5认证
- FreeBSD上的软件安装方法
- 用FreeBSD5.3建立安全网关,ADSL+FreeBSD+ipfilter+ipnat
- FreeBSD如何跑diskless
