#device pcic1 at isa? irq 0 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
// COM1~COM4,预设COM3、COM4不会用到所以#掉
# Parallel port
// 平行埠
device ppc0 at isa? irq 7
// ISA-bus的平行埠介面
device ppbus # Parallel port bus (required)
// 平行埠bus支援
#device lpt # Printer
// 平行埠的印表机支援 (我没有印表机..so # 掉)
device plip # TCP/IP over parallel
// 平行埠的网路介面
#device ppi # Parallel port interface device
// 平行埠的介面装置 (我也没有任何有关的介面..so # 掉)
#device vpo # Requires scbus and da
// 这是专门给Iomega Zip的支援 (我更没有ZIP)
----------------------------------------------------------------------------
[第七部份]PCI 及ISA 网卡 设定
----------------------------------------------------------------------------
# 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
#device dc # DEC/Intel 21143 and various workalikes
#device pcn # AMD Am79C79x PCI 10/100 NICs
#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"")
// PCI的网路卡..选择您的网卡...其馀的# 掉
若您的网卡是这第二部份的..别忘了要将第一个miibus支援加上,像我一样 。
// 网卡的型号可以从dmesg中看出...否则您也可以从 LINT 中参考
# ISA Ethernet NICs.
#device ed0 at isa? port 0x280 irq 10 iomem 0xd8000
#device ex
#device ep
#device fe0 at isa? port 0x300
# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
# exists only as a PCMCIA device, so there is no ISA attatement 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 paremeters here.
#device an
# Xircom Ethernet
#device xe
# 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 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
// ISA的网卡...同样的选择您有的...没有的#掉 ...
同样的..您也可以参考/sur/src/sys/i386/conf/LINT 有详细的说明
----------------------------------------------------------------------------
[第八部份]虚拟装置、封包过滤器、USB的装置 设定
----------------------------------------------------------------------------
# Pseudo devices - the number indicates how many units to allocated.
pseudo-device loop # Network loopback
// 通常的loop装置,当您用telnet或ftp localhost它就是经由此装置
此为必需的 。
pseudo-device ether # Ethernet support
// 当您有网路卡时才需要,它也包含基本的网路协定码
推荐阅读
- 1 FreeBSD手册——配置FreeBSD内核
- FreeBSD编译内核详解
- 农药二次稀释 真的很重要
- FreeBSD命令 lastcomm介绍 3.实际操作
- 二三两的小鲤鱼怎么做好吃
- FreeBSD 4.0 Kernel Hacking Guide--vm/vm_page.c
- FreeBSD 5.3下安装Jail
- freebsd 权限的符号化表示
- FreeBSD和Linux共享swap区
- FreeBSD系统优化部分内核参数调整中文注释
