X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/4ca99176f87ab63b54bc3a9526325122ed3bd5a0..97b242e088bb0df2146a4595067a3d05a7b9861f:/patch_kernel_config.pl?ds=inline diff --git a/patch_kernel_config.pl b/patch_kernel_config.pl index 4c7e83d..947ef8d 100644 --- a/patch_kernel_config.pl +++ b/patch_kernel_config.pl @@ -10,57 +10,63 @@ my @lines = `cat config`; chomp @lines; my %asahi_options = ( - 'CONFIG_APPLE_ADMAC' => 'm', + 'CONFIG_APPLE_ADMAC' => 'y', 'CONFIG_APPLE_AIC' => 'y', - 'CONFIG_APPLE_DART' => 'm', + 'CONFIG_APPLE_DART' => 'y', 'CONFIG_APPLE_MAILBOX' => 'y', 'CONFIG_APPLE_PLATFORMS' => 'y', 'CONFIG_APPLE_PMGR_PWRSTATE' => 'y', 'CONFIG_APPLE_RTKIT' => 'y', - 'CONFIG_APPLE_SART' => 'm', + 'CONFIG_APPLE_SART' => 'y', 'CONFIG_APPLE_SMC' => 'y', 'CONFIG_APPLE_SMC_RTKIT' => 'y', 'CONFIG_APPLE_WATCHDOG' => 'y', 'CONFIG_ARCH_APPLE' => 'y', - 'CONFIG_ARM_APPLE_SOC_CPUFREQ' => 'm', + 'CONFIG_ARM_APPLE_SOC_CPUFREQ' => 'y', 'CONFIG_BRCMFMAC' => 'm', 'CONFIG_BRCMFMAC_PCIE' => 'y', 'CONFIG_CFG80211_WEXT' => 'y', - 'CONFIG_CHARGER_MACSMC' => 'm', - 'CONFIG_COMMON_CLK_APPLE_NCO' => 'm', + 'CONFIG_CHARGER_MACSMC' => 'y', + 'CONFIG_COMMON_CLK_APPLE_NCO' => 'y', 'CONFIG_DRM' => 'y', 'CONFIG_DRM_SIMPLEDRM' => 'y', 'CONFIG_FW_LOADER_USER_HELPER' => 'n', 'CONFIG_FW_LOADER_USER_HELPER_FALLBACK' => 'n', 'CONFIG_GPIO_MACSMC' => 'y', - 'CONFIG_HID_APPLE' => 'm', - 'CONFIG_HID_MAGICMOUSE' => 'm', - 'CONFIG_I2C_APPLE' => 'm', - 'CONFIG_MFD_APPLE_SPMI_PMU' => 'm', - 'CONFIG_MMC_SDHCI_PCI' => 'm', + 'CONFIG_HID_APPLE' => 'y', + 'CONFIG_HID_MAGICMOUSE' => 'y', + 'CONFIG_I2C_APPLE' => 'y', + 'CONFIG_MFD_APPLE_SPMI_PMU' => 'y', + 'CONFIG_MMC_SDHCI_PCI' => 'y', 'CONFIG_NLMON' => 'm', - 'CONFIG_NVMEM_SPMI_MFD' => 'm', - 'CONFIG_NVME_APPLE' => 'm', - 'CONFIG_PCIE_APPLE' => 'm', - 'CONFIG_PINCTRL_APPLE_GPIO' => 'm', - 'CONFIG_POWER_RESET_MACSMC' => 'm', - 'CONFIG_RTC_DRV_MACSMC' => 'm', - 'CONFIG_SND_SIMPLE_CARD' => 'm', - 'CONFIG_SND_SOC_APPLE_MCA' => 'm', - 'CONFIG_SND_SOC_APPLE_SILICON' => 'm', - 'CONFIG_SND_SOC_CS42L42' => 'm', + 'CONFIG_NVMEM_SPMI_MFD' => 'y', + 'CONFIG_NVME_APPLE' => 'y', + 'CONFIG_PCIE_APPLE' => 'y', + 'CONFIG_PINCTRL_APPLE_GPIO' => 'y', + 'CONFIG_POWER_RESET_MACSMC' => 'y', + 'CONFIG_RTC_DRV_MACSMC' => 'y', + 'CONFIG_SND_SIMPLE_CARD' => 'y', + 'CONFIG_SND_SOC_APPLE_MCA' => 'y', + 'CONFIG_SND_SOC_APPLE_SILICON' => 'y', + 'CONFIG_SND_SOC_CS42L42' => 'y', 'CONFIG_SND_SOC_TAS2770' => 'm', - 'CONFIG_SPI_APPLE' => 'm', - 'CONFIG_SPI_HID_APPLE_CORE' => 'm', - 'CONFIG_SPI_HID_APPLE_OF' => 'm', - 'CONFIG_SPMI_APPLE' => 'm', - 'CONFIG_USB_DWC3' => 'm', + 'CONFIG_SPI_APPLE' => 'y', + 'CONFIG_SPI_HID_APPLE_CORE' => 'y', + 'CONFIG_SPI_HID_APPLE_OF' => 'y', + 'CONFIG_SPMI_APPLE' => 'y', + 'CONFIG_USB_DWC3' => 'y', + 'CONFIG_USB_DWC3_PCI' => 'y', + 'CONFIG_FB_EFI' => 'y', 'CONFIG_BACKLIGHT_CLASS_DEVICE' => 'y', - 'CONFIG_BACKLIGHT_GPIO' => 'y', - 'CONFIG_TYPEC_TPS6598X' => 'm', + 'CONFIG_BACKLIGHT_GPIO' => 'm', + 'CONFIG_TYPEC_TPS6598X' => 'y', 'CONFIG_BT_HCIBCM4377' => 'm', 'CONFIG_HID_DOCKCHANNEL' => 'm', 'CONFIG_APPLE_DOCKCHANNEL' => 'm', + 'CONFIG_SND_SOC_CS42L84' => 'm', + 'CONFIG_SND_SOC_TAS2780' => 'm', + 'CONFIG_USB_XHCI_PCI_ASMEDIA' => 'y', + ); my %debian_options;