From: Otto Solares <solca@guug.org>
To: "David S. Miller" <davem@redhat.com>
Cc: zaitcev@redhat.com, linux-kernel@vger.kernel.org,
sparclinux@vger.kernel.org, debian-sparc@lists.debian.org
Subject: Re: sparc scsi esp depends on pci & hangs on boot
Date: Tue, 22 Jul 2003 20:32:29 -0600 [thread overview]
Message-ID: <20030723023229.GC30174@guug.org> (raw)
In-Reply-To: <20030722175400.4fe2aa5d.davem@redhat.com>
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
next prev parent reply other threads:[~2003-07-23 2:22 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-22 2:51 sparc scsi esp depends on pci & hangs on boot Otto Solares
2003-07-22 12:09 ` Pete Zaitcev
2003-07-22 18:26 ` Otto Solares
2003-07-23 0:54 ` David S. Miller
2003-07-23 2:32 ` Otto Solares [this message]
2003-07-23 6:07 ` Christoph Hellwig
2003-07-23 6:24 ` David S. Miller
2003-07-23 6:28 ` Christoph Hellwig
2003-07-23 6:29 ` David S. Miller
2003-07-23 6:40 ` Christoph Hellwig
2003-07-23 6:57 ` David S. Miller
2003-07-23 7:02 ` Christoph Hellwig
2003-07-23 7:20 ` David S. Miller
2003-07-23 8:45 ` Otto Solares
2003-07-23 14:42 ` Geert Uytterhoeven
2003-07-23 6:43 ` Otto Solares
2003-07-23 7:04 ` Christoph Hellwig
2003-07-23 7:20 ` Otto Solares
2003-07-23 7:27 ` David S. Miller
2003-07-23 8:33 ` C.Newport
2003-07-23 8:28 ` David S. Miller
2003-07-23 9:35 ` C.Newport
2003-07-23 9:37 ` David S. Miller
2003-07-23 8:55 ` Otto Solares
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030723023229.GC30174@guug.org \
--to=solca@guug.org \
--cc=davem@redhat.com \
--cc=debian-sparc@lists.debian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sparclinux@vger.kernel.org \
--cc=zaitcev@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox