diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2018-06-30 14:05:29 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2018-06-30 16:01:41 +0300 |
commit | ab340f782913195bdcabcde257a7ecde0b598d1b (patch) | |
tree | 6ed9358f2ccfe48e57aa1c350e9dd0b7b6fdd2cd /pkgs | |
parent | fc816e5609ba660bb56b589db2417fa247ce60d2 (diff) |
kernel config: Minor text fixes
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/os-specific/linux/kernel/common-config.nix | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 4b0fa9d84eadf..100ac73d88125 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -210,12 +210,11 @@ let PSS_MIXER = whenOlder "4.12" yes; }; - # Include firmware for various USB serial devices. - # Only applicable for kernels below 4.16, after that no firmware is shipped in the kernel tree. usb-serial = { USB_SERIAL_GENERIC = yes; # USB Generic Serial Driver } // optionalAttrs (versionOlder version "4.16") { - # include firmware for various USB serial devices + # Include firmware for various USB serial devices. + # Only applicable for kernels below 4.16, after that no firmware is shipped in the kernel tree. USB_SERIAL_KEYSPAN_MPR = yes; USB_SERIAL_KEYSPAN_USA28 = yes; USB_SERIAL_KEYSPAN_USA28X = yes; @@ -315,10 +314,10 @@ let # Native Language Support modules, needed by some filesystems NLS = yes; - NLS_DEFAULT = "utf8"; + NLS_DEFAULT = "utf8"; NLS_UTF8 = module; - NLS_CODEPAGE_437 = module; # VFAT default for the codepage = mount option - NLS_ISO8859_1 = module; # VFAT default for the iocharset= mount option + NLS_CODEPAGE_437 = module; # VFAT default for the codepage= mount option + NLS_ISO8859_1 = module; # VFAT default for the iocharset= mount option DEVTMPFS = yes; }; @@ -494,13 +493,12 @@ let IRQ_REMAP = yes; }; - - # For older kernels, painstakingly disable each symbol. + # Disable various self-test modules that have no use in a production system tests = { - # Disable various self-test modules that have no use in a production system # This menu disables all/most of them on >= 4.16 RUNTIME_TESTING_MENU = option no; } // optionalAttrs (versionOlder version "4.16") { + # For older kernels, painstakingly disable each symbol. ARM_KPROBES_TEST = option no; ASYNC_RAID6_TEST = option no; ATOMIC64_SELFTEST = option no; @@ -554,7 +552,6 @@ let DEBUG_MEMORY_INIT = option yes; }); - misc = { MODULE_COMPRESS = yes; MODULE_COMPRESS_XZ = yes; @@ -568,7 +565,6 @@ let BLK_DEV_RAM = yes; BLK_DEV_INITRD = yes; - PM_TRACE_RTC = no; # Disable some expensive (?) features. ACCESSIBILITY = yes; # Accessibility support AUXDISPLAY = yes; # Auxiliary Display support @@ -583,7 +579,6 @@ let SPI = yes; # needed for many devices SPI_MASTER = yes; - "8139TOO_8129" = yes; "8139TOO_PIO" = no; # PIO is slower @@ -644,7 +639,6 @@ let # 8 is default. Modern gpt tables on eMMC may go far beyond 8. MMC_BLOCK_MINORS = "32"; - REGULATOR = yes; # Voltage and Current Regulator Support RC_DEVICES = option yes; # Enable IR devices @@ -686,4 +680,3 @@ let }; }; in (generateNixKConf ((flattenKConf options) // structuredExtraConfig) mkValueOverride) + extraConfig - |