手机站
网通分站
电信主站
密 码:
用户名:
当前位置 : 主页>操作系统>FreeBSD>列表

idled 介绍 (二)设定说明

来源:互联网 作者:west263.com 时间:2008-02-23
西部数码-全国虚拟主机10强!40余项虚拟主机管理功能,全国领先!双线多线虚拟主机南北访问畅通无阻!免费赠送企业邮局,.CN域名,自助建站480元起,免费试用7天,满意再付款! P4主机租用799元/月.月付免压金!

#device amr # AMI MegaRAID
#device mlx # Mylex DAC960 family
#device twe # 3ware Escalade
// 多磁碟阵列卡
请参照 LINT 说明...找找您的卡是属於哪一种...(我很穷..所以这..更不用说了..# 掉吧)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc0 at isa? port IO_KBD
// AT及PS/2的装置
这个被atkbd及psm所需要...也就是有atkbd就要有atkbdc0,psm亦然

device atkbd0 at atkbdc? irq 1 flags 0x1
// AT 84 键盘

device psm0 at atkbdc? irq 12
// PS/2的滑鼠

device vga0 at isa?
// 显示卡驱动程式

# splash screen/screen saver
pseudo-device splash
// 引人注目的启动萤幕(like microsoft windows),以及萤幕保护程式。

# syscons is the default console driver, resembling an SCO console
device sc0 at isa? flags 0x100
// FreeBSD预设的console驱动程式,类似SCO console ...

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device vt0 at isa?
#options XSERVER # support for X server on a vt console
#options FAT_CURSOR # start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options PCVT_SCANSET=2 # IBM keyboards are non-std
// VT220相容的console驱动程式,与VT100/102相容。
当您无法使用sc0时使用之(某些笔记型电脑),
在任何平台上VT100都可以执行。不过较少人使用... export TERM=vt100

# 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
// 支援进阶的电源管理,对笔记型电脑很有助益。
----------------------------------------------------------------------------
[第六部份]PCMICA、COM port、平行埠 设定
----------------------------------------------------------------------------
# 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
// 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

文章整理:西部数码--专业提供域名注册虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!