anchor.diff:    PPP_MULTILINK y # PPP multilink support
     PPP_FILTER y
     REGULATOR y # Voltage and Current Regulator Support
  -  ${optionalString (versionAtLeast version "3.6") ''
  -    RC_DEVICES? y # Enable IR devices
  -  ''}
  -  ${optionalString (versionAtLeast version "3.10") ''
  -    RT2800USB_RT55XX y
  -  ''}
  +  RC_DEVICES? y # Enable IR devices
  +  RT2800USB_RT55XX y
  +  SCHED_AUTOGROUP y
     SCSI_LOGGING y # SCSI logging facility
     SERIAL_8250 y # 8250/16550 and compatible serial support
     SLIP_COMPRESSED y # CSLIP compressed headers
  
positive.code:   ${optionalString (!stdenv.is64bit) ''
      HIGHMEM64G? y # We need 64 GB (PAE) support for Xen guest support.
    ''}
    ${optionalString (versionAtLeast version "3.9" && stdenv.is64bit) ''
      VFIO_PCI_VGA y
    ''}
    VIRT_DRIVERS y
  
    # Media support.
    ${optionalString (versionAtLeast version "3.6") ''
      MEDIA_DIGITAL_TV_SUPPORT y
      MEDIA_CAMERA_SUPPORT y
      MEDIA_RC_SUPPORT y
    ''}
    ${optionalString (versionAtLeast version "3.7") ''
      MEDIA_USB_SUPPORT y
      ${optionalString (!(features.chromiumos or false)) ''
        MEDIA_PCI_SUPPORT y
      ''}
    ''}
  
    # Our initrd init uses shebang scripts, so can't be modular.
    ${optionalString (versionAtLeast version "3.10") ''
      BINFMT_SCRIPT y
    ''}
  
    # For systemd-binfmt
    BINFMT_MISC? y
  
negative.code:   DEVTMPFS y
  
    # Easier debugging of NFS issues.
    SUNRPC_DEBUG y
  
    # Virtualisation.
    PARAVIRT? y
    HYPERVISOR_GUEST y
    PARAVIRT_SPINLOCKS? y
    KVM_APIC_ARCHITECTURE y
    KVM_ASYNC_PF y
    ${optionalString (versionAtLeast version "4.0") ''
      KVM_COMPAT? y
    ''}
    KVM_DEVICE_ASSIGNMENT? y
    ${optionalString (versionAtLeast version "4.0") ''
      KVM_GENERIC_DIRTYLOG_READ_PROTECT y
    ''}
  