View | Details | Raw Unified | Return to bug 70674 | Differences between
and this patch

Collapse All | Expand All

(-)new.chapter.sgml (-220 / +197 lines)
Lines 426-444 Link Here
426
      some related keywords have been grouped together in a single section
426
      some related keywords have been grouped together in a single section
427
      (such as Networking) even though they are actually scattered
427
      (such as Networking) even though they are actually scattered
428
      throughout the <filename>GENERIC</filename> file.  <anchor
428
      throughout the <filename>GENERIC</filename> file.  <anchor
429
      id="kernelconfig-options"> An exhaustive list of options and more
429
      id="kernelconfig-options"> An exhaustive list of architecure
430
      detailed explanations of the device lines is present in the
430
      dependent options and more detailed explanations of the device lines
431
      <filename>LINT</filename> configuration file, located in the same
431
      is present in the <filename>NOTES</filename> configuration file,
432
      directory as <filename>GENERIC</filename>.  If you are in doubt as
432
      located in the same directory as <filename>GENERIC</filename>. If you
433
      to the purpose or necessity of a line, check first in
433
      are in doubt as to the purpose or necessity of a line, check first in
434
      <filename>LINT</filename>.</para>
434
      <filename>NOTES</filename>. Architecure independent options are
435
435
      stored in <filename>/usr/src/sys/conf/NOTES</filename>.</para>
436
    <note><para>In &os; 5.X and above the <filename>LINT</filename> is
436
437
      non-existent.  See the <filename>NOTES</filename> file for
437
    <note><para>In &os; 4.X and earlier <filename>NOTES</filename> is
438
      architecture dependent options.  Some options, mainly
438
      non-existent. Instead, see the <filename>LINT</filename> file for
439
      architecture independent ones, are stored in the
439
      detailed explanations of options in <filename>GENERIC</filename>.
440
      <filename>/usr/src/sys/conf/NOTES</filename> file.  It is
440
      </para></note>
441
      advisable to review the options in here also.</para></note>
442
441
443
    <indexterm>
442
    <indexterm>
444
      <primary>kernel</primary>
443
      <primary>kernel</primary>
Lines 450-476 Link Here
450
      clarity.  This example should match your copy in
449
      clarity.  This example should match your copy in
451
      <filename>/usr/src/sys/i386/conf/GENERIC</filename> fairly
450
      <filename>/usr/src/sys/i386/conf/GENERIC</filename> fairly
452
      closely.  For details of all the possible kernel options, see
451
      closely.  For details of all the possible kernel options, see
453
      <filename>/usr/src/sys/i386/conf/LINT</filename>.</para>
452
      <filename>/usr/src/sys/i386/conf/NOTES</filename>.</para>
454
453
455
    <programlisting>#
454
    <programlisting>#
456
# GENERIC -- Generic kernel configuration file for &os;/i386
455
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
457
#
456
#
458
# For more information on this file, please read the handbook section on
457
# For more information on this file, please read the handbook section on
459
# Kernel Configuration Files:
458
# Kernel Configuration Files:
460
#
459
#
461
#    http://www.&os;.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
460
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
462
#
461
#
463
# The handbook is also available locally in /usr/share/doc/handbook
462
# The handbook is also available locally in /usr/share/doc/handbook
464
# if you've installed the doc distribution, otherwise always see the
463
# if you've installed the doc distribution, otherwise always see the
465
# &os; World Wide Web server (http://www.FreeBSD.org/) for the
464
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
466
# latest information.
465
# latest information.
467
#
466
#
468
# An exhaustive list of options and more detailed explanations of the
467
# An exhaustive list of options and more detailed explanations of the
469
# device lines is also present in the ../../conf/NOTES and NOTES files. 
468
# device lines is also present in the ../../conf/NOTES and NOTES files.
470
# If you are in doubt as to the purpose or necessity of a line, check first 
469
# If you are in doubt as to the purpose or necessity of a line, check first
471
# in NOTES.
470
# in NOTES.
472
#
471
#
473
# &dollar;FreeBSD: src/sys/i386/conf/GENERIC,v 1.380 2003/03/29 13:36:41 mdodd Exp $</programlisting>
472
# $FreeBSD: /repoman/r/ncvs/src/sys/i386/conf/GENERIC,v 1.413 2004/08/11 01:34:18 rwatson Exp $</programlisting>
474
473
475
    <para>The following are the mandatory keywords required in
474
    <para>The following are the mandatory keywords required in
476
      <emphasis>every</emphasis> kernel you build:</para>
475
      <emphasis>every</emphasis> kernel you build:</para>
Lines 606-619 Link Here
606
    </note>
605
    </note>
607
    
606
    
608
    <programlisting># Floating point support - do not disable.
607
    <programlisting># Floating point support - do not disable.
609
device          npx0     at nexus? port IO_NPX irq 13</programlisting>
608
device          npx0</programlisting>
610
    
609
    
611
    <para><literal>npx0</literal> is the interface to the floating point
610
    <para><literal>npx0</literal> is the interface to the floating point
612
      math unit in &os;, which is either the hardware co-processor or
611
      math unit in &os;, which is either the hardware co-processor or
613
      the software math emulator.  This is <emphasis>not</emphasis>
612
      the software math emulator.  This is <emphasis>not</emphasis>
614
      optional.</para>
613
      optional.</para>
615
614
616
    <programlisting># Pseudo devices - the number indicates how many units to allocate.
615
    <programlisting># Pseudo devices
617
device   loop          # Network loopback</programlisting>
616
device   loop          # Network loopback</programlisting>
618
617
619
    <para>This is the generic loopback device for TCP/IP.  If you telnet
618
    <para>This is the generic loopback device for TCP/IP.  If you telnet
