7.5. 内核配置 -Part "A"

这些是您可以在提示符下输入 make config 后,从内核可配置选项列表中选择的选项,如上一节所述。一旦您在提示符下输入 make config,如上一步所述,将显示内核可配置选项列表,供您选择配置内核,您必须指明您希望在 Linux 系统中包含哪些特性和设备驱动程序,并选择如何包含对特定设备的支持。通常,对于每个配置选项,您必须回答以下选项之一:我们在示例配置中使用了简单的约定

示例 7-1. SMP 支持

           Symmetric multi-processing support (CONFIG_SMP) Y/M/N N
           
其中

Important: 重要的是要注意大写字母ny表示默认选择。如果设备没有模块化设备驱动程序,您将看不到[M]选项。有时会出现一个[?]选项出现在选项中。这意味着当您键入 ? + ENTER 键时,您可以获得有关该功能的更多信息。选择[?]帮助选项将打开另一个终端,描述该选项。

代码成熟度级别选项。
           
           Prompt for development and/or incomplete code/drivers (CONFIG_EXPERIMENTAL) N/y/?
           

处理器类型和特性。
               Processor family (386, 486/Cx486, 586/K5/5x86/6x86, Pentium/K6/TSC, PPro/6x86MX) [PPro/6x86MX]           
               Maximum Physical Memory (1GB, 2GB) [1GB]           
               Math emulation (CONFIG_MATH_EMULATION) N/y/?           
               MTRR (Memory Type Range Register) support (CONFIG_MTRR) N/y/?           
               Symmetric multi-processing support (CONFIG_SMP) Y/n/? N
             

可加载模块支持。
                Enable loadable module support (CONFIG_MODULES) Y/n/? N
              

通用设置。
                Networking support (CONFIG_NET) Y/n/?
                PCI support (CONFIG_PCI) Y/n/?
                PCI access mode (BIOS, Direct, Any [Any]
                PCI quirks (CONFIG_PCI_QUIRKS) Y/n/? N
                Backward-compatible /proc/pci (CONFIG_PCI_OLD_PROC) Y/n/? N
                MCA support (CONFIG_MCA) N/y/?
                SGI Visual Workstation support (CONFIG_VISWS) N/y/?
                System V IPC (CONFIG_SYSVIPC) Y/n/?
                BSD Process Accounting (CONFIG_BSD_PROCESS_ACCT) N/y/?
                Sysctl support (CONFIG_SYSCTL) Y/n/?
                Kernel support for a.out binaries (CONFIG_BINFMT_AOUT) Y/n/?
                Kernel support for ELF binaries (CONFIG_BINFMT_ELF) Y/n/?
                Kernel support for MISC. binaries (CONFIG_BINFMT_MISC) Y/n/?           
                Parallel port support (CONFIG_PARPORT) N/y/?           
                Advanced Power Management BIOS support (CONFIG_APM) N/y/?

              

即插即用支持。
           Plug and Play support (CONFIG_PNP) [N/y/?]    
               

块设备。
           Normal PC floppy disk support (CONFIG_BLK_DEV_FD) Y/n/?
           Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support (CONFIG_BLK_DEV_IDE) Y/n/?
           Use old disk-only driver on primary interface (CONFIG_BLK_DEV_HD_IDE)  N/y/?
           Include IDE/ATA-2 DISK support (CONFIG_BLK_DEV_IDEDISK)  Y/n/?
           Include IDE/ATAPI CDROM support (CONFIG_BLK_DEV_IDECD)  Y/n/?
           Include IDE/ATAPI TAPE support (CONFIG_BLK_DEV_IDETAPE)  N/y/?
           Include IDE/ATAPI FLOPPY support (CONFIG_BLK_DEV_IDEFLOPPY)  N/y/?
           SCSI emulation support (CONFIG_BLK_DEV_IDESCSI)  N/y/?
           CMD640 chipset bugfix/support (CONFIG_BLK_DEV_CMD640)  Y/n/? N
           RZ1000 chipset bugfix/support (CONFIG_BLK_DEV_RZ1000)  Y/n/? N
           Generic PCI IDE chipset support (CONFIG_BLK_DEV_IDEPCI)  Y/n/?
           Generic PCI bus-master DMA support (CONFIG_BLK_DEV_IDEDMA)  Y/n/?
           Boot off-board chipsets first support (CONFIG_BLK_DEV_OFFBOARD)  N/y/?
           Use DMA by default when available (CONFIG_IDEDMA_AUTO)  Y/n/?
           Other IDE chipset support (CONFIG_IDE_CHIPSETS)  N/y/?
           Loopback device support (CONFIG_BLK_DEV_LOOP)  N/y/?
           Network block device support (CONFIG_BLK_DEV_NBD)  N/y/?
           Multiple devices driver support (CONFIG_BLK_DEV_MD)  N/y/?
           RAM disk support (CONFIG_BLK_DEV_RAM)  N/y/?
           XT hard disk support (CONFIG_BLK_DEV_XD)  N/y/?
           Mylex DAC960/DAC1100 PCI RAID Controller support (CONFIG_BLK_DEV_DAC960)  N/y/? (NEW)
           Parallel port IDE device support (CONFIG_PARIDE)  N/y/?
           Compaq SMART2 support (CONFIG_BLK_CPQ_DA) [N/y/?] (NEW)