package/linux-firmware: add option for Chelsio cxgb4 T5
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 21 Sep 2014 18:38:12 +0000 (20:38 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Sep 2014 19:15:03 +0000 (21:15 +0200)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Config.in.legacy
package/linux-firmware/Config.in
package/linux-firmware/linux-firmware.mk

index f7bde7fcd3db39af0cb597010b542de2ebef767a..e233e3c648f6e7373c80e21fa472b5b9f448839f 100644 (file)
@@ -101,6 +101,14 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2014.11"
 
+config BR2_PACKAGE_LINUX_FIRMWARE_CXGB4
+       bool "Chelsio T4 option has been renamed"
+       select BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T4
+       help
+         The Chelsio T4 option BR2_PACKAGE_LINUX_FIRMWARE_CXGB4
+         has been renamed to BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T4
+         to better account for the fact that a T5 variant exists.
+
 config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160_7260_7
        bool "BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160_7260_7 has been renamed"
        help
index 00c7edb80348a90fe270d9139e5ead5f1db80092..9d39df8941ea2232f43daea57ee14c31cdec989f 100644 (file)
@@ -183,10 +183,16 @@ config BR2_PACKAGE_LINUX_FIRMWARE_BNX2X
        help
          Firmware files for Broadcom NetXtreme 10Gb ethernet cards (bnx2x)
 
-config BR2_PACKAGE_LINUX_FIRMWARE_CXGB4
+config BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T4
        bool "Chelsio T4"
        help
          Firmware files for Chelsio T4 1Gb and 10Gb ethernet cards (cxgb4)
+
+config BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T5
+       bool "Chelsio T5"
+       help
+         Firmware files for Chelsio T5 1Gb and 10Gb ethernet cards (cxgb4)
+
 endmenu
 
 menu "DVB firmware"
index 4e78c63e29ed070679a270a312056a3b11f80b27..bc036be4cfc46278322dd184756f1a0e5fe2cd7e 100644 (file)
@@ -191,12 +191,18 @@ LINUX_FIRMWARE_FILES += \
 # which is installed unconditionally
 endif
 
-ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_CXGB4),y)
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T4),y)
 # cxgb4/t4fw.bin is a symlink to cxgb4/t4fw-1.11.27.0.bin
 LINUX_FIRMWARE_FILES += cxgb4/t4fw-1.11.27.0.bin cxgb4/t4fw.bin
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.chelsio_firmware
 endif
 
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T5),y)
+# cxgb4/t5fw.bin is a symlink to cxgb4/t5fw-1.11.27.0.bin
+LINUX_FIRMWARE_FILES += cxgb4/t5fw-1.11.27.0.bin cxgb4/t5fw.bin
+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.chelsio_firmware
+endif
+
 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_XC5000),y)
 LINUX_FIRMWARE_FILES += dvb-fe-xc5000-1.6.114.fw
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.xc5000