Lines 654-679 Link Here
654
      you are using the <quote>traditional</quote> way for building your kernels (See the <xref linkend="kernelconfig-building">
653
      you are using the <quote>traditional</quote> way for building your kernels (See the <xref linkend="kernelconfig-building">
655
      for more informations.).</para>
654
      for more informations.).</para>
656
655
657
    <programlisting>options          MATH_EMULATE      #Support for x87 emulation</programlisting>
656
    <programlisting>options          SCHED_ULE         # ULE scheduler</programlisting>
658
659
    <para>This line allows the kernel to simulate a math co-processor if
660
      your computer does not have one (386 or 486SX).  If you have a
661
      486DX, or a 386 or 486SX (with a separate 387 or 487 chip), or
662
      higher (&pentium;, &pentium;&nbsp;II, etc.), you can comment this line
663
      out.</para>
664
657
665
    <note>
658
    <para>The new scheduler for &os; that has been designed for SMP, but
666
      <para>The normal math co-processor emulation routines that come with
659
      will work just fine on UP systems too.</para>
667
	&os; are <emphasis>not</emphasis> very accurate.  If you do not
668
	have a math co-processor, and you need the best accuracy, it is
669
	recommended that you change this option to
670
	<literal>GPL_MATH_EMULATE</literal> to use the GNU math support,
671
	which is not included by default for licensing reasons.</para>
672
673
      <para>In &os; 5.X, math emulation is disabled by default,
674
      as older CPUs that do not have native floating point math support
675
      are far less common, and in many cases not supported by the
676
      <filename>GENERIC</filename> kernel without other additional options.</para></note>
677
660
678
    <programlisting>options          INET          #InterNETworking</programlisting>
661
    <programlisting>options          INET          #InterNETworking</programlisting>
679
662
Lines 686-700 Link Here
686
669
687
    <para>This enables the IPv6 communication protocols.</para>
670
    <para>This enables the IPv6 communication protocols.</para>
688
671
689
    <programlisting>options          FFS          #Berkeley Fast Filesystem
672
    <programlisting>options          FFS          #Berkeley Fast Filesystem</programlisting>
690
options          FFS_ROOT     #FFS usable as root device [keep this!]</programlisting>
691
673
692
    <para>This is the basic hard drive Filesystem.  Leave it in if you
674
    <para>This is the basic hard drive Filesystem.  Leave it in if you
693
      boot from the hard disk.</para>
675
      boot from the hard disk.</para>
694
676
695
    <note><para>In &os; 5.X, <literal>FFS_ROOT</literal> is no longer
696
      required.</para></note>
697
698
    <programlisting>options          UFS_ACL      #Support for access control lists</programlisting>
677
    <programlisting>options          UFS_ACL      #Support for access control lists</programlisting>
699
678
700
    <para>This option, present only in &os;&nbsp;5.X, enables kernel support
679
    <para>This option, present only in &os;&nbsp;5.X, enables kernel support
Lines 726-754 Link Here
726
      filesystems) or &man.newfs.8; (for new filesystems)
705
      filesystems) or &man.newfs.8; (for new filesystems)
727
      commands.</para>
706
      commands.</para>
728
707
729
    <programlisting>options          MFS          #Memory Filesystem
708
    <programlisting>options          MD_ROOT      #MD is a potential root device</programlisting>
730
options          MD_ROOT      #MD is a potential root device</programlisting>
731
709
732
    <para>This is the memory-mapped Filesystem.  This is basically a RAM
710
    <para>This is option enables support for a memory backed virtual disk
733
      disk for fast storage of temporary files, useful if you have a lot
711
      as root device.</para>
734
      of swap space that you want to take advantage of.  A perfect place
735
      to mount an MFS partition is on the <filename>/tmp</filename>
736
      directory, since many programs store temporary data here.  To mount
737
      an MFS RAM disk on <filename>/tmp</filename>, add the following line
738
      to <filename>/etc/fstab</filename>:</para>
739
740
    <informalexample>
741
      <programlisting>/dev/ad1s2b	/tmp mfs rw 0 0</programlisting>
742
    </informalexample>
743
744
    <para>Now you simply need to either reboot, or run the command
745
      <command>mount /tmp</command>.</para>
746
747
    <note><para>In &os; 5.X, &man.md.4;-backed UFS file systems are
748
      used for memory file systems rather than MFS.  Information on
749
      configuring memory-backed file systems may be found in the manual pages
750
      for &man.mdconfig.8; and &man.mdmfs.8;, and in <xref linkend="disks-virtual">.  As a result, the
751
      <literal>MFS</literal> option is no longer supported.</para></note>
752
712
753
    <indexterm>
713
    <indexterm>
754
      <primary>kernel options</primary>
714
      <primary>kernel options</primary>
Lines 758-765 Link Here
758
      <primary>kernel options</primary>
718
      <primary>kernel options</primary>
759
      <secondary>NFS_ROOT</secondary>
719
      <secondary>NFS_ROOT</secondary>
760
    </indexterm>
720
    </indexterm>
761
    <programlisting>options          NFS          #Network Filesystem
721
    <programlisting>options          NFSCLIENT    # Network Filesystem Client
762
options          NFS_ROOT     #NFS usable as root device, NFS required</programlisting>
722
options          NFSSERVER    # Network Filesystem Server
723
options          NFS_ROOT     # NFS usable as /, requires NFSCLIENT</programlisting>
763
724
764
    <para>The network Filesystem.  Unless you plan to mount partitions
725
    <para>The network Filesystem.  Unless you plan to mount partitions
765
      from a &unix; file server over TCP/IP, you can comment these
726
      from a &unix; file server over TCP/IP, you can comment these
Lines 780-787 Link Here
780
      unmount them (and does not require <literal>MSDOSFS</literal> at
741
      unmount them (and does not require <literal>MSDOSFS</literal> at
781
      all).</para>
742
      all).</para>
