diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2016-10-19 12:09:45 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2016-10-19 12:09:45 +0200 |
commit | 0658527e1ebe666cabde9267b6afbe543314160c (patch) | |
tree | 9afe96f78fd33c15b80786f418ca77a32135b20a /target/linux/ramips | |
parent | 1ffb7e47be92e32a08d866399af83d4136e28e06 (diff) | |
download | mtk-20170518-0658527e1ebe666cabde9267b6afbe543314160c.zip mtk-20170518-0658527e1ebe666cabde9267b6afbe543314160c.tar.gz mtk-20170518-0658527e1ebe666cabde9267b6afbe543314160c.tar.bz2 |
switch to the new usbport LED trigger
This makes init.d script handle existing UCI entries using the new
trigger. It also switches all targets to use its package.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r-- | target/linux/ramips/image/mt7620.mk | 6 | ||||
-rw-r--r-- | target/linux/ramips/image/mt7621.mk | 18 | ||||
-rw-r--r-- | target/linux/ramips/image/mt7628.mk | 8 | ||||
-rw-r--r-- | target/linux/ramips/image/rt305x-legacy.mk | 12 | ||||
-rw-r--r-- | target/linux/ramips/image/rt305x.mk | 18 | ||||
-rw-r--r-- | target/linux/ramips/mt7620/profiles/00-default.mk | 2 | ||||
-rw-r--r-- | target/linux/ramips/mt7621/profiles/00-default.mk | 2 | ||||
-rw-r--r-- | target/linux/ramips/mt7628/profiles/00-default.mk | 2 | ||||
-rw-r--r-- | target/linux/ramips/mt7688/profiles/00-default.mk | 2 | ||||
-rw-r--r-- | target/linux/ramips/rt305x/profiles/00-default.mk | 2 |
10 files changed, 36 insertions, 36 deletions
diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk index ce55cde..35c94fe 100644 --- a/target/linux/ramips/image/mt7620.mk +++ b/target/linux/ramips/image/mt7620.mk @@ -225,7 +225,7 @@ define Device/hc5661 DTS := HC5661 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := HiWiFi HC5661 - DEVICE_PACKAGES := kmod-usb2 kmod-sdhci kmod-sdhci-mt7620 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb2 kmod-sdhci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += hc5661 @@ -233,7 +233,7 @@ define Device/hc5761 DTS := HC5761 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := HiWiFi HC5761 - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci kmod-sdhci-mt7620 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += hc5761 @@ -241,7 +241,7 @@ define Device/hc5861 DTS := HC5861 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := HiWiFi HC5861 - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci kmod-sdhci-mt7620 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += hc5861 diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index acaafc0..234c7a7 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -79,7 +79,7 @@ define Device/firewrt DTS := FIREWRT IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := Firefly FireWRT - DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += firewrt @@ -87,7 +87,7 @@ define Device/newifi-d1 DTS := Newifi-D1 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := Newifi D1 - DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev kmod-i2c-mt7621 + DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport kmod-i2c-mt7621 endef TARGET_DEVICES += newifi-d1 @@ -95,7 +95,7 @@ define Device/pbr-m1 DTS := PBR-M1 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := PBR-M1 - DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev kmod-ata-core kmod-ata-ahci \ + DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport kmod-ata-core kmod-ata-ahci \ kmod-rtc-pcf8563 kmod-i2c-mt7621 endef TARGET_DEVICES += pbr-m1 @@ -103,7 +103,7 @@ TARGET_DEVICES += pbr-m1 define Device/sap-g3200u3 DTS := SAP-G3200U3 DEVICE_TITLE := STORYLiNK SAP-G3200U3 - DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += sap-g3200u3 @@ -118,7 +118,7 @@ define Device/witi DTS := WITI IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := MQmaker WiTi - DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev kmod-ata-core kmod-ata-ahci \ + DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport kmod-ata-core kmod-ata-ahci \ kmod-rtc-pcf8563 kmod-i2c-mt7621 endef TARGET_DEVICES += witi @@ -135,7 +135,7 @@ define Device/zbt-wg2626 DTS := ZBT-WG2626 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := ZBT WG2626 - DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev kmod-ata-core kmod-ata-ahci + DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport kmod-ata-core kmod-ata-ahci endef TARGET_DEVICES += zbt-wg2626 @@ -143,7 +143,7 @@ define Device/zbt-wg3526 DTS := ZBT-WG3526 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := ZBT WG3526 - DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev kmod-ata-core kmod-ata-ahci + DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport kmod-ata-core kmod-ata-ahci endef TARGET_DEVICES += zbt-wg3526 @@ -157,7 +157,7 @@ define Device/wf-2881 UBINIZE_OPTS := -E 5 IMAGE/sysupgrade.bin := append-kernel | append-ubi | check-size $$$$(IMAGE_SIZE) DEVICE_TITLE := NETIS WF-2881 - DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += wf-2881 @@ -178,7 +178,7 @@ define Device/sk-wb8 DTS := SK-WB8 IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := SamKnows Whitebox 8 - DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev uboot-envtools + DEVICE_PACKAGES := kmod-usb3 kmod-usb-ledtrig-usbport uboot-envtools endef TARGET_DEVICES += sk-wb8 diff --git a/target/linux/ramips/image/mt7628.mk b/target/linux/ramips/image/mt7628.mk index 2a130b5..75fbb3d 100644 --- a/target/linux/ramips/image/mt7628.mk +++ b/target/linux/ramips/image/mt7628.mk @@ -7,7 +7,7 @@ define Device/mt7628 BLOCKSIZE := 64k IMAGE_SIZE := $(ralink_default_fw_size_4M) DEVICE_TITLE := MediaTek MT7628 EVB - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport endef TARGET_DEVICES += mt7628 @@ -15,7 +15,7 @@ define Device/miwifi-nano DTS := MIWIFI-NANO IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := Xiaomi MiWiFi Nano - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport endef TARGET_DEVICES += miwifi-nano @@ -23,14 +23,14 @@ define Device/wrtnode2p DTS := WRTNODE2P IMAGE_SIZE := $(ralink_default_fw_size_16M) DEVICE_TITLE := WRTnode 2P - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport endef TARGET_DEVICES += wrtnode2p define Device/duzun-dm06 DTS := DUZUN-DM06 DEVICE_TITLE := DuZun DM06 - DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport endef TARGET_DEVICES += duzun-dm06 diff --git a/target/linux/ramips/image/rt305x-legacy.mk b/target/linux/ramips/image/rt305x-legacy.mk index aa3320a..48ed73b 100644 --- a/target/linux/ramips/image/rt305x-legacy.mk +++ b/target/linux/ramips/image/rt305x-legacy.mk @@ -181,7 +181,7 @@ Image/Build/Profile/WHRG300N=$(call BuildFirmware/WHRG300N/$(1),$(1)) define LegacyDevice/ALL02393G DEVICE_TITLE := Allnet ALL0239-3G - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += ALL02393G @@ -230,7 +230,7 @@ TARGET_DEVICES += 3g-6200nl define LegacyDevice/3G300M DEVICE_TITLE := Tenda 3G300M - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += 3G300M @@ -251,7 +251,7 @@ LEGACY_DEVICES += ALL0256N define LegacyDevice/AWM002EVB DEVICE_TITLE := AsiaRF AWM002-EVB - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev \ + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \ kmod-i2c-core kmod-i2c-gpio endef LEGACY_DEVICES += AWM002EVB @@ -259,7 +259,7 @@ LEGACY_DEVICES += AWM002EVB define LegacyDevice/BROADWAY DEVICE_TITLE := Hauppauge Broadway - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef LEGACY_DEVICES += BROADWAY @@ -350,7 +350,7 @@ define Device/fonera20n IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | \ edimax-header -s RSDK -m NL1T -f 0x50000 -S 0xc0000 DEVICE_TITLE := Fonera 2.0N - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += fonera20n @@ -394,7 +394,7 @@ LEGACY_DEVICES += NW718 define LegacyDevice/PX-4885 DEVICE_TITLE := 7Links PX-4885 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev kmod-leds-gpio + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport kmod-leds-gpio endef LEGACY_DEVICES += PX-4885 diff --git a/target/linux/ramips/image/rt305x.mk b/target/linux/ramips/image/rt305x.mk index 835cb35..6bb9351 100644 --- a/target/linux/ramips/image/rt305x.mk +++ b/target/linux/ramips/image/rt305x.mk @@ -6,7 +6,7 @@ define Device/asl26555-8M DTS := ASL26555-8M IMAGE_SIZE := 7744k DEVICE_TITLE := Alpha ASL26555 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += asl26555-8M @@ -64,7 +64,7 @@ define Device/all5002 DTS := ALL5002 IMAGE_SIZE := 32448k DEVICE_TITLE := Allnet ALL5002 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev \ + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \ kmod-i2c-core kmod-i2c-gpio kmod-hwmon-lm92 kmod-gpio-pcf857x endef TARGET_DEVICES += all5002 @@ -74,7 +74,7 @@ define Device/all5003 DTS := ALL5003 IMAGE_SIZE := 32448k DEVICE_TITLE := Allnet ALL5003 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev \ + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \ kmod-i2c-core kmod-i2c-gpio kmod-hwmon-lm92 kmod-gpio-pcf857x endef TARGET_DEVICES += all5003 @@ -100,7 +100,7 @@ define Device/f7c027 DTS := F7C027 IMAGE_SIZE := 7616k DEVICE_TITLE := Belkin F7C027 - DEVICE_PACKAGES := -kmod-usb-core -kmod-usb-dwc2 -kmod-ledtrig-usbdev + DEVICE_PACKAGES := -kmod-usb-core -kmod-usb-dwc2 -kmod-usb-ledtrig-usbport endef TARGET_DEVICES += f7c027 @@ -180,7 +180,7 @@ TARGET_DEVICES += esr-9753 define Device/hw550-3g DTS := HW550-3G DEVICE_TITLE := Aztech HW550-3G - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += hw550-3g @@ -211,7 +211,7 @@ TARGET_DEVICES += ip2202 define Device/ht-tm02 DTS := HT-TM02 DEVICE_TITLE := HooToo HT-TM02 - DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += ht-tm02 @@ -229,7 +229,7 @@ define Device/3g150b IMAGE_SIZE := $(ralink_default_fw_size_4M) UIMAGE_NAME:= Linux Kernel Image DEVICE_TITLE := Tenda 3G150B - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += 3g150b @@ -498,7 +498,7 @@ define Device/ur-326n4g BLOCKSIZE := 64k IMAGE_SIZE := $(ralink_default_fw_size_4M) DEVICE_TITLE := UPVEL UR-326N4G - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += ur-326n4g @@ -506,7 +506,7 @@ TARGET_DEVICES += ur-326n4g define Device/ur-336un DTS := UR-336UN DEVICE_TITLE := UPVEL UR-336UN - DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-ledtrig-usbdev + DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport endef TARGET_DEVICES += ur-336un diff --git a/target/linux/ramips/mt7620/profiles/00-default.mk b/target/linux/ramips/mt7620/profiles/00-default.mk index a498e2b..912d288 100644 --- a/target/linux/ramips/mt7620/profiles/00-default.mk +++ b/target/linux/ramips/mt7620/profiles/00-default.mk @@ -7,7 +7,7 @@ define Profile/Default NAME:=Default Profile - PACKAGES:= kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev + PACKAGES:= kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport PRIORITY:=1 endef diff --git a/target/linux/ramips/mt7621/profiles/00-default.mk b/target/linux/ramips/mt7621/profiles/00-default.mk index 24e51f4..bf293d3 100644 --- a/target/linux/ramips/mt7621/profiles/00-default.mk +++ b/target/linux/ramips/mt7621/profiles/00-default.mk @@ -10,7 +10,7 @@ define Profile/Default PRIORITY:=1 PACKAGES:=\ kmod-usb-core kmod-usb3 \ - kmod-ledtrig-usbdev + kmod-usb-ledtrig-usbport endef define Profile/Default/Description diff --git a/target/linux/ramips/mt7628/profiles/00-default.mk b/target/linux/ramips/mt7628/profiles/00-default.mk index d0472a9..162ac14 100644 --- a/target/linux/ramips/mt7628/profiles/00-default.mk +++ b/target/linux/ramips/mt7628/profiles/00-default.mk @@ -8,7 +8,7 @@ define Profile/Default NAME:=Default Profile PRIORITY:=1 - PACKAGES:= kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev + PACKAGES:= kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport endef define Profile/Default/Description diff --git a/target/linux/ramips/mt7688/profiles/00-default.mk b/target/linux/ramips/mt7688/profiles/00-default.mk index d0472a9..162ac14 100644 --- a/target/linux/ramips/mt7688/profiles/00-default.mk +++ b/target/linux/ramips/mt7688/profiles/00-default.mk @@ -8,7 +8,7 @@ define Profile/Default NAME:=Default Profile PRIORITY:=1 - PACKAGES:= kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev + PACKAGES:= kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport endef define Profile/Default/Description diff --git a/target/linux/ramips/rt305x/profiles/00-default.mk b/target/linux/ramips/rt305x/profiles/00-default.mk index f2d1a52..a8ca716 100644 --- a/target/linux/ramips/rt305x/profiles/00-default.mk +++ b/target/linux/ramips/rt305x/profiles/00-default.mk @@ -10,7 +10,7 @@ define Profile/Default PRIORITY:=1 PACKAGES:=\ kmod-usb-core kmod-usb-dwc2 \ - kmod-ledtrig-usbdev + kmod-usb-ledtrig-usbport endef define Profile/Default/Description |