# Floating point support - do not disable.
device npx0 at nexus? port IO_NPX irq 13
npx0是FreeBSD上的數學浮點運算介面,不管你是採用包括實體的或是軟體模擬的
浮點運算處理器都需要它。
# Power management support (see LINT for more options)
device apm0 at nexus? disable flags 0x20 # Advanced Power Management
支援進階的電源管理(APM),對筆記型電腦很有助益。
# PCCARD (PCMCIA) support
#device card
#device pcic0 at isa? irq 0 port 0x3e0 iomem 0xd0000
#device pcic1 at isa? irq 0 port 0x3e2 iomem 0xd4000 disable
若你把FreeBSD安裝在筆記型電腦之上,把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
串列埠裝置。(
windows稱之為COM1、COM2、COM3、COM4)
通常COM3、COM4不會用到。
# Parallel port
device ppc0 at isa? irq 7
device ppbus # Parallel port bus (required)
並列埠裝置。
#device lpt # Printer
並列埠的印表機。
#device plip # TCP/IP over parallel
並列埠的網路介面
#device ppi # Parallel port interface device
並列埠的介面裝置 (我也沒有任何有關的介面..so # 掉)
#device vpo # Requires scbus and da
專門給Iomega Zip的支援 (我更沒有ZIP)
# PCI Ethernet NICs.
#device de # DEC/Intel DC21x4x (``Tulip‘‘)
#device em # Intel PRO/1000 adapter Gigabit Ethernet Card (``Wiseman‘‘)
#device txp # 3Com 3cR990 (``Typhoon‘‘)
#device vx # 3Com 3c590, 3c595 (``Vortex‘‘)
PCI的網路卡支援。選擇你有的PCI網卡型號,沒有的#掉。
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the ‘device miibus‘ line in order to use these NICs!
device miibus # MII bus support
#device dc # DEC/Intel 21143 and various workalikes
#device fxp # Intel EtherExpress PRO/100B (82557, 82558)
#device pcn # AMD Am79C97x 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 tx # SMC EtherPower II (83c170 ``EPIC‘‘)
#device vr # VIA Rhine, Rhine II
#device wb # Winbond W89C840F
#device xl # 3Com 3c90x (``Boomerang‘‘, ``Cyclone‘‘)
#device bge # Broadcom BCM570x (``Tigon III‘‘)
需要MII bus支援的PCI網路卡。
若你的網卡屬於這一區段,除了將網卡的裝置留著,務必要將miibus留著。
網卡的型號可以從dmesg | grep address中看出...否則您也可以從 LINT 中參考
以我來說,我的網卡是D-link 200 isa (ed)不屬於PCI 介面。
所以我將PCI全部#掉。但保留miibus因為ISA網卡需要。
# ISA Ethernet NICs.
# ‘device ed‘ requires ‘device miibus‘
device ed0 at isa? port 0x280 irq 10 iomem 0xd8000
#device ex
#device ep
#device fe0 at isa? port 0x300
ISA的網卡支援,注意到裝置ed仍需要先前的miibus裝置配合。
# Xircom Ethernet
#device xe
Xircom/Intel EtherExpress Pro100/16 的網路卡。
# PRISM I IEEE 802.11b wireless NIC.
#device awi
無線網卡。(筆記型電腦)
# 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
Lucent WaveLAN/IEEE 802.11 的PCMCIA網卡。(筆記型電腦)
# 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
Aironet 4500/4800 802.11 的無限網卡。(筆記型電腦)
# 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的乙太網卡。
請參照LINT取得詳細的網卡資訊。
# Pseudo devices - the number indicates how many units to allocate.
虛擬裝置。
pseudo-device loop # Network loopback
通常的loop裝置,當您用telnet或ftp localhost它就是經由此裝置
此為必需的。
pseudo-device ether # Ethernet support
當您有網路卡時才需要,它也包含基本的網路協定碼。
pseudo-device sl 1 # Kernel SLIP
支援SLIP,不過他以快要被PPP取代,s1後的數字表示,同時有多少SLIP連線被支援
pseudo-device ppp 1 # Kernel PPP
對撥接的PPP支援,ppp後的數字表示,同時有多少PPP連線被支援
pseudo-device tun # Packet tunnel.
被PPP所使用,tun後的數字表示,同時有多少PPP session被支援
pseudo-device pty # Pseudo-ttys (telnet etc)
虛擬終端機裝置,預設是16,最高可以達到256 (login port)
pseudo-device md # Memory "disks"
memory disk 虛擬裝置 與之前的MFS相呼應,不可單獨存在
pseudo-device gif # IPv6 and IPv4 tunneling
IPv4及IPv6間的的傳送通道
pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation)
抓取封包並使之轉向到IPv4/IPv6間的背景服務程式(daemon)
# The `bpf‘ pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device bpf #Berkeley packet filter
柏克萊的封包過濾器。(必須保留!)
及使網路卡處在不區分封包的模式,也能抓取每一封包。
這些封包能被抓取到磁碟或經由 tcpdump 程式解釋。
# USB support
#device uhci # UHCI PCI->USB interface
#device ohci # OHCI PCI->USB interface
#device usb # USB Bus (required)
#device ugen # Generic
#device uhid # "Human Interface Devices"
#device ukbd # Keyboard
#device ulpt # Printer
#device umass # Disks/Mass storage - Requires scbus and da
#device ums # Mouse
#device uscanner # Scanners
#device urio # Diamond Rio MP3 Player
USB的支援項目。
我都沒有USB,所以全部#掉。
# USB Ethernet, requires mii
#device aue # ADMtek USB ethernet
#device cue # CATC USB ethernet
#device kue # Kawasaki LSI USB ethernet
USB的網路卡。
我都沒有USB,所以全部#掉。
2.編修注意事項
將不要或沒有的的註解#,而非刪除,主要是要避免,
不小心誤刪裝置,或是臨時多加了額外的裝置,還要去查詢LINT的麻煩
.
分页: [
1] [
2] [
3]
TAG:
freebsd kernel 编译