public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] 2.6: modular scsi/mca_53c9x doesn't work (fwd)
@ 2004-06-14 18:52 Adrian Bunk
  2004-06-14 19:22 ` Christoph Hellwig
  0 siblings, 1 reply; 4+ messages in thread
From: Adrian Bunk @ 2004-06-14 18:52 UTC (permalink / raw)
  To: James.Bottomley, linux-scsi; +Cc: linux-kernel

The issue described in the mail forwarded below is still present in 
2.6.7-rc3-mm2 (but not specific to -mm).

I'd suggest the following workaround:

--- linux-2.6.7-rc3-mm2-modular-no-smp/drivers/scsi/Kconfig.old	2004-06-14 20:45:20.000000000 +0200
+++ linux-2.6.7-rc3-mm2-modular-no-smp/drivers/scsi/Kconfig	2004-06-14 20:51:40.000000000 +0200
@@ -1136,7 +1136,7 @@
 	  than 1 device on a SCSI bus. The normal answer therefore is N.
 
 config SCSI_MCA_53C9X
-	tristate "NCR MCA 53C9x SCSI support"
+	bool "NCR MCA 53C9x SCSI support"
 	depends on MCA_LEGACY && SCSI && BROKEN_ON_SMP
 	help
 	  Some MicroChannel machines, notably the NCR 35xx line, use a SCSI




----- Forwarded message from Adrian Bunk <bunk@fs.tum.de> -----

Date:	Sat, 20 Dec 2003 00:17:12 +0100
From: Adrian Bunk <bunk@fs.tum.de>
To: James.Bottomley@SteelEye.com, linux-scsi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: 2.6: modular scsi/mca_53c9x doesn't work

I got the following mesage when trying to build modular a mca_53c9x in 
2.6.0-test11-mm1:

<--  snip  -->

...
*** Warning: "esp_reset" [drivers/scsi/mca_53c9x.ko] undefined!
*** Warning: "esp_abort" [drivers/scsi/mca_53c9x.ko] undefined!
*** Warning: "esp_queue" [drivers/scsi/mca_53c9x.ko] undefined!
*** Warning: "esps_in_use" [drivers/scsi/mca_53c9x.ko] undefined!
*** Warning: "esp_initialize" [drivers/scsi/mca_53c9x.ko] undefined!
*** Warning: "esp_allocate" [drivers/scsi/mca_53c9x.ko] undefined!
*** Warning: "esp_intr" [drivers/scsi/mca_53c9x.ko] undefined!
*** Warning: "esp_deallocate" [drivers/scsi/mca_53c9x.ko] undefined!
...

<--  snip  -->

It seems there are some EXPORT_SYMBOL's needed in NCR53C9x.c?

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

----- End forwarded message -----


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

* Re: [patch] 2.6: modular scsi/mca_53c9x doesn't work (fwd)
  2004-06-14 18:52 [patch] 2.6: modular scsi/mca_53c9x doesn't work (fwd) Adrian Bunk
@ 2004-06-14 19:22 ` Christoph Hellwig
  2004-06-14 22:53   ` Adrian Bunk
  0 siblings, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2004-06-14 19:22 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: James.Bottomley, linux-scsi, linux-kernel

On Mon, Jun 14, 2004 at 08:52:56PM +0200, Adrian Bunk wrote:
> The issue described in the mail forwarded below is still present in 
> 2.6.7-rc3-mm2 (but not specific to -mm).
> 
> I'd suggest the following workaround:

Please add the exports instead.  It'll affect all the other 53C9X-based
drivers aswell.

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

* Re: [patch] 2.6: modular scsi/mca_53c9x doesn't work (fwd)
  2004-06-14 19:22 ` Christoph Hellwig
@ 2004-06-14 22:53   ` Adrian Bunk
  2004-06-15  7:17     ` Christoph Hellwig
  0 siblings, 1 reply; 4+ messages in thread
From: Adrian Bunk @ 2004-06-14 22:53 UTC (permalink / raw)
  To: Christoph Hellwig, James.Bottomley, linux-scsi, linux-kernel

On Mon, Jun 14, 2004 at 08:22:15PM +0100, Christoph Hellwig wrote:
> On Mon, Jun 14, 2004 at 08:52:56PM +0200, Adrian Bunk wrote:
> > The issue described in the mail forwarded below is still present in 
> > 2.6.7-rc3-mm2 (but not specific to -mm).
> > 
> > I'd suggest the following workaround:
> 
> Please add the exports instead.  It'll affect all the other 53C9X-based
> drivers aswell.

This sounds like a better solution.

Patch below.

cu
Adrian

--- linux-2.6.7-rc3-mm2-modular-no-smp/drivers/scsi/NCR53C9x.c.old	2004-06-15 00:44:36.000000000 +0200
+++ linux-2.6.7-rc3-mm2-modular-no-smp/drivers/scsi/NCR53C9x.c	2004-06-15 00:47:23.000000000 +0200
@@ -3646,4 +3646,15 @@
 }
 #endif
 
+EXPORT_SYMBOL(esp_abort);
+EXPORT_SYMBOL(esp_allocate);
+EXPORT_SYMBOL(esp_deallocate);
+EXPORT_SYMBOL(esp_initialize);
+EXPORT_SYMBOL(esp_intr);
+EXPORT_SYMBOL(esp_queue);
+EXPORT_SYMBOL(esp_reset);
+EXPORT_SYMBOL(esp_slave_alloc);
+EXPORT_SYMBOL(esp_slave_destroy);
+EXPORT_SYMBOL(esps_in_use);
+
 MODULE_LICENSE("GPL");

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

* Re: [patch] 2.6: modular scsi/mca_53c9x doesn't work (fwd)
  2004-06-14 22:53   ` Adrian Bunk
@ 2004-06-15  7:17     ` Christoph Hellwig
  0 siblings, 0 replies; 4+ messages in thread
From: Christoph Hellwig @ 2004-06-15  7:17 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Christoph Hellwig, James.Bottomley, linux-scsi, linux-kernel

On Tue, Jun 15, 2004 at 12:53:36AM +0200, Adrian Bunk wrote:
> On Mon, Jun 14, 2004 at 08:22:15PM +0100, Christoph Hellwig wrote:
> > On Mon, Jun 14, 2004 at 08:52:56PM +0200, Adrian Bunk wrote:
> > > The issue described in the mail forwarded below is still present in 
> > > 2.6.7-rc3-mm2 (but not specific to -mm).
> > > 
> > > I'd suggest the following workaround:
> > 
> > Please add the exports instead.  It'll affect all the other 53C9X-based
> > drivers aswell.
> 
> This sounds like a better solution.
> 
> Patch below.
> 
> cu
> Adrian
> 
> --- linux-2.6.7-rc3-mm2-modular-no-smp/drivers/scsi/NCR53C9x.c.old	2004-06-15 00:44:36.000000000 +0200
> +++ linux-2.6.7-rc3-mm2-modular-no-smp/drivers/scsi/NCR53C9x.c	2004-06-15 00:47:23.000000000 +0200
> @@ -3646,4 +3646,15 @@
>  }
>  #endif
>  
> +EXPORT_SYMBOL(esp_abort);
> +EXPORT_SYMBOL(esp_allocate);
> +EXPORT_SYMBOL(esp_deallocate);
> +EXPORT_SYMBOL(esp_initialize);
> +EXPORT_SYMBOL(esp_intr);
> +EXPORT_SYMBOL(esp_queue);
> +EXPORT_SYMBOL(esp_reset);
> +EXPORT_SYMBOL(esp_slave_alloc);
> +EXPORT_SYMBOL(esp_slave_destroy);
> +EXPORT_SYMBOL(esps_in_use);
> +
>  MODULE_LICENSE("GPL");

Looks good to me, thanks.

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

end of thread, other threads:[~2004-06-15  7:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-14 18:52 [patch] 2.6: modular scsi/mca_53c9x doesn't work (fwd) Adrian Bunk
2004-06-14 19:22 ` Christoph Hellwig
2004-06-14 22:53   ` Adrian Bunk
2004-06-15  7:17     ` Christoph Hellwig

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