[parisc-linux] SCSI broken in latest CVS changes

Joel Soete soete.joel at tiscali.be
Wed Mar 17 04:39:38 MST 2004


Hello,

> Yes, 2.6.5-rc1-pa1 works fine for me!

Not so lucky to even build it with b180 config :(.

It failled with message:
[snip]
  gcc -Wp,-MD,arch/parisc/kernel/.pci-dma.o.d -nostdinc -iwithprefix include
-D__KERNEL__ -Iinclude  -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -mno-space-regs -mfast-indirect-calls
-mdisable-fpregs -ffunction-sections -march=1.1 -mschedule=7200 -O2     -DKBUILD_BASENAME=pci_dma
-DKBUILD_MODNAME=pci_dma -c -o arch/parisc/kernel/pci-dma.o arch/parisc/kernel/pci-dma.c
arch/parisc/kernel/pci-dma.c:542: error: unknown field `dma_sync_single_cpu'
specified in initializer
arch/parisc/kernel/pci-dma.c:542: error: `pa11_dma_sync_single_cpu' undeclared
here (not in a function)
arch/parisc/kernel/pci-dma.c:542: error: initializer element is not constant
arch/parisc/kernel/pci-dma.c:542: error: (near initialization for `pcx_dma_ops.dma_sync_single_for_cpu')
arch/parisc/kernel/pci-dma.c:543: error: unknown field `dma_sync_single_device'
specified in initializer
arch/parisc/kernel/pci-dma.c:543: error: `pa11_dma_sync_single_device' undeclared
here (not in a function)
arch/parisc/kernel/pci-dma.c:543: error: initializer element is not constant
arch/parisc/kernel/pci-dma.c:543: error: (near initialization for `pcx_dma_ops.dma_sync_single_for_device')
arch/parisc/kernel/pci-dma.c:544: error: unknown field `dma_sync_sg_cpu'
specified in initializer
arch/parisc/kernel/pci-dma.c:544: error: `pa11_dma_sync_sg_cpu' undeclared
here (not in a function)
arch/parisc/kernel/pci-dma.c:544: error: initializer element is not constant
arch/parisc/kernel/pci-dma.c:544: error: (near initialization for `pcx_dma_ops.dma_sync_sg_for_cpu')
arch/parisc/kernel/pci-dma.c:545: error: unknown field `dma_sync_sg_device'
specified in initializer
arch/parisc/kernel/pci-dma.c:545: error: `pa11_dma_sync_sg_device' undeclared
here (not in a function)
arch/parisc/kernel/pci-dma.c:545: error: initializer element is not constant
arch/parisc/kernel/pci-dma.c:545: error: (near initialization for `pcx_dma_ops.dma_sync_sg_for_device')
make[1]: *** [arch/parisc/kernel/pci-dma.o] Error 1
make: *** [arch/parisc/kernel] Error 2


for which the following trivial patch help to build (at least):
--- linux-2.6.5-rc1-pa1/arch/parisc/kernel/pci-dma.c.orig	2004-03-17 13:06:21.123088000
+0100
+++ linux-2.6.5-rc1-pa1/arch/parisc/kernel/pci-dma.c	2004-03-17 13:14:17.063088000
+0100
@@ -539,10 +539,10 @@
 	.unmap_single =		pa11_dma_unmap_single,
 	.map_sg =		pa11_dma_map_sg,
 	.unmap_sg =		pa11_dma_unmap_sg,
-	.dma_sync_single_cpu =	pa11_dma_sync_single_cpu,
-	.dma_sync_single_device = pa11_dma_sync_single_device,
-	.dma_sync_sg_cpu =	pa11_dma_sync_sg_cpu,
-	.dma_sync_sg_device =	pa11_dma_sync_sg_device,
+	.dma_sync_single_for_cpu =	pa11_dma_sync_single_for_cpu,
+	.dma_sync_single_for_device =	pa11_dma_sync_single_for_device,
+	.dma_sync_sg_for_cpu =		pa11_dma_sync_sg_for_cpu,
+	.dma_sync_sg_for_device =	pa11_dma_sync_sg_for_device,
 };
==========><==========

hth,
    joel

PS: I also attched the patch as know pb with webmail interface 

----------------------------------------------------------------------------------------
Tiscali ADSL: 35 €/mois, la meilleure offre du marché!
http://reg.tiscali.be/default.asp?lg=fr



-------------- next part --------------
A non-text attachment was scrubbed...
Name: pci-dma.c-diff
Type: application/octet-stream
Size: 752 bytes
Desc: not available
Url : http://lists.parisc-linux.org/pipermail/parisc-linux/attachments/20040317/26d5d85a/pci-dma.obj


More information about the parisc-linux mailing list