或是vt220 。当连接到网络上许多不同 类型电脑时,这个驱动程式也常是很有用的,
这是因为许多的电脑上的termcap 或是terminfo 并不支持 sc0 —而vt100 的资料几乎
任何的平台上都支持。
# Power management support (see LINT for more options)
device apm0 at
nexus? disable flags 0x20 # Advanced Power Management
高级电源管理支持。多用在笔记本电脑上。
# PCCARD (PCMCIA) support
device card
device pcic0 at isa? irq 10 port
0x3e0 iomem 0xd0000
device pcic1 at isa? irq 11 port 0x3e2 iomem 0xd4000
disable
PCMCIA 支持。只用于笔记本电脑上。
# Serial (COM) ports
device sio0 at isa? port IO_COM1 flags 0x10 irq
4
device sio1 at isa? port IO_COM2 irq 3
device sio2 at isa? disable port
IO_COM3 irq 5
device sio3 at isa? disable port IO_COM4 irq 9
这四个串口,可看作是MS-DOS 系统中的COM1 到COM4 。
注意:假如您的内猫占用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
的连接,功能
也更强大。s1后面的数值配置系统支持多少个SLIP同时连接。
pseudo-device ppp 1 # Kernel PPP
使内核支持PPP 拨号连接。另外有一个tun 则是用户模式的PPP工具,tun 较有弹性且功能较多。
假如您要使 用这个PPP
驱动程式,请参考内核模式PPP 这一章节。ppp后面的数字配置系统
能支持几个PPP 同时连接。
pseudo-device tun # Packet tunnel.
文章整理:西部数码--专业提供域名注册、虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!




