Re: sparc scsi esp depends on pci & hangs on boot

From: Otto Solares (solca@guug.org)
Date: Tue Jul 22 2003 - 21:32:29 EST


On Tue, Jul 22, 2003 at 05:54:00PM -0700, David S. Miller wrote:
> On Tue, 22 Jul 2003 12:26:09 -0600
> Otto Solares <solca@guug.org> wrote:
>
> > converting the esp scsi driver to sbus without
> > pci requirement is the right step IMO. Maybe
> > the scsi people can comment on this.
>
> No, the problem is that SCSI DMA transfer direction
> macros are defined in terms of PCI ones. That's all,
> it's a minor issue and probably easily solved.

these are the ofending messages:

In file included from include/asm/dma-mapping.h:1,
                 from include/linux/dma-mapping.h:13,
                 from include/scsi/scsi_cmnd.h:4,
                 from drivers/scsi/scsi.h:20,
                 from drivers/scsi/scsi.c:57:
include/asm-generic/dma-mapping.h: In function `dma_supported':
include/asm-generic/dma-mapping.h:19: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h:19: (Each undeclared identifier is reported only once
include/asm-generic/dma-mapping.h:19: for each function it appears in.)
include/asm-generic/dma-mapping.h: In function `dma_set_mask':
include/asm-generic/dma-mapping.h:27: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h: In function `dma_alloc_coherent':
include/asm-generic/dma-mapping.h:36: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h: In function `dma_free_coherent':
include/asm-generic/dma-mapping.h:45: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h: In function `dma_map_single':
include/asm-generic/dma-mapping.h:54: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h: In function `dma_unmap_single':
include/asm-generic/dma-mapping.h:63: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h: In function `dma_map_page':
include/asm-generic/dma-mapping.h:73: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h: In function `dma_unmap_page':
include/asm-generic/dma-mapping.h:82: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h: In function `dma_map_sg':
include/asm-generic/dma-mapping.h:91: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h: In function `dma_unmap_sg':
include/asm-generic/dma-mapping.h:100: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h: In function `dma_sync_single':
include/asm-generic/dma-mapping.h:109: `pci_bus_type' undeclared (first use in this function)
include/asm-generic/dma-mapping.h: In function `dma_sync_sg':
include/asm-generic/dma-mapping.h:118: `pci_bus_type' undeclared (first use in this function)
make[2]: *** [drivers/scsi/scsi.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2

-solca

-
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/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:48 EST