Skip to contentSkip to conversation

linux-firmware: Add QLogic FC Adapters

PATCH New Samuel Mendoza-Jonas 3 participants 3 messages Aug 16, 2017 – Aug 21, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-firmware: Add QLogic FC Adapters

Add a config option to install the ql2xxx firmware binaries for QLogic Fibre Channel adapters.
Since this doesn't quite fit under the existing categories in Config.in, include it under a new category named "Fibre Channel Adapter Firmware".

---
Very open to suggestion about the category, just saw that it didn't really fit under any of the existing headings.

 package/linux-firmware/Config.in         | 9 +++++++++
 package/linux-firmware/linux-firmware.mk | 8 ++++++++
 2 files changed, 17 insertions(+)
package/linux-firmware/Config.in +9 -0
index f0d64763d8..ad750e82ff 100644
@@ -329,4 +329,13 @@ config BR2_PACKAGE_LINUX_FIRMWARE_IMX_SDMA
 
 endmenu
 
+menu "Fibre Channel Adapter Firmware"
+
+config BR2_PACKAGE_LINUX_FIRMWARE_QLOGIC_2XXX
+	bool "QLogic 2xxx Fibre Channel Adapters"
+	help
+	  Firmware files for ql2xxx adapters
+
+endmenu
+
 endif
package/linux-firmware/linux-firmware.mk +8 -0
index e03788a3b5..b01585fbe4 100644
@@ -414,6 +414,14 @@ LINUX_FIRMWARE_FILES += \
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx
 endif
 
+# ql2xxx
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QLOGIC_2XXX),y)
+LINUX_FIRMWARE_FILES += \
+	ql2100_fw.bin ql2200_fw.bin ql2300_fw.bin ql2322_fw.bin \
+	ql2400_fw.bin ql2500_fw.bin
+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.qla2xxx
+endif
+
 ifneq ($(LINUX_FIRMWARE_FILES),)
 define LINUX_FIRMWARE_INSTALL_FILES
 	cd $(@D) ; \
Signature · 1 line
2.14.0
#1 lore raw

PATCH 1/1 linux-firmware: Add QLogic FC Adapters

Quoted 9 lines · Samuel Mendoza-Jonas

Add a config option to install the ql2xxx firmware binaries for QLogic Fibre Channel adapters.
Since this doesn't quite fit under the existing categories in Config.in, include it under a new category named "Fibre Channel Adapter Firmware".

---
Very open to suggestion about the category, just saw that it didn't really fit under any of the existing headings.

No strong opinions on the name either, but the option looks good, and checked that the filenames line up.

Cheers,

Joel

Quoted 49 lines
 package/linux-firmware/Config.in         | 9 +++++++++
 package/linux-firmware/linux-firmware.mk | 8 ++++++++
 2 files changed, 17 insertions(+)
package/linux-firmware/Config.in +9 -0
index f0d64763d8..ad750e82ff 100644
@@ -329,4 +329,13 @@ config BR2_PACKAGE_LINUX_FIRMWARE_IMX_SDMA
 
 endmenu
 
+menu "Fibre Channel Adapter Firmware"
+
+config BR2_PACKAGE_LINUX_FIRMWARE_QLOGIC_2XXX
+       bool "QLogic 2xxx Fibre Channel Adapters"
+       help
+         Firmware files for ql2xxx adapters
+
+endmenu
+
 endif
package/linux-firmware/linux-firmware.mk +8 -1
index e03788a3b5..b01585fbe4 100644
@@ -414,6 +414,14 @@ LINUX_FIRMWARE_FILES += \
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx
 endif
 
+# ql2xxx
+ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QLOGIC_2XXX),y)
+LINUX_FIRMWARE_FILES += \
+       ql2100_fw.bin ql2200_fw.bin ql2300_fw.bin ql2322_fw.bin \
+       ql2400_fw.bin ql2500_fw.bin
+LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.qla2xxx
+endif
+
 ifneq ($(LINUX_FIRMWARE_FILES),)
 define LINUX_FIRMWARE_INSTALL_FILES
        cd $(@D) ; \
--

2.14.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#2 lore raw

PATCH 1/1 linux-firmware: Add QLogic FC Adapters

In reply to Samuel Mendoza-Jonas

Hello,

Quoted 9 lines · Samuel Mendoza-Jonas

Add a config option to install the ql2xxx firmware binaries for QLogic Fibre Channel adapters.
Since this doesn't quite fit under the existing categories in Config.in, include it under a new category named "Fibre Channel Adapter Firmware".

---
Very open to suggestion about the category, just saw that it didn't really fit under any of the existing headings.

Applied to next, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com