Messages in this thread | | | Date | Tue, 29 Apr 2003 16:23:22 +0400 | From | Ivan Kokshaysky <> | Subject | Re: [Patch] DMA mapping API for Alpha |
| |
On Tue, Apr 29, 2003 at 01:58:29PM +0200, Marc Zyngier wrote: > That's exactly what I wanted to avoid : It we feed NULL (for a non PCI > device) to pci_map_single (for example), we limit the max DMA address > to 24 bits, and this is quite bad for an EISA device, which is 32 bits > capable.
Agreed, but what if your EISA-PCI bridge has only 30 address lines wired to PCI? Yes, we can check this for EISA device because it has *real* PCI parent (thanks, Marc :-), but what about ISA/legacy/whatever drivers? I doubt that all of them bother to set dma_mask pointer (so you can have an oops there).
Ivan. - 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/
| |