Add profile for Soekris Net4801 boards (#1072)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6962 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
a058031334
commit
ba1552f840
|
@ -37,7 +37,19 @@ define KernelPackage/i2c-au1x00gpio
|
||||||
SUBMENU:=$(I2CMENU)
|
SUBMENU:=$(I2CMENU)
|
||||||
KCONFIG:=$(CONFIG_I2C_AU1X00GPIO)
|
KCONFIG:=$(CONFIG_I2C_AU1X00GPIO)
|
||||||
FILES:=$(MODULES_DIR)/kernel/drivers/i2c/busses/i2c-au1x00gpio.$(LINUX_KMOD_SUFFIX)
|
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
|
endef
|
||||||
$(eval $(call KernelPackage,i2c-au1x00gpio))
|
$(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))
|
||||||
|
|
|
@ -285,5 +285,75 @@ define KernelPackage/videodev/2.6
|
||||||
endef
|
endef
|
||||||
$(eval $(call KernelPackage,videodev))
|
$(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))
|
||||||
|
|
|
@ -124,6 +124,9 @@ CONFIG_GENERIC_ISA_DMA=y
|
||||||
# CONFIG_HIGHMEM64G is not set
|
# CONFIG_HIGHMEM64G is not set
|
||||||
# CONFIG_HPET_TIMER is not set
|
# CONFIG_HPET_TIMER is not set
|
||||||
# CONFIG_HUGETLBFS is not set
|
# CONFIG_HUGETLBFS is not set
|
||||||
|
CONFIG_HWMON=m
|
||||||
|
# CONFIG_HWMON_DEBUG_CHIP is not set
|
||||||
|
CONFIG_HWMON_VID=m
|
||||||
CONFIG_HW_CONSOLE=y
|
CONFIG_HW_CONSOLE=y
|
||||||
CONFIG_HW_RANDOM=y
|
CONFIG_HW_RANDOM=y
|
||||||
# CONFIG_HW_RANDOM_AMD is not set
|
# CONFIG_HW_RANDOM_AMD is not set
|
||||||
|
@ -150,6 +153,7 @@ CONFIG_I2C_CHARDEV=m
|
||||||
# CONFIG_I2C_ELEKTOR is not set
|
# CONFIG_I2C_ELEKTOR is not set
|
||||||
# CONFIG_I2C_I801 is not set
|
# CONFIG_I2C_I801 is not set
|
||||||
# CONFIG_I2C_I810 is not set
|
# CONFIG_I2C_I810 is not set
|
||||||
|
CONFIG_I2C_ISA=m
|
||||||
# CONFIG_I2C_NFORCE2 is not set
|
# CONFIG_I2C_NFORCE2 is not set
|
||||||
# CONFIG_I2C_OCORES is not set
|
# CONFIG_I2C_OCORES is not set
|
||||||
# CONFIG_I2C_PARPORT_LIGHT is not set
|
# CONFIG_I2C_PARPORT_LIGHT is not set
|
||||||
|
@ -327,7 +331,7 @@ CONFIG_PAGE_OFFSET=0xC0000000
|
||||||
# CONFIG_PATA_TRIFLEX is not set
|
# CONFIG_PATA_TRIFLEX is not set
|
||||||
# CONFIG_PATA_VIA is not set
|
# CONFIG_PATA_VIA is not set
|
||||||
# CONFIG_PATA_WINBOND is not set
|
# CONFIG_PATA_WINBOND is not set
|
||||||
# CONFIG_PC8736x_GPIO is not set
|
CONFIG_PC8736x_GPIO=m
|
||||||
# CONFIG_PCIEPORTBUS is not set
|
# CONFIG_PCIEPORTBUS is not set
|
||||||
# CONFIG_PCIPCWATCHDOG is not set
|
# CONFIG_PCIPCWATCHDOG is not set
|
||||||
CONFIG_PCI_BIOS=y
|
CONFIG_PCI_BIOS=y
|
||||||
|
@ -396,13 +400,55 @@ CONFIG_SCx200_I2C_SDA=13
|
||||||
CONFIG_SCx200_WDT=m
|
CONFIG_SCx200_WDT=m
|
||||||
# CONFIG_SECCOMP is not set
|
# CONFIG_SECCOMP is not set
|
||||||
CONFIG_SEMAPHORE_SLEEPERS=y
|
CONFIG_SEMAPHORE_SLEEPERS=y
|
||||||
|
# CONFIG_SENSORS_ABITUGURU is not set
|
||||||
|
# CONFIG_SENSORS_ADM1021 is not set
|
||||||
|
# CONFIG_SENSORS_ADM1025 is not set
|
||||||
|
# CONFIG_SENSORS_ADM1026 is not set
|
||||||
|
# CONFIG_SENSORS_ADM1031 is not set
|
||||||
|
# CONFIG_SENSORS_ADM9240 is not set
|
||||||
|
# CONFIG_SENSORS_ASB100 is not set
|
||||||
|
# CONFIG_SENSORS_ATXP1 is not set
|
||||||
# CONFIG_SENSORS_DS1337 is not set
|
# CONFIG_SENSORS_DS1337 is not set
|
||||||
# CONFIG_SENSORS_DS1374 is not set
|
# CONFIG_SENSORS_DS1374 is not set
|
||||||
|
# CONFIG_SENSORS_DS1621 is not set
|
||||||
# CONFIG_SENSORS_EEPROM is not set
|
# CONFIG_SENSORS_EEPROM is not set
|
||||||
|
# CONFIG_SENSORS_F71805F is not set
|
||||||
|
# CONFIG_SENSORS_FSCHER is not set
|
||||||
|
# CONFIG_SENSORS_FSCPOS is not set
|
||||||
|
# CONFIG_SENSORS_GL518SM is not set
|
||||||
|
# CONFIG_SENSORS_GL520SM is not set
|
||||||
|
# CONFIG_SENSORS_HDAPS is not set
|
||||||
|
# CONFIG_SENSORS_IT87 is not set
|
||||||
|
# CONFIG_SENSORS_K8TEMP is not set
|
||||||
|
# CONFIG_SENSORS_LM63 is not set
|
||||||
|
# CONFIG_SENSORS_LM75 is not set
|
||||||
|
# CONFIG_SENSORS_LM77 is not set
|
||||||
|
# CONFIG_SENSORS_LM78 is not set
|
||||||
|
# CONFIG_SENSORS_LM80 is not set
|
||||||
|
# CONFIG_SENSORS_LM83 is not set
|
||||||
|
# CONFIG_SENSORS_LM85 is not set
|
||||||
|
# CONFIG_SENSORS_LM87 is not set
|
||||||
|
# CONFIG_SENSORS_LM90 is not set
|
||||||
|
# CONFIG_SENSORS_LM92 is not set
|
||||||
|
# CONFIG_SENSORS_MAX1619 is not set
|
||||||
# CONFIG_SENSORS_MAX6875 is not set
|
# CONFIG_SENSORS_MAX6875 is not set
|
||||||
|
CONFIG_SENSORS_PC87360=m
|
||||||
# CONFIG_SENSORS_PCA9539 is not set
|
# CONFIG_SENSORS_PCA9539 is not set
|
||||||
# CONFIG_SENSORS_PCF8574 is not set
|
# CONFIG_SENSORS_PCF8574 is not set
|
||||||
# CONFIG_SENSORS_PCF8591 is not set
|
# CONFIG_SENSORS_PCF8591 is not set
|
||||||
|
# CONFIG_SENSORS_SIS5595 is not set
|
||||||
|
# CONFIG_SENSORS_SMSC47B397 is not set
|
||||||
|
# CONFIG_SENSORS_SMSC47M1 is not set
|
||||||
|
# CONFIG_SENSORS_SMSC47M192 is not set
|
||||||
|
# CONFIG_SENSORS_VIA686A is not set
|
||||||
|
# CONFIG_SENSORS_VT1211 is not set
|
||||||
|
# CONFIG_SENSORS_VT8231 is not set
|
||||||
|
# CONFIG_SENSORS_W83627EHF is not set
|
||||||
|
# CONFIG_SENSORS_W83627HF is not set
|
||||||
|
# CONFIG_SENSORS_W83781D is not set
|
||||||
|
# CONFIG_SENSORS_W83791D is not set
|
||||||
|
# CONFIG_SENSORS_W83792D is not set
|
||||||
|
# CONFIG_SENSORS_W83L785TS is not set
|
||||||
# CONFIG_SERIAL_8250_EXTENDED is not set
|
# CONFIG_SERIAL_8250_EXTENDED is not set
|
||||||
# CONFIG_SERIAL_8250_PNP is not set
|
# CONFIG_SERIAL_8250_PNP is not set
|
||||||
CONFIG_SERIO=y
|
CONFIG_SERIO=y
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2006 OpenWrt.org
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
|
define Profile/Soekris
|
||||||
|
NAME:=Soekris Net4801
|
||||||
|
PACKAGES:=kmod-i2c-scx200 kmod-natsemi kmod-leds-net48xx kmod-scx200-gpio kmod-scx200-wdt kmod-hwmon-pc87360
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Profile/Soekris/Description
|
||||||
|
Package set compatible with the Soekris Net4801. Contains I2C/LEDS/GPIO/Sensors support
|
||||||
|
endef
|
||||||
|
$(eval $(call Profile,Soekris))
|
Loading…
Reference in New Issue