Re: Tekram DC390 DMA allocation fixes

From: Kurt Garloff (garloff@suse.de)
Date: Mon Jul 22 2002 - 04:33:41 EST


Hi,

On Sun, Jul 21, 2002 at 07:58:49PM -0600, Thunder from the hill wrote:
> drivers/scsi/scsiiom.c is seriously DMA broken, for sure.

Oh yes, I know.
I was just waiting until somebody complains before I take the time
to convert everything to use pci_map stuff.

> Now there is that suggestion that we allocate DMAable memory via the PCI
> DMA pool functions. I'm still rather confused which way to go for the
> address field. We have

I believe we should just use
pci_map_single/_sg and sg_dma_address(), no?

Or are they scheduled for removal ... ?

Regards,

-- 
Kurt Garloff  <garloff@suse.de>                          Eindhoven, NL
GPG key: See mail header, key servers         Linux kernel development
SuSE Linux AG, Nuernberg, DE                            SCSI, Security


- 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 : Tue Jul 23 2002 - 22:00:37 EST