* Re: linux-next: scsi build failure
[not found] <20080401113308.65f762cb.sfr@au.ibm.com>
@ 2008-04-01 2:58 ` James Bottomley
2008-04-01 12:04 ` Thomas Bogendoerfer
0 siblings, 1 reply; 2+ messages in thread
From: James Bottomley @ 2008-04-01 2:58 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: Thomas Bogendoerfer, linux-next, linux-scsi
On Tue, 2008-04-01 at 11:33 +1100, Stephen Rothwell wrote:
> Hi James,
>
> The linux-next 20080331 build (m68k defconfig) failed like this:
>
> drivers/scsi/gvp11.c:325: error: 'a3000_host' undeclared (first use in this function)
> make[3]: *** [drivers/scsi/gvp11.o] Error 1
> drivers/scsi/a2091.c:182: error: 'a3000_host' undeclared (first use in this function)
>
> presumably caused by commit 90609948bc0e9de545dfddf761f760382ea97b16
> ("[SCSI] WD33C93: let platform stub override no_sync/fast/dma_mode"). I
> shall revert that commit from today's tree.
I think Thomas has been slightly careless with the cut and paste. This
should be the fix.
James
---
diff --git a/drivers/scsi/gvp11.c b/drivers/scsi/gvp11.c
index e75a7ba..ca73637 100644
--- a/drivers/scsi/gvp11.c
+++ b/drivers/scsi/gvp11.c
@@ -322,9 +322,9 @@ int __init gvp11_detect(struct scsi_host_template *tpnt)
*/
regs.SASR = &(DMA(instance)->SASR);
regs.SCMD = &(DMA(instance)->SCMD);
- HDATA(a3000_host)->no_sync = 0xff;
- HDATA(a3000_host)->fast = 0;
- HDATA(a3000_host)->dma_mode = CTRL_DMA;
+ HDATA(instance)->no_sync = 0xff;
+ HDATA(instance)->fast = 0;
+ HDATA(instance)->dma_mode = CTRL_DMA;
wd33c93_init(instance, regs, dma_setup, dma_stop,
(epc & GVP_SCSICLKMASK) ? WD33C93_FS_8_10
: WD33C93_FS_12_15);
diff --git a/drivers/scsi/mvme147.c b/drivers/scsi/mvme147.c
index 6a8cf17..d722235 100644
--- a/drivers/scsi/mvme147.c
+++ b/drivers/scsi/mvme147.c
@@ -82,9 +82,9 @@ int mvme147_detect(struct scsi_host_template *tpnt)
mvme147_host->irq = MVME147_IRQ_SCSI_PORT;
regs.SASR = (volatile unsigned char *)0xfffe4000;
regs.SCMD = (volatile unsigned char *)0xfffe4001;
- HDATA(a3000_host)->no_sync = 0xff;
- HDATA(a3000_host)->fast = 0;
- HDATA(a3000_host)->dma_mode = CTRL_DMA;
+ HDATA(mvme147_host)->no_sync = 0xff;
+ HDATA(mvme147_host)->fast = 0;
+ HDATA(mvme147_host)->dma_mode = CTRL_DMA;
wd33c93_init(mvme147_host, regs, dma_setup, dma_stop, WD33C93_FS_8_10);
if (request_irq(MVME147_IRQ_SCSI_PORT, mvme147_intr, 0, "MVME147 SCSI PORT", mvme147_intr))
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: linux-next: scsi build failure
2008-04-01 2:58 ` linux-next: scsi build failure James Bottomley
@ 2008-04-01 12:04 ` Thomas Bogendoerfer
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2008-04-01 12:04 UTC (permalink / raw)
To: James Bottomley; +Cc: Stephen Rothwell, linux-next, linux-scsi
On Mon, Mar 31, 2008 at 09:58:08PM -0500, James Bottomley wrote:
> I think Thomas has been slightly careless with the cut and paste. This
> should be the fix.
oops, sorry for the breakage and thanks for fixing this.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-01 12:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20080401113308.65f762cb.sfr@au.ibm.com>
2008-04-01 2:58 ` linux-next: scsi build failure James Bottomley
2008-04-01 12:04 ` Thomas Bogendoerfer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox