[PATCH] drivers/net/tg3: Use the DMA_{32,64}BIT_MASK constants
authorTobias Klauser <tklauser@nuerscht.ch>
Sat, 29 Oct 2005 13:09:26 +0000 (15:09 +0200)
committerJeff Garzik <jgarzik@pobox.com>
Sat, 29 Oct 2005 18:15:37 +0000 (14:15 -0400)
commitf9a5f7d3f3319aac02a7a36a2fea10bd33c3d16a
treed44abb7a38b2f4e65e58e3fc72772701adffb844
parent977e74b5f60de3df9831897b726c16870878eee4
[PATCH] drivers/net/tg3: Use the DMA_{32,64}BIT_MASK constants

This one from my DMA_{32,64}BIT_MASK series did not seem to make it
through to upstream.

Use the DMA_{32,64}BIT_MASK constants from dma-mapping.h when calling
pci_set_dma_mask() or pci_set_consistent_dma_mask()
This patch includes dma-mapping.h explicitly because it caused errors
on some architectures otherwise.
See http://marc.theaimsgroup.com/?t=108001993000001&r=1&w=2 for details

Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/tg3.c