options SYSVSHM #SYSV-style shared memory
此選項提供給System V 型態的shared memory(SHM) ...,最常用此選項功能的是 X 中的XSHM
若您要使用 X 請務必加上,此外許多有關圖形的程式也會因此選項功能而加速。
又者...big5con(中文console)也需要此選項。
options SYSVMSG #SYSV-style message queues
支援System V 的信號(semsphores),只佔用少量的kernel大小
options SYSVSEM #SYSV-style semaphores
支援System V 的訊息(messages),只佔用少量的kernel大小,BBS會用到此選項功能。
通常我們會將以上三種全部加上.....-__-||
以避免因為要裝個程式(big5con),而要重新修改kernel。
options P1003_1B #Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
Real-time extensions added in the POSIX(及時系統擴充),
某些應用程式會用到(star office)
options ICMP_BANDLIM #Rate limit bad replies
啟動ICMP對於錯誤回應的頻寬限制,對於幫助拒絕packet攻擊有所助益。
#options KBD_INSTALL_CDEV # install a CDEV entry in /dev
這個是某些鍵盤採用的驅動程式。
#options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~128k to driver.
ahc裝置,支援Adaptec 29/3940(U)(W)及AIC7870/AIC7880類型的主機板。
#options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~215k to driver.
ahd裝置,提供Adaptec 79xx Ultra320 的SCSI裝置。
# To make an SMP kernel, the next two are needed
#options SMP # Symmetric MultiProcessor Kernel
#options APIC_IO # Symmetric (APIC) I/O
多CPU的支援。
新版本的只要將此兩項打開,系統會自動抓到...^^
device isa
每個被FreeBSD支援的PC都必須要有這一個
device eisa
若您有EISA的主機板..加上它,會自動偵測及設定所有EISA裝置
device pci
若您有PCI的主機板..加上它,會自動偵測PCI的卡,並橋接PCI及ISA介面。
# Floppy drives
device fdc0 at isa? port IO_FD1 irq 6 drq 2
device fd0 at fdc0 drive 0
#device fd1 at fdc0 drive 1
軟碟的控制卡,fd0是A:,fd1是B:
因為我沒有第二個軟碟機,所以 # 掉 fd1
#
# If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy,
# don‘t use the above line for fdc0 but the following one:
#device fdc0
若你採用的軟碟是Toshiba的Y-E Data PCMCIA floppy,則將上面的fdc0開啟。
並將先前的fdc0註解。
# ATA and ATAPI devices
device ata0 at isa? port IO_WD1 irq 14
device ata1 at isa? port IO_WD2 irq 15
這兩個選項,是給那些沒有PCI的舊式系統使用。
device ata
偵測 PCI ATA&ATAPI的選項。
只需要這一行,系統會自動偵測新式的相關裝置。
device atadisk # ATA disk drives
IDE介面的硬碟機
device atapicd # ATAPI CDROM drives
IDE介面的光碟機
#device atapifd # ATAPI floppy drives
IDE介面的軟碟機 (我沒有..所以 # 掉)
#device atapist # ATAPI tape drives
IDE介面的磁帶機 (這....我更沒有...所以 # 掉)
options ATA_STATIC_ID #Static device numbering
讓控制器的編號固定,否則,則使用動態產生
# SCSI Controllers
#device ahb # EISA AHA1742 family
#device ahc # AHA2940 and onboard AIC7xxx devices
#device ahd # AHA39320/29320 and onboard AIC79xx devices
#device amd # AMD 53C974 (Tekram DC-390(T))
#device isp # Qlogic family
#device mpt # LSI-Logic MPT/Fusion
#device ncr # NCR/Symbios Logic
#device sym # NCR/Symbios Logic (newer chipsets)
#options SYM_SETUP_LP_PROBE_MAP=0x40
# Allow ncr to attach legacy NCR devices when
# both sym and ncr are configured
#device adv0 at isa?
#device adw
#device bt0 at isa?
#device aha0 at isa?
#device aic0 at isa?
#device ncv # NCR 53C500
#device nsp # Workbit Ninja SCSI-3
#device stg # TMC 18C30/18C50
SCSI的控制卡,若請選擇您有的型號,
請參照 LINT 說明...找找您的卡是屬於哪一種。
若您像我一樣沒有這種高級品,全部#了吧。
# SCSI peripherals
#device scbus # SCSI bus (required)
#device da # Direct Access (disks)
#device sa # Sequential Access (tape etc)
#device cd # CD
#device pass # Passthrough device (direct SCSI access)
SCSI的周邊設備,我連卡都沒有了...全部#掉~"~。
# RAID controllers interfaced to the SCSI subsystem
#device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID
#device dpt # DPT Smartcache - See LINT for options!
#device iir # Intel Integrated RAID
#device mly # Mylex AcceleRAID/eXtremeRAID
#device ciss # Compaq SmartRAID 5* series
多磁碟陣列接SCSI控制卡
# RAID controllers
#device aac # Adaptec FSA RAID, Dell PERC2/PERC3
#device aacp # SCSI passthrough for aac (requires CAM)
#device ida # Compaq Smart RAID
#device amr # AMI MegaRAID
#device mlx # Mylex DAC960 family
#device twe # 3ware Escalade
磁碟陣列卡(RAID CARD),這不能算是貴重物品了,是奢侈品!
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc0 at isa? port IO_KBD
鍵盤控制器(atkbdc)提供,鍵盤及滑鼠的I/O(輸入/輸出)服務。
若你有滑鼠或鍵盤,則需保留此裝置。
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
在開機時,顯示點陣圖影像,螢幕保護程式也需要此驅動程式。
# syscons is the default console driver, resembling an SCO console
device sc0 at isa? flags 0x100
FreeBSD預設的console驅動程式,類似SCO console。
絕大部分的全螢幕程式透過類似termcap的終端機函數資料庫存取console,
若當您在登入系統後,無法正確顯示全螢幕的畫面,
請將TERM 設定為scoansi。(export TERM=scoansi)
# 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)
.
分页: [
1] [
2] [
3]
TAG:
freebsd kernel 编译