|
发表于 2005-1-15 16:17:01
|
显示全部楼层
freebsd 5.3的新内核配置文件:
CODE
machine i386cpu I586_CPUcpu I686_CPUident GENERICdevice pfdevice pflogdevice pfsyncoptions ALTQoptions ALTQ_CBQ# To statically compile in device wiring instead of /boot/device.hintsoptions PANIC_REBOOT_WAIT_TIME=0 #内核异常时立即重起options DEVICE_POLLING #改善网络响应时间options HZ=1000 #man 4 pollingoptions IPSTEALTH #支持秘密IP转发#options RANDOM_IP_ID #随机IP ID 阻止信息泄漏options TCP_DROP_SYNFIN #抛弃SYN+FIN包,阻止检测服务器options SCHED_4BSD # 4BSD scheduleroptions INET # InterNETworkingoptions FFS # Berkeley Fast Filesystemoptions SOFTUPDATES # Enable FFS soft updates supportoptions MD_ROOT # MD is a potential root deviceoptions PROCFS # Process filesystem (requires PSEUDOFS)options PSEUDOFS # Pseudo-filesystem frameworkoptions COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]options SYSVSHM # SYSV-style shared memoryoptions SYSVMSG # SYSV-style message queuesoptions SYSVSEM # SYSV-style semaphoresoptions _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensionsoptions KBD_INSTALL_CDEV # install a CDEV entry in /devdevice apic # I/O APIC# Bus support. Do not remove isa, even if you have no isa slotsdevice isadevice pci# ATA and ATAPI devicesdevice atadevice atadisk # ATA disk drivesoptions ATA_STATIC_ID # Static device numbering# SCSI peripheralsdevice scbus # SCSI bus (required for SCSI)device da # Direct Access (disks)# atkbdc0 controls both the keyboard and the PS/2 mousedevice atkbdc # AT keyboard controllerdevice atkbd # AT keyboarddevice vga # VGA video card driverdevice splash # Splash screen and screen saver support# syscons is the default console driver, resembling an SCO consoledevice sc# Floating point support - do not disable.device npx# Serial (COM) portsdevice sio # 8250, 16[45]50 based serial ports# PCI Ethernet NICs.device de # DEC/Intel DC21x4x (``Tulip'')device em # Intel PRO/1000 adapter Gigabit Ethernet Carddevice ixgb # Intel PRO/10GbE Ethernet Carddevice txp # 3Com 3cR990 (``Typhoon'')device vx # 3Com 3c590, 3c595 (``Vortex'')# 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 supportdevice bfe # Broadcom BCM440x 10/100 Ethernetdevice bge # Broadcom BCM570xx Gigabit Ethernetdevice dc # DEC/Intel 21143 and various workalikesdevice fxp # Intel EtherExpress PRO/100B (82557, 82558)device lge # Level 1 LXT1001 gigabit ethernetdevice nge # NatSemi DP83820 gigabit ethernetdevice pcn # AMD Am79C97x PCI 10/100 (precedence over 'lnc')device re # RealTek 8139C+/8169/8169S/8110Sdevice rl # RealTek 8129/8139device sf # Adaptec AIC-6915 (``Starfire'')device sis # Silicon Integrated Systems SiS 900/SiS 7016device sk # SysKonnect SK-984x & SK-982x gigabit Ethernetdevice ste # Sundance ST201 (D-Link DFE-550TX)device ti # Alteon Networks Tigon I/II gigabit Ethernetdevice tl # Texas Instruments ThunderLANdevice tx # SMC EtherPower II (83c170 ``EPIC'')device vge # VIA VT612x gigabit ethernetdevice vr # VIA Rhine, Rhine IIdevice wb # Winbond W89C840Fdevice xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')# ISA Ethernet NICs. pccard NICs included.device cs # Crystal Semiconductor CS89x0 NIC# 'device ed' requires 'device miibus'device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cardsdevice ex # Intel EtherExpress Pro/10 and Pro/10+device ep # Etherlink III based cardsdevice fe # Fujitsu MB8696x based cardsdevice ie # EtherExpress 8/16, 3C507, StarLAN 10 etc.device lnc # NE2100, NE32-VL Lance Ethernet cardsdevice sn # SMC's 9000 series of Ethernet chipsdevice xe # Xircom pccard Ethernet# ISA devices that use the old ISA shims#device le# Pseudo devices.device loop # Network loopbackdevice mem # Memory and kernel memory devicesdevice io # I/O devicedevice random # Entropy devicedevice ether # Ethernet supportdevice ppp # Kernel PPPdevice tun # Packet tunnel.device pty # Pseudo-ttys (telnet etc)device md # Memory "disks"device gif # IPv6 and IPv4 tunneling# The `bpf' device enables the Berkeley Packet Filter.# Be aware of the administrative consequences of enabling this!device bpf # Berkeley packet filter# USB supportdevice uhci # UHCI PCI->USB interfacedevice ohci # OHCI PCI->USB interfacedevice usb # USB Bus (required)device ugen # Genericdevice ukbd # Keyboarddevice umass # Disks/Mass storage - Requires scbus and dadevice ums # Mouseoptions NETGRAPH #netgraph(4) systemoptions NETGRAPH_ETHERoptions NETGRAPH_PPPOEoptions NETGRAPH_SOCKETdevice vlan # IEEE 802.1Q VLAN Support |
|