Changeset 9362


Ignore:
Timestamp:
2007-10-20T09:45:08+02:00 (10 years ago)
Author:
juhosg
Message:

[adm5120] add LEDs trigger for switch port states, thanks to Bernhard Held (closes: #2153)

Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/modules/other.mk

    r9262 r9362  
    280280 
    281281define KernelPackage/leds-adm5120/description 
    282  Kernel module for LEDs on ADM5120 based boards 
     282 Kernel module for LEDs on ADM5120 based boards. 
    283283endef 
    284284 
    285285$(eval $(call KernelPackage,leds-adm5120)) 
     286 
     287 
     288define KernelPackage/ledtrig-adm5120-switch 
     289  SUBMENU:=$(OTHER_MENU) 
     290  TITLE:=LED ADM5120 Switch Port Status Trigger 
     291  DEPENDS:=@TARGET_adm5120 
     292  KCONFIG:=CONFIG_LEDS_TRIGGER_ADM5120_SWITCH 
     293  FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-adm5120-switch.$(LINUX_KMOD_SUFFIX) 
     294  AUTOLOAD:=$(call AutoLoad,50,ledtrig-adm5120-switch) 
     295endef 
     296 
     297define KernelPackage/ledtrig-adm5120-switch/description 
     298 Kernel module to allow LEDs to be controlled by the port states 
     299 of the ADM5120 built-in ethernet switch. 
     300endef 
     301 
     302$(eval $(call KernelPackage,ledtrig-adm5120-switch)) 
    286303 
    287304 
  • trunk/target/linux/adm5120/router_be/config-2.6.23

    r9346 r9362  
    9393# CONFIG_LEDS_ADM5120_EXPERIMENTAL is not set 
    9494CONFIG_LEDS_GPIO=m 
     95CONFIG_LEDS_TRIGGER_ADM5120_SWITCH=m 
    9596CONFIG_LEGACY_PTYS=y 
    9697CONFIG_LEGACY_PTY_COUNT=256 
  • trunk/target/linux/adm5120/router_le/config-2.6.23

    r9346 r9362  
    9393# CONFIG_LEDS_ADM5120_EXPERIMENTAL is not set 
    9494CONFIG_LEDS_GPIO=m 
     95CONFIG_LEDS_TRIGGER_ADM5120_SWITCH=m 
    9596CONFIG_LEGACY_PTYS=y 
    9697CONFIG_LEGACY_PTY_COUNT=256 
Note: See TracChangeset for help on using the changeset viewer.