Re: Proposal: Eliminate GFP_DMA

From: Andi Kleen (ak@suse.de)
Date: Fri Feb 28 2003 - 10:30:00 EST


> That's a bit broken... I have an ALS4000 PCI soundcard that is a 24-bit
> soundcard. pci_set_dma_mask should support 24-bits accordingly,
> otherwise it's a bug in your platform implementation... Nobody will be
> able to use certain properly-written drivers on your platform otherwise.

It supports it for pci_alloc_consistent (by mapping it to an GFP_DMA
allocation)

Just for pci_map_single/pci_map_sg() it is not supported and will
error out when the passed address doesn't fit the mask. That behaviour
is 100% compatible with IA32 which does the same.

-Andi
-
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 : Fri Feb 28 2003 - 22:00:48 EST