aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2022-02-13 13:29:23 +0100
committerChristian Lamparter <chunkeey@gmail.com>2022-02-19 18:27:40 +0100
commitb45f3c435ad30d470d95861a0821384ac1608ec1 (patch)
tree32edc46a637999bd3573650e2a5e5c72a440d7bf
parent2fd049f5cdeebebfc91084ea316ac1fa2b84a369 (diff)
downloadupstream-b45f3c435ad30d470d95861a0821384ac1608ec1.tar.gz
upstream-b45f3c435ad30d470d95861a0821384ac1608ec1.tar.bz2
upstream-b45f3c435ad30d470d95861a0821384ac1608ec1.zip
apm821xx: add alternative names for supported devices
with the introduction of the DEVICE_ALTX_VENDOR, DEVICE_ALTX_MODEL multiple/sibiling devices can seemingly supported by one device entry. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
-rw-r--r--target/linux/apm821xx/image/nand.mk8
-rw-r--r--target/linux/apm821xx/image/sata.mk4
2 files changed, 9 insertions, 3 deletions
diff --git a/target/linux/apm821xx/image/nand.mk b/target/linux/apm821xx/image/nand.mk
index fa3ad6de20..db3c9c0722 100644
--- a/target/linux/apm821xx/image/nand.mk
+++ b/target/linux/apm821xx/image/nand.mk
@@ -42,7 +42,9 @@ TARGET_DEVICES += meraki_mr24
define Device/meraki_mx60
DEVICE_VENDOR := Cisco Meraki
- DEVICE_MODEL := MX60/MX60W
+ DEVICE_MODEL := MX60
+ DEVICE_ALT0_VENDOR := Cisco Meraki
+ DEVICE_ALT0_MODEL := MX60W
DEVICE_PACKAGES := kmod-spi-gpio kmod-usb-ledtrig-usbport kmod-usb-dwc2 \
kmod-usb-storage block-mount
BLOCKSIZE := 128k
@@ -91,7 +93,9 @@ TARGET_DEVICES += netgear_wndap660
define Device/netgear_wndr4700
DEVICE_VENDOR := NETGEAR
- DEVICE_MODEL := Centria N900 WNDR4700/WNDR4720
+ DEVICE_MODEL := Centria N900 WNDR4700
+ DEVICE_ALT0_VENDOR := NETGEAR
+ DEVICE_ALT0_MODEL := Centria N900 WNDR4720
DEVICE_PACKAGES := badblocks block-mount e2fsprogs kmod-hwmon-drivetemp \
kmod-dm kmod-fs-ext4 kmod-fs-vfat kmod-usb-ledtrig-usbport \
kmod-md-mod kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-iso8859-15 \
diff --git a/target/linux/apm821xx/image/sata.mk b/target/linux/apm821xx/image/sata.mk
index bcb612c22f..40bd2807c9 100644
--- a/target/linux/apm821xx/image/sata.mk
+++ b/target/linux/apm821xx/image/sata.mk
@@ -5,7 +5,9 @@ endef
define Device/wd_mybooklive
DEVICE_VENDOR := Western Digital
- DEVICE_MODEL := My Book Live Series (Single + Duo)
+ DEVICE_MODEL := My Book Live
+ DEVICE_ALT0_VENDOR := Western Digital
+ DEVICE_ALT0_MODEL := My Book Live Duo
DEVICE_PACKAGES := kmod-usb-dwc2 kmod-usb-ledtrig-usbport kmod-usb-storage kmod-fs-vfat wpad-basic-wolfssl
SUPPORTED_DEVICES += mbl wd,mybooklive-duo
BLOCKSIZE := 1k