sparc32 unresolved symbols
PATCH 1/1 sparc32 unresolved symbols
When compiling for sparc32, I noticed that there were some undefined symbols, specifically:
*** Warning: "ioread8" [drivers/scsi/sym53c8xx_2/sym53c8xx.ko] undefined!
*** Warning: "pci_iounmap" [drivers/scsi/sym53c8xx_2/sym53c8xx.ko] undefined!
*** Warning: "iowrite8" [drivers/scsi/sym53c8xx_2/sym53c8xx.ko] undefined!
*** Warning: "iowrite16" [drivers/scsi/sym53c8xx_2/sym53c8xx.ko] undefined!
*** Warning: "ioread16" [drivers/scsi/sym53c8xx_2/sym53c8xx.ko] undefined!
*** Warning: "pci_iomap" [drivers/scsi/sym53c8xx_2/sym53c8xx.ko] undefined!
*** Warning: "iowrite32" [drivers/scsi/sym53c8xx_2/sym53c8xx.ko] undefined!
*** Warning: "ioread32" [drivers/scsi/sym53c8xx_2/sym53c8xx.ko] undefined!
(The sym53c8xx driver is used for the SPARCStation 2)
Not terribly difficult to fix, patch attached.
~spot
Signature · 4 lines
Tom "spot" Callaway: Red Hat Senior Sales Engineer || GPG ID: 93054260 Fedora Extras Steering Committee Member (RPM Standards and Practices) Aurora Linux Project Leader: http://auroralinux.org Lemurs, llamas, and sparcs, oh my!
arch/sparc/Kconfig renamed from arch/sparc/Kconfig.BAD +4 -0
@@ -21,6 +21,10 @@ config GENERIC_ISA_DMA bool default y +config GENERIC_IOMAP + bool + default y + source "init/Kconfig" menu "General machine setup"
arch/sparc/defconfig renamed from arch/sparc/defconfig.BAD +1 -0
@@ -5,6 +5,7 @@ CONFIG_MMU=y CONFIG_UID16=y CONFIG_HIGHMEM=y CONFIG_GENERIC_ISA_DMA=y +CONFIG_GENERIC_IOMAP=y # # Code maturity level options
David S. Miller
maintainerFrom: "Tom 'spot' Callaway" <[email protected]>
Date: Thu, 06 Oct 2005 08:34:19 -0500
Quoted 1 line
(The sym53c8xx driver is used for the SPARCStation 2)
SparcStation 2 is sun4c and SBUS, so there is no way this PCI driver is needed there. :-)
Quoted 3 lines
Not terribly difficult to fix, patch attached.
Signed-off-by Tom 'spot' Callaway <[email protected]>
I think it's better to write a sparc specific version in the end. A lot of the PIO gunk in lib/iomap.c might not be appropriate on sparc32.
But for now I'll apply your patch, thanks.