diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-04-16 08:03:53 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-04-16 08:03:53 +0000 |
commit | 333183a64ece55fc1cff3dd850401391ab6298c9 (patch) | |
tree | 1e790b35b75a557f37e74622c65d9556739bc60c /package/kernel/modules | |
parent | 57beb9a1cf2916a729dfdf6f3b83bc5c1153c6da (diff) |
Add profile for Soekris Net4801 boards (#1072)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6962 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules')
-rw-r--r-- | package/kernel/modules/i2c.mk | 14 | ||||
-rw-r--r-- | package/kernel/modules/other.mk | 70 |
2 files changed, 83 insertions, 1 deletions
diff --git a/package/kernel/modules/i2c.mk b/package/kernel/modules/i2c.mk index b33c58fdda..4d65b6ea3d 100644 --- a/package/kernel/modules/i2c.mk +++ b/package/kernel/modules/i2c.mk @@ -37,7 +37,19 @@ define KernelPackage/i2c-au1x00gpio SUBMENU:=$(I2CMENU) KCONFIG:=$(CONFIG_I2C_AU1X00GPIO) FILES:=$(MODULES_DIR)/kernel/drivers/i2c/busses/i2c-au1x00gpio.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call Autoload,70,i2c-au1x00gpio) + AUTOLOAD:=$(call Autoload,70,i2c-au1x00gpio) endef $(eval $(call KernelPackage,i2c-au1x00gpio)) +define KernelPackage/i2c-scx200 + TITLE:=SCX200 i2c support + DESCRIPTION:=Kernel module for SCX200 i2c bus + DEFAULT:=y if LINUX_2_6_X86_Soekris + DEPENDS:=kmod-i2c-core kmod-i2c-algos @LINUX_2_6_X86_Soekris + SUBMENU:=$(I2CMENU) + KCONFIG:=$(CONFIG_I2C_SCX200) + FILES:=$(MODULES_DIR)/kernel/drivers/i2c/busses/scx200_i2c.$(LINUX_KMOD_SUFFIX) \ + $(MODULES_DIR)/kernel/drivers/i2c/busses/i2c-isa.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,70,scx200_i2c) +endef +$(eval $(call KernelPackage,i2c-scx200)) diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 89b5b93ea0..0b09dec330 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -285,5 +285,75 @@ define KernelPackage/videodev/2.6 endef $(eval $(call KernelPackage,videodev)) +define KernelPackage/leds-net48xx + TITLE:=Soekris Net48xx LED support + DESCRIPTION:=Kernel module for Soekris Net48xx LEDs + DEFAULT:=y if LINUX_2_6_X86_Soekris + DEPENDS:=@LINUX_2_6_X86_Soekris + SUBMENU:=$(EMENU) + KCONFIG:=$(CONFIG_LEDS_NET48XX) + FILES:=$(MODULES_DIR)/kernel/drivers/leds/leds-net48xx.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,leds-net48xx) +endef +$(eval $(call KernelPackage,leds-net48xx)) + +define KernelPackage/nsc-gpio + TITLE:=Natsemi GPIO support + DESCRIPTION:=Kernel module for Natsemi GPIO + DEFAULT:=y if LINUX_2_6_X86_Soekris + DEPENDS:=@LINUX_2_6_X86_Soekris + SUBMENU:=$(EMENU) + KCONFIG:=$(CONFIG_NSC_GPIO) + FILES:=$(MODULES_DIR)/kernel/drivers/char/nsc_gpio.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,40,nsc_gpio) +endef +$(eval $(call KernelPackage,nsc-gpio)) + +define KernelPackage/scx200-gpio + TITLE:=Natsemi SCX200 GPIO support + DESCRIPTION:=Kernel module for SCX200 GPIO + DEFAULT:=y if LINUX_2_6_X86_Soekris + DEPENDS:=kmod-nsc-gpio @LINUX_2_6_X86_Soekris + SUBMENU:=$(EMENU) + KCONFIG:=$(CONFIG_SCx200_GPIO) + FILES:=$(MODULES_DIR)/kernel/drivers/char/scx200_gpio.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,scx200_gpio) +endef +$(eval $(call KernelPackage,scx200-gpio)) +define KernelPackage/scx200-wdt + TITLE:=Natsemi SCX200 Watchdog support + DESCRIPTION:=Kernel module for SCX200 Watchdog + DEFAULT:=y if LINUX_2_6_X86_Soekris + DEPENDS:=@LINUX_2_6_X86_Soekris + SUBMENU:=$(EMENU) + KCONFIG:=$(CONFIG_SC1200_WDT) + FILES:=$(MODULES_DIR)/kernel/drivers/char/watchdog/scx200_wdt.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,scx200_wt) +endef +$(eval $(call KernelPackage,scx200-wdt)) + +define KernelPackage/hwmon + TITLE:=Hardware monitoring support + DESCRIPTION:=Kernel modules for hardware monitoring + DEFAULT:=y if LINUX_2_6_X86_Soekris + SUBMENU:=$(EMENU) + KCONFIG:=$(CONFIG_HWMON_VID) + FILES:= \ + $(MODULES_DIR)/kernel/drivers/hwmon/hwmon.$(LINUX_KMOD_SUFFIX) \ + $(MODULES_DIR)/kernel/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,40,hwmon hwmon-vid) +endef +$(eval $(call KernelPackage,hwmon)) +define KernelPackage/hwmon-pc87360 + TITLE:=PC87360 monitoring support + DESCRIPTION:=Kernel modules for PC87360 chips + DEFAULT:=y if LINUX_2_6_X86_Soekris + DEPENDS:=kmod-hwmon + SUBMENU:=$(EMENU) + KCONFIG:=$(CONFIG_SENSORS_PC87360) + FILES:=$(MODULES_DIR)/kernel/drivers/hwmon/pc87360.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,pc87360) +endef +$(eval $(call KernelPackage,hwmon-pc87360)) |