782
743
783
    <programlisting>options          CD9660       #ISO 9660 Filesystem
744
    <programlisting>options          CD9660       #ISO 9660 Filesystem</programlisting>
784
options          CD9660_ROOT  #CD-ROM usable as root, CD9660 required</programlisting>
785
745
786
    <para>The ISO 9660 Filesystem for CDROMs.  Comment it out if you do
746
    <para>The ISO 9660 Filesystem for CDROMs.  Comment it out if you do
787
      not have a CDROM drive or only mount data CDs occasionally (since it
747
      not have a CDROM drive or only mount data CDs occasionally (since it
Lines 793-802 Link Here
793
    <para>The process filesystem.  This is a <quote>pretend</quote>
753
    <para>The process filesystem.  This is a <quote>pretend</quote>
794
      filesystem mounted on <filename>/proc</filename> which allows
754
      filesystem mounted on <filename>/proc</filename> which allows
795
      programs like &man.ps.1; to give you more information on what
755
      programs like &man.ps.1; to give you more information on what
796
      processes are running.  In &os; 5.X, use of <literal>PROCFS</literal>
756
      processes are running.  In &os; 5.X and above, use of
797
      is not required under most circumstances, as most
757
      <literal>PROCFS</literal> is not required under most circumstances,
798
      debugging and monitoring tools have been adapted to run without
758
      as most debugging and monitoring tools have been adapted to run
799
      <literal>PROCFS</literal>.  In addition, 5.X-CURRENT kernels
759
      without <literal>PROCFS</literal>.  In addition, 6.X-CURRENT kernels
800
      making use of <literal>PROCFS</literal> must now also include
760
      making use of <literal>PROCFS</literal> must now also include
801
      support for <literal>PSEUDOFS</literal>:</para>
761
      support for <literal>PSEUDOFS</literal>:</para>
802
762
Lines 829-860 Link Here
829
      you do this, and &os; has trouble recognizing your SCSI devices,
789
      you do this, and &os; has trouble recognizing your SCSI devices,
830
      you will have to raise it back up.</para>
790
      you will have to raise it back up.</para>
831
791
832
    <programlisting>options          UCONSOLE            #Allow users to grab the console</programlisting>
792
    <programlisting>options          GEOM_GPT            # GUID Partition Tables.</programlisting>
833
834
    <para>Allow users to grab the console, which is useful for X users.
835
      For example, you can create a console <application>xterm</application>
836
      by typing <command>xterm
837
      -C</command>, which will display any &man.write.1;,
838
      &man.talk.1;, and any other messages you receive, as well
839
      as any console messages sent by the kernel.</para>
840
841
    <note><para>In &os; 5.X, <literal>UCONSOLE</literal> is no
842
      longer required.</para></note>
843
844
    <programlisting>options          USERCONFIG          #boot -c editor</programlisting>
845
846
    <para>This option allows you to boot the configuration editor from the
847
      boot menu.</para>
848
849
    <programlisting>options          VISUAL_USERCONFIG   #visual boot -c editor</programlisting>
850
851
    <para>This option allows you to boot the visual configuration editor
852
      from the boot menu.</para>
853
793
854
      <note><para>From &os; versions 5.0 and later, the <literal>USERCONFIG</literal> options has
794
    <para>This option brings the ability to have a large number of
855
	been deprecated in favor of the new &man.device.hints.5;
795
      partitions on a single disk.</para>
856
	method.  For more information on &man.device.hints.5; please
857
	visit <xref linkend="device-hints">.</para></note>
858
796
859
    <programlisting>options          KTRACE              #ktrace(1) support</programlisting>
797
    <programlisting>options          KTRACE              #ktrace(1) support</programlisting>
860
798
Lines 884-925 Link Here
884
	these System V facilities.</para>
822
	these System V facilities.</para>
885
    </note>
823
    </note>
886
824
887
    <programlisting>options 	P1003_1B		#Posix P1003_1B real-time extensions
825
    <programlisting>options          _KPOSIX_PRIORITY_SCHEDULING</programlisting>
888
options 	_KPOSIX_PRIORITY_SCHEDULING</programlisting>
889
826
890
    <para>Real-time extensions added in the 1993 &posix;.  Certain
827
    <para>Real-time extensions added in the 1993 &posix;.  Certain
891
      applications in the ports collection use these
828
      applications in the ports collection use these
892
      (such as <application>&staroffice;</application>).</para>
829
      (such as <application>&staroffice;</application>).</para>
893
830
894
    <note><para>In &os; 5.X, all of this functionality is now
831
    <programlisting>options          PFIL_HOOKS          # pfil(9) framework</programlisting>
895
      provided by the <literal>_KPOSIX_PRIORITY_SCHEDULING</literal>
896
      option, and <literal>P1003_1B</literal> is no longer
897
      required.</para></note>
898
832
899
    <indexterm>
833
    <para>The pfil framework is required by the IPFILTER and IPFIREWALL
900
      <primary>kernel options</primary>
834
      options.</para>
901
      <secondary>ICMP_BANDLIM</secondary>
902
    </indexterm>
903
    <indexterm>
904
      <primary>Denial of Service (DoS)</primary>
905
    </indexterm>
906
    <programlisting>options		ICMP_BANDLIM		#Rate limit bad replies</programlisting>
907
835
908
    <para>This option enables ICMP error response bandwidth limiting.  You
836
    <programlisting>options          ADAPTIVE_GIANT      # Giant mutex is adaptive.</programlisting>
909
      typically want this option as it will help protect the machine from
910
      denial of service packet attacks.</para>
911
837
912
    <note><para>In &os; 5.X, this feature is enabled by default and
838
    <para>This option causes Giant to be included in the set of mutexes
913
      the <literal>ICMP_BANDLIM</literal> option is not required.
839
      adaptively spun on.</para>
914
      </para></note>
915
840
916
    <indexterm>
841
    <indexterm>
917
      <primary>kernel options</primary>
842
      <primary>kernel options</primary>
918
      <secondary>SMP</secondary>
843
      <secondary>SMP</secondary>
919
    </indexterm>
844
    </indexterm>
920
    <programlisting># To make an SMP kernel, the next two are needed
845
    <programlisting># To make an SMP kernel, the next two are needed
921
#options        SMP                     # Symmetric MultiProcessor Kernel
846
options        SMP         # Symmetric MultiProcessor Kernel
922
#options        APIC_IO                 # Symmetric (APIC) I/O</programlisting>
847
device         apic        # I/O APIC</programlisting>
923
848
924
    <para>The above are both required for SMP support.</para>
849
    <para>The above are both required for SMP support.</para>
925
850
Lines 930-936 Link Here
930
      IBM PS/2 (Micro Channel Architecture), &os; provides some
855
      IBM PS/2 (Micro Channel Architecture), &os; provides some
931
      limited support at this time.  For more information about the
856
      limited support at this time.  For more information about the
932
      MCA support, see
857
      MCA support, see
933
      <filename>/usr/src/sys/i386/conf/LINT</filename>.</para>
858
      <filename>/usr/src/sys/i386/conf/NOTES</filename>.</para>
934
859
935
    <programlisting>device          eisa</programlisting>
860
    <programlisting>device          eisa</programlisting>
936
861
Lines 951-964 Link Here
951
      have these features.</para>
876
      have these features.</para>
952
877
953
    <programlisting># Floppy drives
878
    <programlisting># Floppy drives
954
device          fdc0        at isa? port IO_FD1 irq 6 drq 2
879
device          fdc</programlisting>
955
device          fd0         at fdc0 drive 0
880
956
device          fd1         at fdc0 drive 1</programlisting>
881
    <para>This is the floppy drive controller.</para>
957
958
    <para>This is the floppy drive controller.  <literal>fd0</literal> is
959
      the <devicename>A:</devicename> floppy drive, and
960
      <literal>fd1</literal> is the <devicename>B:</devicename>
961
      drive.</para>
962
882
963
    <programlisting>device          ata</programlisting>
883
    <programlisting>device          ata</programlisting>
964
884
Lines 971-976 Link Here
971
    <para>This is needed along with <literal>device ata</literal> for
891
    <para>This is needed along with <literal>device ata</literal> for
972
      ATA disk drives.</para>
892
      ATA disk drives.</para>
973
893
894
    <programlisting>device          ataraid                 # ATA RAID drives</programlisting>
895
896
    <para>This is needed along with <literal>device ata</literal> for
897
      ATA RAID drives.</para>
898
974
    <programlisting><anchor id="kernelconfig-atapi">
899
    <programlisting><anchor id="kernelconfig-atapi">
975
device          atapicd                 # ATAPI CDROM drives</programlisting>
900
device          atapicd                 # ATAPI CDROM drives</programlisting>
976
901
Lines 992-1017 Link Here
992
    <para>This makes the controller number static (like the old driver) or
917
    <para>This makes the controller number static (like the old driver) or
993
      else the device numbers are dynamically allocated.</para>
918
      else the device numbers are dynamically allocated.</para>
994
919
995
    <programlisting># ATA and ATAPI devices
996
device          ata0        at isa? port IO_WD1 irq 14
997
device          ata1        at isa? port IO_WD2 irq 15</programlisting>
998
999
    <para>Use the above for older, non-PCI systems.</para>
1000
1001
    <programlisting># SCSI Controllers
920
    <programlisting># SCSI Controllers
1002
device          ahb        # EISA AHA1742 family
921
device          ahb        # EISA AHA1742 family
1003
device          ahc        # AHA2940 and onboard AIC7xxx devices
922
device          ahc        # AHA2940 and onboard AIC7xxx devices
923
device          ahd        # AHA39320/29320 and onboard AIC79xx devices
1004
device          amd        # AMD 53C974 (Teckram DC-390(T))
924
device          amd        # AMD 53C974 (Teckram DC-390(T))
1005
device          dpt        # DPT Smartcache - See LINT for options!
1006
device          isp        # Qlogic family
925
device          isp        # Qlogic family
926
device          mpt        # LSI-Logic MPT-Fusion
1007
device          ncr        # NCR/Symbios Logic
927
device          ncr        # NCR/Symbios Logic
1008
device          sym        # NCR/Symbios Logic (newer chipsets)
928
device          sym        # NCR/Symbios Logic (newer chipsets + those of `ncr')
929
device          trm        # Tekram DC395U/UW/F DC315U adapters
1009
930
1010
device          adv0       at isa?
931
device          adv        # Advansys SCSI adapters
1011
device          adw
932
device          adw        # Advansys wide SCSI adapters
1012
device          bt0        at isa?
933
device          aha        # Adaptec 154x SCSI adapters
1013
device          aha0       at isa?
934
device          aic        # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
1014
device          aic0       at isa?</programlisting>
935
device          bt         # Buslogic/Mylex MultiMaster SCSI adapters
936
937
device          ncv        # NCR 53C500
938
device          nsp        # Workbit Ninja SCSI-3
939
device          stg        # TMC 18C30/18C50</programlisting>
1015
940
1016
    <para>SCSI controllers.  Comment out any you do not have in your
941
    <para>SCSI controllers.  Comment out any you do not have in your
1017
      system.  If you have an IDE only system, you can remove these
942
      system.  If you have an IDE only system, you can remove these
Lines 1019-1029 Link Here
1019
944
1020
    <programlisting># SCSI peripherals
945
    <programlisting># SCSI peripherals
1021
device          scbus      # SCSI bus (required)
946
device          scbus      # SCSI bus (required)
947
device          ch         # SCSI media changers
1022
device          da         # Direct Access (disks)
948
device          da         # Direct Access (disks)
1023
device          sa         # Sequential Access (tape etc)
949
device          sa         # Sequential Access (tape etc)
1024
device          cd         # CD
950
device          cd         # CD
1025
device          pass       # Passthrough device (direct SCSI
951
device          pass       # Passthrough device (direct SCSI access)
1026
access)</programlisting>
952
device          ses        # SCSI Environmental Services (and SAF-TE)</programlisting>
1027
953
1028
    <para>SCSI peripherals.  Again, comment out any you do not have, or if
954
    <para>SCSI peripherals.  Again, comment out any you do not have, or if
1029
      you have only IDE hardware, you can remove them completely.</para>
955
      you have only IDE hardware, you can remove them completely.</para>
Lines 1035-1050 Link Here
1035
	drivers are included in the kernel configuration.</para>
961
	drivers are included in the kernel configuration.</para>
1036
    </note>
962
    </note>
1037
963
1038
    <programlisting># RAID controllers
964
    <programlisting># RAID controllers interfaced to the SCSI subsystem
1039
device          ida        # Compaq Smart RAID
1040
device          amr        # AMI MegaRAID
965
device          amr        # AMI MegaRAID
1041
device          mlx        # Mylex DAC960 family</programlisting>
966
device          asr        # DPT SmartRAID V, VI and Adaptec SCSI RAID
967
device          ciss       # Compaq Smart RAID 5*
968
device          dpt        # DPT Smartcache III, IV - See NOTES for options
969
device          iir        # Intel Integrated RAID
970
device          ips        # IBM (Adaptec) ServeRAID
971
device          mly        # Mylex AcceleRAID/eXtremeRAID
972
device          twa        # 3ware 9000 series PATA/SATA RAID
973
974
# RAID controllers
975
device          aac        # Adaptec FSA RAID
976
device          aacp       # SCSI passthrough for aac (requires CAM)
977
device          ida        # Compaq Smart RAID
978
device          mlx        # Mylex DAC960 family
979
device          pst        # Promise Supertrak SX6000
980
device          twe        # 3ware ATA RAID</programlisting>
1042
981
1043
    <para>Supported RAID controllers.  If you do not have any of these,
982
    <para>Supported RAID controllers.  If you do not have any of these,
1044
      you can comment them out or remove them.</para>
983
      you can comment them out or remove them.</para>
1045
984
1046
    <programlisting># atkbdc0 controls both the keyboard and the PS/2 mouse
985
    <programlisting>device          atkbdc	   # AT keyboard controller</programlisting>
1047
device          atkbdc0    at isa? port IO_KBD</programlisting>
1048
986
1049
    <para>The keyboard controller (<literal>atkbdc</literal>) provides I/O
987
    <para>The keyboard controller (<literal>atkbdc</literal>) provides I/O
1050
      services for the AT keyboard and PS/2 style pointing devices.  This
988
      services for the AT keyboard and PS/2 style pointing devices.  This
Lines 1052-1130 Link Here
1052
      (<literal>atkbd</literal>) and the PS/2 pointing device driver
990
      (<literal>atkbd</literal>) and the PS/2 pointing device driver
1053
      (<literal>psm</literal>).</para>
991
      (<literal>psm</literal>).</para>
1054
992
1055
    <programlisting>device          atkbd0     at atkbdc? irq 1</programlisting>
993
    <programlisting>device          atkbd	   # AT keyboard</programlisting>
1056
994
1057
    <para>The <literal>atkbd</literal> driver, together with
995
    <para>The <literal>atkbd</literal> driver, together with
1058
      <literal>atkbdc</literal> controller, provides access to the AT 84
996
      <literal>atkbdc</literal> controller, provides access to the AT 84
1059
      keyboard or the AT enhanced keyboard which is connected to the AT
997
      keyboard or the AT enhanced keyboard which is connected to the AT
1060
      keyboard controller.</para>
998
      keyboard controller.</para>
1061
999
1062
    <programlisting>device          psm0       at atkbdc? irq 12</programlisting>
1000
    <programlisting>device          psm	   	# PS/2 mouse</programlisting>
1063
1001
1064
    <para>Use this device if your mouse plugs into the PS/2 mouse
1002
    <para>Use this device if your mouse plugs into the PS/2 mouse
1065
      port.</para>
1003
      port.</para>
1066
1004
1067
    <programlisting>device          vga0        at isa?</programlisting>
1005
    <programlisting>device          vga	   # VGA video card driver</programlisting>
1068
1006
1069
    <para>The video card driver.</para>
1007
    <para>The video card driver.</para>
1070
1008
1071
    <programlisting># splash screen/screen saver
1009
    <programlisting>device          splash	   # Splash screen and screen saver support</programlisting>
1072
device          splash</programlisting>
1073
1010
1074
    <para>Splash screen at start up!  Screen savers require this
1011
    <para>Splash screen at start up!  Screen savers require this
1075
      too.  Use the line <literal>pseudo-device splash</literal> with
1012
      too.  Use the line <literal>pseudo-device splash</literal> with
1076
      &os;&nbsp;4.X.</para>
1013
      &os;&nbsp;4.X.</para>
1077
1014
1078
    <programlisting># syscons is the default console driver, resembling an SCO console
1015
    <programlisting># syscons is the default console driver, resembling an SCO console
1079
device          sc0          at isa?</programlisting>
1016
device          sc</programlisting>
1080
1017
1081
    <para><literal>sc0</literal> is the default console driver, which
1018
    <para><literal>sc</literal> is the default console driver, which
1082
      resembles a SCO console.  Since most full-screen programs access the
1019
      resembles a SCO console.  Since most full-screen programs access the
1083
      console through a terminal database library like
1020
      console through a terminal database library like
1084
      <filename>termcap</filename>, it should not matter whether you use
1021
      <filename>termcap</filename>, it should not matter whether you use
1085
      this or <literal>vt0</literal>, the <literal>VT220</literal>
1022
      this or <literal>vt</literal>, the <literal>VT220</literal>
1086
      compatible console driver.  When you log in, set your
1023
      compatible console driver.  When you log in, set your
1087
      <envar>TERM</envar> variable to <literal>scoansi</literal> if
1024
      <envar>TERM</envar> variable to <literal>scoansi</literal> if
1088
      full-screen programs have trouble running under this console.</para>
1025
      full-screen programs have trouble running under this console.</para>
1089
1026
1090
    <programlisting># Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
1027
    <programlisting># Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
1091
#device          vt0     at isa?
1028
#device          vt
1092
#options         XSERVER          # support for X server on a vt console
1029
#options         XSERVER          # support for X server on a vt console
1093
#options         FAT_CURSOR       # start with block cursor
1030
#options         FAT_CURSOR       # start with block cursor</programlisting>
1094
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
1095
#options         PCVT_SCANSET=2   # IBM keyboards are non-std</programlisting>
1096
1031
1097
    <para>This is a VT220-compatible console driver, backward compatible to
1032
    <para>This is a VT220-compatible console driver, backward compatible to
1098
      VT100/102.  It works well on some laptops which have hardware
1033
      VT100/102.  It works well on some laptops which have hardware
1099
      incompatibilities with <literal>sc0</literal>.  Also set your
1034
      incompatibilities with <literal>sc</literal>.  Also set your
1100
      <envar>TERM</envar> variable to <literal>vt100</literal> or
1035
      <envar>TERM</envar> variable to <literal>vt100</literal> or
1101
      <literal>vt220</literal> when you log in.  This driver might also
1036
      <literal>vt220</literal> when you log in.  This driver might also
1102
      prove useful when connecting to a large number of different machines
1037
      prove useful when connecting to a large number of different machines
1103
      over the network, where <filename>termcap</filename> or
1038
      over the network, where <filename>termcap</filename> or
1104
      <filename>terminfo</filename> entries for the <literal>sc0</literal>
1039
      <filename>terminfo</filename> entries for the <literal>sc</literal>
1105
      device are often not available &mdash; <literal>vt100</literal>
1040
      device are often not available &mdash; <literal>vt100</literal>
1106
      should be available on virtually any platform.</para>
1041
      should be available on virtually any platform.</para>
1107
1042
1108
    <programlisting># Power management support (see LINT for more options)
1043
    <programlisting># Power management support (see NOTES for more options)
1109
device          apm0     at nexus? disable flags 0x20  # Advanced Power Management</programlisting>
1044
#device          apm</programlisting>
1110
1045
1111
    <para>Advanced Power Management support.  Useful for laptops.</para>
1046
    <para>Advanced Power Management support.  Useful for laptops.</para>
1112
1047
1048
    <note>
1049
       <para>In &os; 5.X and above this is disabled in
1050
	 <filename>GENERIC</filename> by default.</para>
1051
    </note>
1052
1053
    <programlisting>#Add suspend/resume support for the i8254.
1054
device		pmtimer</programlisting>
1055
1056
    <para>Timer device driver for power management events, such as APM and
1057
      ACPI.</para>
1058
1059
1113
    <programlisting># PCCARD (PCMCIA) support
1060
    <programlisting># PCCARD (PCMCIA) support
1114
device          card
1061
# PCMCIA and cardbus bridge support
1115
device          pcic0    at isa? irq 10 port 0x3e0 iomem 0xd0000
1062
device          cbb             # cardbus (yenta) bridge
1116
device          pcic1    at isa? irq 11 port 0x3e2 iomem 0xd4000 disable</programlisting>
1063
device          pccard          # PC Card (16-bit) bus
1064
device          cardbus         # CardBus (32-bit) bus</programlisting>
1117
1065
1118
    <para>PCMCIA support.  You want this if you are using a
1066
    <para>PCMCIA support.  You want this if you are using a
1119
      laptop.</para>
1067
      laptop.</para>
1120
1068
1121
    <programlisting># Serial (COM) ports
1069
    <programlisting># Serial (COM) ports
1122
device          sio0     at isa? port IO_COM1 flags 0x10 irq 4
1070
device		sio		# 8250, 16[45]50 based serial ports</programlisting>
1123
device          sio1     at isa? port IO_COM2 irq 3
1124
device          sio2     at isa? disable port IO_COM3 irq 5
1125
device          sio3     at isa? disable port IO_COM4 irq 9</programlisting>
1126
1071
1127
    <para>These are the four serial ports referred to as <devicename>COM1</devicename> through <devicename>COM4</devicename>
1072
    <para>These are the serial ports referred to as <devicename>COM</devicename> ports
1128
      in the &ms-dos/&windows; world.</para>
1073
      in the &ms-dos/&windows; world.</para>
1129
1074
1130
    <note>
1075
    <note>
Lines 1146-1152 Link Here
1146
    </note>
1091
    </note>
1147
1092
1148
    <programlisting># Parallel port
1093
    <programlisting># Parallel port
1149
device          ppc0    at isa? irq 7</programlisting>
1094
device          ppc</programlisting>
1150
1095
1151
    <para>This is the ISA-bus parallel port interface.</para>
1096
    <para>This is the ISA-bus parallel port interface.</para>
1152
1097
Lines 1179-1190 Link Here
1179
      <literal>scbus</literal> and <literal>da</literal> support.  Best
1124
      <literal>scbus</literal> and <literal>da</literal> support.  Best
1180
      performance is achieved with ports in EPP 1.9 mode.</para>
1125
      performance is achieved with ports in EPP 1.9 mode.</para>
1181
1126
1127
    <programlisting>#device          puc</programlisting>
1128
1129
    <para>Uncomment this device if you have a <quote>dumb</quote> serial or
1130
      parallel PCI card that is supported by the &man.puc.4 glue driver.
1131
      </para>
1132
1182
    <programlisting># PCI Ethernet NICs.
1133
    <programlisting># PCI Ethernet NICs.
1183
device          de         # DEC/Intel DC21x4x (<quote>Tulip</quote>)
1134
device          de         # DEC/Intel DC21x4x (<quote>Tulip</quote>)
1184
device          fxp        # Intel EtherExpress PRO/100B (82557, 82558)
1135
device          em         # Intel PRO/1000 adapter Gigabit Ethernet Card
1185
device          tx         # SMC 9432TX (83c170 <quote>EPIC</quote>)
1136
device          ixgb       # Intel PRO/10GbE Ethernet Card
1186
device          vx         # 3Com 3c590, 3c595 (<quote>Vortex</quote>)
1137
device          txp        # 3Com 3cR990 (<quote>Typhoon</quote>)
1187
device          wx         # Intel Gigabit Ethernet Card (<quote>Wiseman</quote>)</programlisting>
1138
device          vx         # 3Com 3c590, 3c595 (<quote>Vortex</quote>)</programlisting>
1188
1139
1189
    <para>Various PCI network card drivers.  Comment out or remove any of
1140
    <para>Various PCI network card drivers.  Comment out or remove any of
1190
      these not present in your system.</para>
1141
      these not present in your system.</para>
Lines 1201-1243 Link Here
1201
      by an individual driver.</para>
1152
      by an individual driver.</para>
1202
1153
1203
    <programlisting>device          dc         # DEC/Intel 21143 and various workalikes
1154
    <programlisting>device          dc         # DEC/Intel 21143 and various workalikes
1155
device          bfe        # Broadcom BCM440x 10/100 Ethernet
1156
device          bge        # Broadcom BCM570xx Gigabit Ethernet
1157
device          dc         # DEC/Intel 21143 and various workalikes
1158
device          fxp        # Intel EtherExpress PRO/100B (82557, 82558)
1159
device          pcn        # AMD Am79C97x PCI 10/100 (precedence over 'lnc')
1160
device          re         # RealTek 8139C+/8169/8169S/8110S
1204
device          rl         # RealTek 8129/8139
1161
device          rl         # RealTek 8129/8139
1205
device          sf         # Adaptec AIC-6915 (<quote>Starfire</quote>)
1162
device          sf         # Adaptec AIC-6915 (<quote>Starfire</quote>)
1206
device          sis        # Silicon Integrated Systems SiS 900/SiS 7016
1163
device          sis        # Silicon Integrated Systems SiS 900/SiS 7016
1164
device          sk         # SysKonnect SK-984x & SK-982x gigabit Ethernet
1207
device          ste        # Sundance ST201 (D-Link DFE-550TX)
1165
device          ste        # Sundance ST201 (D-Link DFE-550TX)
1166
device          ti         # Alteon Networks Tigon I/II gigabit Ethernet
1208
device          tl         # Texas Instruments ThunderLAN
1167
device          tl         # Texas Instruments ThunderLAN
1168
device          tx         # SMC EtherPower II (83c170 <quote>EPIC</quote>)
1209
device          vr         # VIA Rhine, Rhine II
1169
device          vr         # VIA Rhine, Rhine II
1210
device          wb         # Winbond W89C840F
1170
device          wb         # Winbond W89C840F
1211
device          xl         # 3Com 3c90x (<quote>Boomerang</quote>, <quote>Cyclone</quote>)</programlisting>
1171
device          xl         # 3Com 3c90x (<quote>Boomerang</quote>, <quote>Cyclone</quote>)</programlisting>
1212
1172
1213
    <para>Drivers that use the MII bus controller code.</para>
1173
    <para>Drivers that use the MII bus controller code.</para>
1214
1174
1215
    <programlisting># ISA Ethernet NICs.
1175
    <programlisting># ISA Ethernet NICs.  pccard NICs included.
1216
device          ed0    at isa? port 0x280 irq 10 iomem 0xd8000
1176
device          cs         # Crystal Semiconductor CS89x0 NIC
1217
device          ex
1177
# 'device ed' requires 'device miibus'
1218
device          ep
1178
device          ed         # NE[12]000, SMC Ultra, 3c503, DS8390 cards
1219
# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
1179
device          ex         # Intel EtherExpress Pro/10 and Pro/10+
1220
# exists only as a PCMCIA device, so there is no ISA attachment needed
1180
device          ep         # Etherlink III based cards
1221
# and resources will always be dynamically assigned by the pccard code.
1181
device          fe         # Fujitsu MB8696x based cards
1222
device          wi
1182
device          ie         # EtherExpress 8/16, 3C507, StarLAN 10 etc.
1223
# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
1183
device          lnc        # NE2100, NE32-VL Lance Ethernet cards
1224
# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
1184
device          sn         # SMC's 9000 series of Ethernet chips
1225
# mode (the factory default). If you set the switches on your ISA
1185
device          xe         # Xircom pccard Ethernet
1226
# card for a manually chosen I/O address and IRQ, you must specify
1186
1227
# those parameters here.
1187
# ISA devices that use the old ISA shims
1228
device          an
1188
#device		le</programlisting>
1229
# The probe order of these is presently determined by i386/isa/isa_compat.c.
1230
device          ie0    at isa? port 0x300 irq 10 iomem 0xd0000
1231
device          fe0    at isa? port 0x300
1232
device          le0    at isa? port 0x300 irq 5 iomem 0xd0000
1233
device          lnc0   at isa? port 0x280 irq 10 drq 0
1234
device          cs0    at isa? port 0x300
1235
device          sn0    at isa? port 0x300 irq 10
1236
# requires PCCARD (PCMCIA) support to be activated
1237
#device         xe0    at isa?</programlisting>
1238
1189
1239
    <para>ISA Ethernet drivers.  See
1190
    <para>ISA Ethernet drivers.  See
1240
      <filename>/usr/src/sys/i386/conf/LINT</filename> for which cards are
1191
      <filename>/usr/src/sys/i386/conf/NOTES</filename> for which cards are
1241
      supported by which driver.</para>
1192
      supported by which driver.</para>
1242
1193
1243
    <programlisting>device   ether         # Ethernet support</programlisting>
1194
    <programlisting>device   ether         # Ethernet support</programlisting>
Lines 1247-1253 Link Here
1247
      &os;&nbsp;4.X use the line <literal>pseudo-device
1198
      &os;&nbsp;4.X use the line <literal>pseudo-device
1248
      ether</literal>.</para>
1199
      ether</literal>.</para>
1249
1200
1250
    <programlisting>device   sl      1     # Kernel SLIP</programlisting>
1201
   <programlisting>device   mem            # Memory and kernel memory devices</programlisting>
1202
1203
    <para>The system memory devices.</para>
1204
1205
   <programlisting>device   io             # I/O device</programlisting>
1206
1207
    <para>This is a controlled security hole that allows a process to gain
1208
      I/O privileges. This is useful in order to write userland programs
1209
      that can handle hardware directly.</para>
1210
1211
   <programlisting>device   random         # Entropy device</programlisting>
1212
1213
    <para>Cryptographically secure random number generator.</para>
1214
1215
    <programlisting>device   sl            # Kernel SLIP</programlisting>
1251
1216
1252
    <para><literal>sl</literal> is for SLIP support.  This has been almost
1217
    <para><literal>sl</literal> is for SLIP support.  This has been almost
1253
      entirely supplanted by PPP, which is easier to set up, better suited
1218
      entirely supplanted by PPP, which is easier to set up, better suited
Lines 1257-1263 Link Here
1257
      With &os;&nbsp;4.X use the line <literal>pseudo-device
1222
      With &os;&nbsp;4.X use the line <literal>pseudo-device
1258
      sl</literal>.</para>
1223
      sl</literal>.</para>
1259
1224
1260
    <programlisting>device   ppp     1     # Kernel PPP</programlisting>
1225
    <programlisting>device   ppp           # Kernel PPP</programlisting>
1261
1226
1262
    <para>This is for kernel PPP support for dial-up connections.  There
1227
    <para>This is for kernel PPP support for dial-up connections.  There
1263
      is also a version of PPP implemented as a userland application that
1228
      is also a version of PPP implemented as a userland application that
Lines 1334-1358 Link Here
1334
    </note>
1299
    </note>
1335
1300
1336
    <programlisting># USB support
1301
    <programlisting># USB support
1337
#device         uhci          # UHCI PCI-&gt;USB interface
1302
#device         uhci       # UHCI PCI-&gt;USB interface
1338
#device         ohci          # OHCI PCI-&gt;USB interface
1303
#device         ohci       # OHCI PCI-&gt;USB interface
1339
#device         usb           # USB Bus (required)
1304
device          usb        # USB Bus (required)
1340
#device         ugen          # Generic
1305
#device         udbp       # USB Double Bulk Pipe devices
1341
#device         uhid          # <quote>Human Interface Devices</quote>
1306
device          ugen       # Generic
1342
#device         ukbd          # Keyboard
1307
device          uhid       # <quote>Human Interface Devices</quote>
1343
#device         ulpt          # Printer
1308
device          ukbd       # Keyboard
1344
#device         umass         # Disks/Mass storage - Requires scbus and da
1309
device          ulpt       # Printer
1345
#device         ums           # Mouse
1310
device          umass      # Disks/Mass storage - Requires scbus and da
1311
device          ums        # Mouse
1312
device          urio       # Diamond Rio 500 MP3 player
1313
device          uscanner   # Scanners
1346
# USB Ethernet, requires mii
1314
# USB Ethernet, requires mii
1347
#device         aue           # ADMtek USB ethernet
1315
device          aue        # ADMtek USB Ethernet
1348
#device         cue           # CATC USB ethernet
1316
device          axe        # ASIX Electronics USB Ethernet
1349
#device         kue           # Kawasaki LSI USB ethernet</programlisting>
1317
device          cue        # CATC USB Ethernet
1318
device          kue        # Kawasaki LSI USB Ethernet
1319
device          rue        # RealTek RTL8150 USB Ethernet</programlisting>
1350
1320
1351
    <para>Support for various USB devices.</para>
1321
    <para>Support for various USB devices.</para>
1352
1322
1323
    <programlisting># FireWire support
1324
device          firewire   # FireWire bus code
1325
device          sbp        # SCSI over FireWire (Requires scbus and da)
1326
device          fwe        # Ethernet over FireWire (non-standard!)</programlisting>
1327
1328
    <para>Support for Firewire devices.</para>
1329
1353
    <para>For more information and additional devices supported by
1330
    <para>For more information and additional devices supported by
1354
      &os;, see
1331
      &os;, see
1355
      <filename>/usr/src/sys/i386/conf/LINT</filename>.</para>
1332
      <filename>/usr/src/sys/i386/conf/NOTES</filename>.</para>
1356
1333
1357
      <sect2>
1334
      <sect2>
1358
        <title>Large Memory Configurations (<acronym>PAE</acronym>)</title>
1335
        <title>Large Memory Configurations (<acronym>PAE</acronym>)</title>

Return to bug 70674