X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Fx86%2Fmodules.mk;h=70a64ffdb4fa05c583d7945f8dfd18026c9c3f23;hb=6c02dd2b042ed9bd09a3a9899f4661bf13d82741;hp=2942b3a5f688f8ec27c13c3db5f2811e8822a8b9;hpb=2bfb2a797c5902a465d0b7b2499e44100ec1987f;p=oweals%2Fopenwrt.git diff --git a/target/linux/x86/modules.mk b/target/linux/x86/modules.mk index 2942b3a5f6..70a64ffdb4 100644 --- a/target/linux/x86/modules.mk +++ b/target/linux/x86/modules.mk @@ -246,3 +246,69 @@ endef $(eval $(call KernelPackage,wdt-scx200)) +I2C_SCX200_MODULES:=\ + CONFIG_SCx200_I2C:drivers/i2c/busses/scx200_i2c + +define KernelPackage/i2c-scx200 + $(call i2c_defaults,$(I2C_SCX200_MODULES),59) + TITLE:=Geode SCx200 I2C using GPIO pins + DEPENDS:=@PCI_SUPPORT @TARGET_x86 +kmod-i2c-algo-bit + KCONFIG+= \ + CONFIG_SCx200_I2C_SCL=12 \ + CONFIG_SCx200_I2C_SDA=13 +endef + +define KernelPackage/i2c-scx200/description + Kernel module for I2C using GPIO pins on the Geode SCx200 processors. +endef + +$(eval $(call KernelPackage,i2c-scx200)) + + +I2C_SCX200_ACB_MODULES:=\ + CONFIG_SCx200_ACB:drivers/i2c/busses/scx200_acb + +define KernelPackage/i2c-scx200-acb + $(call i2c_defaults,$(I2C_SCX200_ACB_MODULES),59) + TITLE:=Geode SCx200 ACCESS.bus support + DEPENDS:=@PCI_SUPPORT @TARGET_x86 +kmod-i2c-algo-bit +endef + +define KernelPackage/i2c-scx200-acb/description + Kernel module for I2C using the ACCESS.bus controllers on the Geode SCx200 + and SC1100 processors and the CS5535 and CS5536 Geode companion devices. +endef + +$(eval $(call KernelPackage,i2c-scx200-acb)) + + +define KernelPackage/leds-wrap + SUBMENU:=$(LEDS_MENU) + TITLE:=PCengines WRAP LED support + DEPENDS:=@TARGET_x86 +kmod-gpio-scx200 + KCONFIG:=CONFIG_LEDS_WRAP + FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.ko + AUTOLOAD:=$(call AutoLoad,50,leds-wrap) +endef + +define KernelPackage/leds-wrap/description + Kernel module for PCengines WRAP LEDs +endef + +$(eval $(call KernelPackage,leds-wrap)) + + +define KernelPackage/leds-net48xx + SUBMENU:=$(LEDS_MENU) + TITLE:=Soekris Net48xx LED support + DEPENDS:=@TARGET_x86 +kmod-gpio-scx200 + KCONFIG:=CONFIG_LEDS_NET48XX + FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.ko + AUTOLOAD:=$(call AutoLoad,50,leds-net48xx) +endef + +define KernelPackage/leds-net48xx/description + Kernel module for Soekris Net48xx LEDs +endef + +$(eval $(call KernelPackage,leds-net48xx))