Re: Alpha 32 bit devices

From: Jeff Garzik (jgarzik@pobox.com)
Date: Thu Jun 01 2000 - 14:15:10 EST


On Thu, 1 Jun 2000, Lee Chin wrote:
> I had a quick question: An an Alpha machine running Linux, can I use 32 bit
> devices... like an eepro100 card?

Sure! Alphas support almost all PCI devices out there. (the driver
may not support Alpha, or may not exist, though)

> The reason I am asking is because in the
> mm/init.c, paging_init sets up memory in the zones DMA and NORMAL. But the
> eepro driver does not use the GFP_DMA mask in its allocs or
> pci_alloc_consistent which means it could be given memory > 4Gb which would
> cause a problem.

pci_alloc_consistent does the right thing. GFP_DMA is for 16-bit ISA
DMA. But theoretically a GFP_DMA32 would probably be useful for 64-bit
machines...

        Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:13 EST