Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] linux-firmware: Add QLogic FC Adapters
@ 2017-08-16  4:30 Samuel Mendoza-Jonas
  2017-08-16  4:51 ` Joel Stanley
  2017-08-21 22:06 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Samuel Mendoza-Jonas @ 2017-08-16  4:30 UTC (permalink / raw)
  To: buildroot

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".

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
---
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(+)

diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in
index f0d64763d8..ad750e82ff 100644
--- a/package/linux-firmware/Config.in
+++ b/package/linux-firmware/Config.in
@@ -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
diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
index e03788a3b5..b01585fbe4 100644
--- a/package/linux-firmware/linux-firmware.mk
+++ b/package/linux-firmware/linux-firmware.mk
@@ -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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] linux-firmware: Add QLogic FC Adapters
  2017-08-16  4:30 [Buildroot] [PATCH] linux-firmware: Add QLogic FC Adapters Samuel Mendoza-Jonas
@ 2017-08-16  4:51 ` Joel Stanley
  2017-08-21 22:06 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Joel Stanley @ 2017-08-16  4:51 UTC (permalink / raw)
  To: buildroot

On Wed, Aug 16, 2017 at 2:00 PM, Samuel Mendoza-Jonas
<sam@mendozajonas.com> wrote:
> 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".
>
> Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
> ---
> Very open to suggestion about the category, just saw that it didn't
> really fit under any of the existing headings.

Reviewed-by: Joel Stanley <joel@jms.id.au>

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

Cheers,

Joel


>
>  package/linux-firmware/Config.in         | 9 +++++++++
>  package/linux-firmware/linux-firmware.mk | 8 ++++++++
>  2 files changed, 17 insertions(+)
>
> diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in
> index f0d64763d8..ad750e82ff 100644
> --- a/package/linux-firmware/Config.in
> +++ b/package/linux-firmware/Config.in
> @@ -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
> diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
> index e03788a3b5..b01585fbe4 100644
> --- a/package/linux-firmware/linux-firmware.mk
> +++ b/package/linux-firmware/linux-firmware.mk
> @@ -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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] linux-firmware: Add QLogic FC Adapters
  2017-08-16  4:30 [Buildroot] [PATCH] linux-firmware: Add QLogic FC Adapters Samuel Mendoza-Jonas
  2017-08-16  4:51 ` Joel Stanley
@ 2017-08-21 22:06 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2017-08-21 22:06 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 16 Aug 2017 14:30:23 +1000, Samuel Mendoza-Jonas wrote:
> 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".
> 
> Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
> ---
> 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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-21 22:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-16  4:30 [Buildroot] [PATCH] linux-firmware: Add QLogic FC Adapters Samuel Mendoza-Jonas
2017-08-16  4:51 ` Joel Stanley
2017-08-21 22:06 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox