Commit 87b76279 authored by David S. Miller's avatar David S. Miller

drivers/net/sunlance.c: Make init_block_dvma a dma_addr_t

parent d03a7575
...@@ -258,7 +258,7 @@ struct lance_private { ...@@ -258,7 +258,7 @@ struct lance_private {
void (*tx)(struct net_device *); void (*tx)(struct net_device *);
char *name; char *name;
__u32 init_block_dvma; dma_addr_t init_block_dvma;
struct net_device *dev; /* Backpointer */ struct net_device *dev; /* Backpointer */
struct lance_private *next_module; struct lance_private *next_module;
struct sbus_dev *sdev; struct sbus_dev *sdev;
...@@ -320,7 +320,7 @@ static void lance_init_ring_dvma(struct net_device *dev) ...@@ -320,7 +320,7 @@ static void lance_init_ring_dvma(struct net_device *dev)
{ {
struct lance_private *lp = (struct lance_private *) dev->priv; struct lance_private *lp = (struct lance_private *) dev->priv;
volatile struct lance_init_block *ib = lp->init_block; volatile struct lance_init_block *ib = lp->init_block;
__u32 aib = lp->init_block_dvma; dma_addr_t aib = lp->init_block_dvma;
__u32 leptr; __u32 leptr;
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment