diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2008-05-16 16:18:48 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-05-22 05:59:30 -0400 |
commit | 9bbd7d9a3528de1b5b915fa77df027b4de62174c (patch) | |
tree | 417edb030803f3f588f7929990cc47bf5ff89432 /drivers/net/sfc/net_driver.h | |
parent | 5b9e207ced5bb7af98b3c147171893435f5104ca (diff) |
sfc: Use DMA_BIT_MASK() instead of our own DMA mask macros
Also change type of efx_nic_type::max_dma_mask to u64, matching
pci_dma_supported() parameter type.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/sfc/net_driver.h')
-rw-r--r-- | drivers/net/sfc/net_driver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h index a84f9756ca71..77418aed9a39 100644 --- a/drivers/net/sfc/net_driver.h +++ b/drivers/net/sfc/net_driver.h | |||
@@ -800,7 +800,7 @@ struct efx_nic_type { | |||
800 | unsigned int txd_ring_mask; | 800 | unsigned int txd_ring_mask; |
801 | unsigned int rxd_ring_mask; | 801 | unsigned int rxd_ring_mask; |
802 | unsigned int evq_size; | 802 | unsigned int evq_size; |
803 | dma_addr_t max_dma_mask; | 803 | u64 max_dma_mask; |
804 | unsigned int tx_dma_mask; | 804 | unsigned int tx_dma_mask; |
805 | unsigned bug5391_mask; | 805 | unsigned bug5391_mask; |
806 | 806 | ||