public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] QLA2xxx FW_LOADER Kconfig issue results in undefined symbols
@ 2005-07-18 19:23 Erik Jacobson
  2005-07-19  0:01 ` Adrian Bunk
  0 siblings, 1 reply; 2+ messages in thread
From: Erik Jacobson @ 2005-07-18 19:23 UTC (permalink / raw)
  To: linux-kernel

I hit a small problem (first observed in 2.6.13-rc3-mm1) that resulted in
my kernels no longer building because of undefined references to 
request_firmware and release_firmware.

After a little research, I found that the QLA stuff requires CONFIG_FW_LOADER.

I was using the sn2_defconfig as a starting point for my config file. 
This config file compiles some of the QLA2xxx drivers statically.
By default, CONFIG_FW_LOADER is set to "m" and not "y".

So this small change should ensure CONFIG_FW_LOADER is set properly.

Perhaps there are better ways to do this?

Signed-off-by: Erik Jacobson <erikj@sgi.com>

---

 Kconfig |    1 +
 1 files changed, 1 insertion(+)


diff -Naru 2.6-akpm-rc-mm-orig/drivers/scsi/qla2xxx/Kconfig 2.6-akpm-rc-mm/drivers/scsi/qla2xxx/Kconfig
--- 2.6-akpm-rc-mm-orig/drivers/scsi/qla2xxx/Kconfig	2005-07-15 10:58:54.316985000 -0500
+++ 2.6-akpm-rc-mm/drivers/scsi/qla2xxx/Kconfig	2005-07-18 14:03:37.888758336 -0500
@@ -3,6 +3,7 @@
 	default (SCSI && PCI)
 	depends on SCSI && PCI
 	select SCSI_FC_ATTRS
+	select FW_LOADER
 
 config SCSI_QLA21XX
 	tristate "QLogic ISP2100 host adapter family support"

--
Erik Jacobson - Linux System Software - Silicon Graphics - Eagan, Minnesota

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

* Re: [patch] QLA2xxx FW_LOADER Kconfig issue results in undefined symbols
  2005-07-18 19:23 [patch] QLA2xxx FW_LOADER Kconfig issue results in undefined symbols Erik Jacobson
@ 2005-07-19  0:01 ` Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-07-19  0:01 UTC (permalink / raw)
  To: Erik Jacobson; +Cc: linux-kernel

On Mon, Jul 18, 2005 at 02:23:57PM -0500, Erik Jacobson wrote:
> I hit a small problem (first observed in 2.6.13-rc3-mm1) that resulted in
> my kernels no longer building because of undefined references to 
> request_firmware and release_firmware.
> 
> After a little research, I found that the QLA stuff requires CONFIG_FW_LOADER.
> 
> I was using the sn2_defconfig as a starting point for my config file. 
> This config file compiles some of the QLA2xxx drivers statically.
> By default, CONFIG_FW_LOADER is set to "m" and not "y".
> 
> So this small change should ensure CONFIG_FW_LOADER is set properly.
> 
> Perhaps there are better ways to do this?
>...
> --- 2.6-akpm-rc-mm-orig/drivers/scsi/qla2xxx/Kconfig	2005-07-15 10:58:54.316985000 -0500
> +++ 2.6-akpm-rc-mm/drivers/scsi/qla2xxx/Kconfig	2005-07-18 14:03:37.888758336 -0500
> @@ -3,6 +3,7 @@
>  	default (SCSI && PCI)
>  	depends on SCSI && PCI
>  	select SCSI_FC_ATTRS
> +	select FW_LOADER
>  
>  config SCSI_QLA21XX
>  	tristate "QLogic ISP2100 host adapter family support"
>...
 
I have to resend my patch for this issue that didn't make it through the 
linux-kernel filters.

Your patch enables FW_LOADER for everyone with (SCSI && PCI) since is a 
not user-visible option that is enabled then.

The correct solution my patch does is to add a "select FW_LOADER" to 
every single of the driver options below.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


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

end of thread, other threads:[~2005-07-19  0:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-18 19:23 [patch] QLA2xxx FW_LOADER Kconfig issue results in undefined symbols Erik Jacobson
2005-07-19  0:01 ` Adrian Bunk

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