From: Christian Lamparter Date: Sun, 13 Feb 2022 12:29:23 +0000 (+0100) Subject: apm821xx: add alternative names for supported devices X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b45f3c435ad30d470d95861a0821384ac1608ec1;p=openwrt%2Fstaging%2Flinusw.git 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 --- 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