📄 kernelconfig-config.html
字号:
device trm # Tekram DC395U/UW/F DC315U adaptersdevice adv # Advansys SCSI adaptersdevice adw # Advansys wide SCSI adaptersdevice aha # Adaptec 154x SCSI adaptersdevice aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.device bt # Buslogic/Mylex MultiMaster SCSI adaptersdevice ncv # NCR 53C500device nsp # Workbit Ninja SCSI-3device stg # TMC 18C30/18C50</pre><p>SCSI controllers. Comment out any you do not have in your system. If you have an IDEonly system, you can remove these altogether.</p><pre class="PROGRAMLISTING"># SCSI peripheralsdevice scbus # SCSI bus (required for SCSI)device ch # SCSI media changersdevice da # Direct Access (disks)device sa # Sequential Access (tape etc)device cd # CDdevice pass # Passthrough device (direct SCSI access)device ses # SCSI Environmental Services (and SAF-TE)</pre><p>SCSI peripherals. Again, comment out any you do not have, or if you have only IDEhardware, you can remove them completely.</p><div class="NOTE"><blockquote class="NOTE"><p><b>Note:</b> The USB <ahref="http://www.FreeBSD.org/cgi/man.cgi?query=umass&sektion=4"><spanclass="CITEREFENTRY"><span class="REFENTRYTITLE">umass</span>(4)</span></a> driver (and afew other drivers) use the SCSI subsystem even though they are not real SCSI devices.Therefore make sure not to remove SCSI support, if any such drivers are included in thekernel configuration.</p></blockquote></div><pre class="PROGRAMLISTING"># RAID controllers interfaced to the SCSI subsystemdevice amr # AMI MegaRAIDdevice asr # DPT SmartRAID V, VI and Adaptec SCSI RAIDdevice ciss # Compaq Smart RAID 5*device dpt # DPT Smartcache III, IV - See NOTES for optionsdevice iir # Intel Integrated RAIDdevice ips # IBM (Adaptec) ServeRAIDdevice mly # Mylex AcceleRAID/eXtremeRAIDdevice twa # 3ware 9000 series PATA/SATA RAID# RAID controllersdevice aac # Adaptec FSA RAIDdevice aacp # SCSI passthrough for aac (requires CAM)device ida # Compaq Smart RAIDdevice mlx # Mylex DAC960 familydevice pst # Promise Supertrak SX6000device twe # 3ware ATA RAID</pre><p>Supported RAID controllers. If you do not have any of these, you can comment them outor remove them.</p><pre class="PROGRAMLISTING"># atkbdc0 controls both the keyboard and the PS/2 mousedevice atkbdc # AT keyboard controller</pre><p>The keyboard controller (<var class="LITERAL">atkbdc</var>) provides I/O services forthe AT keyboard and PS/2 style pointing devices. This controller is required by thekeyboard driver (<var class="LITERAL">atkbd</var>) and the PS/2 pointing device driver(<var class="LITERAL">psm</var>).</p><pre class="PROGRAMLISTING">device atkbd # AT keyboard</pre><p>The <var class="LITERAL">atkbd</var> driver, together with <varclass="LITERAL">atkbdc</var> controller, provides access to the AT 84 keyboard or the ATenhanced keyboard which is connected to the AT keyboard controller.</p><pre class="PROGRAMLISTING">device psm # PS/2 mouse</pre><p>Use this device if your mouse plugs into the PS/2 mouse port.</p><pre class="PROGRAMLISTING">device vga # VGA video card driver</pre><p>The video card driver.</p><pre class="PROGRAMLISTING"># splash screen/screen saverdevice splash # Splash screen and screen saver support</pre><p>Splash screen at start up! Screen savers require this too. Use the line <varclass="LITERAL">pseudo-device splash</var> with FreeBSD 4.X.</p><pre class="PROGRAMLISTING"># syscons is the default console driver, resembling an SCO consoledevice sc</pre><p><var class="LITERAL">sc</var> is the default console driver and resembles a SCOconsole. Since most full-screen programs access the console through a terminal databaselibrary like <tt class="FILENAME">termcap</tt>, it should not matter whether you use thisor <var class="LITERAL">vt</var>, the <var class="LITERAL">VT220</var> compatible consoledriver. When you log in, set your <tt class="ENVAR">TERM</tt> variable to <varclass="LITERAL">scoansi</var> if full-screen programs have trouble running under thisconsole.</p><pre class="PROGRAMLISTING"># Enable this for the pcvt (VT220 compatible) console driver#device vt#options XSERVER # support for X server on a vt console#options FAT_CURSOR # start with block cursor</pre><p>This is a VT220-compatible console driver, backward compatible to VT100/102. It workswell on some laptops which have hardware incompatibilities with <varclass="LITERAL">sc</var>. Also set your <tt class="ENVAR">TERM</tt> variable to <varclass="LITERAL">vt100</var> or <var class="LITERAL">vt220</var> when you log in. Thisdriver might also prove useful when connecting to a large number of different machinesover the network, where <tt class="FILENAME">termcap</tt> or <ttclass="FILENAME">terminfo</tt> entries for the <var class="LITERAL">sc</var> device areoften not available -- <var class="LITERAL">vt100</var> should be available on virtuallyany platform.</p><pre class="PROGRAMLISTING"># Power management support (see NOTES for more options)#device apm</pre><p>Advanced Power Management support. Useful for laptops, although in FreeBSD 5.X andabove this is disabled in <tt class="FILENAME">GENERIC</tt> by default.</p><pre class="PROGRAMLISTING"># Add suspend/resume support for the i8254.device pmtimer</pre><p>Timer device driver for power management events, such as APM and ACPI.</p><pre class="PROGRAMLISTING"># PCCARD (PCMCIA) support# PCMCIA and cardbus bridge supportdevice cbb # cardbus (yenta) bridgedevice pccard # PC Card (16-bit) busdevice cardbus # CardBus (32-bit) bus</pre><p>PCMCIA support. You want this if you are using a laptop.</p><pre class="PROGRAMLISTING"># Serial (COM) portsdevice sio # 8250, 16[45]50 based serial ports</pre><p>These are the serial ports referred to as <tt class="DEVICENAME">COM</tt> ports in the<span class="TRADEMARK">MS-DOS</span>/<span class="TRADEMARK">Windows</span>®world.</p><div class="NOTE"><blockquote class="NOTE"><p><b>Note:</b> If you have an internal modem on <tt class="DEVICENAME">COM4</tt> and aserial port at <tt class="DEVICENAME">COM2</tt>, you will have to change the IRQ of themodem to 2 (for obscure technical reasons, IRQ2 = IRQ 9) in order to access it fromFreeBSD. If you have a multiport serial card, check the manual page for <ahref="http://www.FreeBSD.org/cgi/man.cgi?query=sio&sektion=4"><spanclass="CITEREFENTRY"><span class="REFENTRYTITLE">sio</span>(4)</span></a> for moreinformation on the proper values to add to your <ttclass="FILENAME">/boot/device.hints</tt>. Some video cards (notably those based on S3chips) use IO addresses in the form of <var class="LITERAL">0x*2e8</var>, and since manycheap serial cards do not fully decode the 16-bit IO address space, they clash with thesecards making the <tt class="DEVICENAME">COM4</tt> port practically unavailable.</p><p>Each serial port is required to have a unique IRQ (unless you are using one of themultiport cards where shared interrupts are supported), so the default IRQs for <ttclass="DEVICENAME">COM3</tt> and <tt class="DEVICENAME">COM4</tt> cannot be used.</p></blockquote></div><pre class="PROGRAMLISTING"># Parallel portdevice ppc</pre><p>This is the ISA-bus parallel port interface.</p><pre class="PROGRAMLISTING">device ppbus # Parallel port bus (required)</pre><p>Provides support for the parallel port bus.</p><pre class="PROGRAMLISTING">device lpt # Printer</pre><p>Support for parallel port printers.</p><div class="NOTE"><blockquote class="NOTE"><p><b>Note:</b> All three of the above are required to enable parallel printersupport.</p></blockquote></div><pre class="PROGRAMLISTING">device plip # TCP/IP over parallel</pre><p>This is the driver for the parallel network interface.</p><pre class="PROGRAMLISTING">device ppi # Parallel port interface device</pre><p>The general-purpose I/O (``geek port'') + IEEE1284 I/O.</p><pre class="PROGRAMLISTING">#device vpo # Requires scbus and da</pre><p>This is for an Iomega Zip drive. It requires <var class="LITERAL">scbus</var> and <varclass="LITERAL">da</var> support. Best performance is achieved with ports in EPP 1.9mode.</p><pre class="PROGRAMLISTING">#device puc</pre><p>Uncomment this device if you have a ``dumb'' serial or parallel PCI card that issupported by the <a href="http://www.FreeBSD.org/cgi/man.cgi?query=puc&sektion=4"><spanclass="CITEREFENTRY"><span class="REFENTRYTITLE">puc</span>(4)</span></a> gluedriver.</p><pre class="PROGRAMLISTING"># 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'')</pre><p>Various PCI network card drivers. Comment out or remove any of these not present inyour system.</p><pre class="PROGRAMLISTING"># 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</pre><p>MII bus support is required for some PCI 10/100 Ethernet NICs, namely those which useMII-compliant transceivers or implement transceiver control interfaces that operate likean MII. Adding <var class="LITERAL">device miibus</var> to the kernel config pulls insupport for the generic miibus API and all of the PHY drivers, including a generic onefor PHYs that are not specifically handled by an individual driver.</p><pre class="PROGRAMLISTING">device dc # DEC/Intel 21143 and various workalikesdevice 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 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 vr # VIA Rhine, Rhine IIdevice wb # Winbond W89C840Fdevice xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')</pre><p>Drivers that use the MII bus controller code.</p><pre class="PROGRAMLISTING"># 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</pre><p>ISA Ethernet drivers. See <tt class="FILENAME">/usr/src/sys/<varclass="REPLACEABLE">i386</var>/conf/NOTES</tt> for details of which cards are supported
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -