diff options
author | Tony Prisk <linux@prisktech.co.nz> | 2013-05-18 09:39:06 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-20 13:40:39 -0700 |
commit | e2c41f143fb2db14ad9b644a515c98e6c2e5ea2d (patch) | |
tree | 3546e0874220844d9572b3f94153b950248a8e27 /drivers/net/ethernet/via/via-velocity.h | |
parent | a9683c94fe8c8f87fdc8380a2e76506aa1502dcb (diff) |
net: velocity: Convert to generic dma functions
Remove the pci_* dma functions and replace with the more generic
versions.
In preparation of adding platform support, a new struct device *dev
is added to struct velocity_info which can be used by both the pci
and platform code.
Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/via/via-velocity.h')
-rw-r--r-- | drivers/net/ethernet/via/via-velocity.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/via/via-velocity.h b/drivers/net/ethernet/via/via-velocity.h index ff8d7828aa1b..c38bbaed4d12 100644 --- a/drivers/net/ethernet/via/via-velocity.h +++ b/drivers/net/ethernet/via/via-velocity.h @@ -1434,6 +1434,7 @@ struct velocity_opt { #define GET_RD_BY_IDX(vptr, idx) (vptr->rd_ring[idx]) struct velocity_info { + struct device *dev; struct pci_dev *pdev; struct net_device *netdev; |