diff options
-rw-r--r-- | drivers/net/82596.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/net/82596.c b/drivers/net/82596.c index 717fe2f7c66a..23fe41611bed 100644 --- a/drivers/net/82596.c +++ b/drivers/net/82596.c | |||
@@ -457,7 +457,7 @@ static inline int wait_cfg(struct net_device *dev, struct i596_cmd *cmd, int del | |||
457 | 457 | ||
458 | static void i596_display_data(struct net_device *dev) | 458 | static void i596_display_data(struct net_device *dev) |
459 | { | 459 | { |
460 | struct i596_private *lp = dev->priv; | 460 | struct i596_private *lp = dev->ml_priv; |
461 | struct i596_cmd *cmd; | 461 | struct i596_cmd *cmd; |
462 | struct i596_rfd *rfd; | 462 | struct i596_rfd *rfd; |
463 | struct i596_rbd *rbd; | 463 | struct i596_rbd *rbd; |
@@ -527,7 +527,7 @@ static irqreturn_t i596_error(int irq, void *dev_id) | |||
527 | 527 | ||
528 | static inline void init_rx_bufs(struct net_device *dev) | 528 | static inline void init_rx_bufs(struct net_device *dev) |
529 | { | 529 | { |
530 | struct i596_private *lp = dev->priv; | 530 | struct i596_private *lp = dev->ml_priv; |
531 | int i; | 531 | int i; |
532 | struct i596_rfd *rfd; | 532 | struct i596_rfd *rfd; |
533 | struct i596_rbd *rbd; | 533 | struct i596_rbd *rbd; |
@@ -578,7 +578,7 @@ static inline void init_rx_bufs(struct net_device *dev) | |||
578 | 578 | ||
579 | static inline void remove_rx_bufs(struct net_device *dev) | 579 | static inline void remove_rx_bufs(struct net_device *dev) |
580 | { | 580 | { |
581 | struct i596_private *lp = dev->priv; | 581 | struct i596_private *lp = dev->ml_priv; |
582 | struct i596_rbd *rbd; | 582 | struct i596_rbd *rbd; |
583 | int i; | 583 | int i; |
584 | 584 | ||
@@ -592,7 +592,7 @@ static inline void remove_rx_bufs(struct net_device *dev) | |||
592 | 592 | ||
593 | static void rebuild_rx_bufs(struct net_device *dev) | 593 | static void rebuild_rx_bufs(struct net_device *dev) |
594 | { | 594 | { |
595 | struct i596_private *lp = dev->priv; | 595 | struct i596_private *lp = dev->ml_priv; |
596 | int i; | 596 | int i; |
597 | 597 | ||
598 | /* Ensure rx frame/buffer descriptors are tidy */ | 598 | /* Ensure rx frame/buffer descriptors are tidy */ |
@@ -611,7 +611,7 @@ static void rebuild_rx_bufs(struct net_device *dev) | |||
611 | 611 | ||
612 | static int init_i596_mem(struct net_device *dev) | 612 | static int init_i596_mem(struct net_device *dev) |
613 | { | 613 | { |
614 | struct i596_private *lp = dev->priv; | 614 | struct i596_private *lp = dev->ml_priv; |
615 | #if !defined(ENABLE_MVME16x_NET) && !defined(ENABLE_BVME6000_NET) || defined(ENABLE_APRICOT) | 615 | #if !defined(ENABLE_MVME16x_NET) && !defined(ENABLE_BVME6000_NET) || defined(ENABLE_APRICOT) |
616 | short ioaddr = dev->base_addr; | 616 | short ioaddr = dev->base_addr; |
617 | #endif | 617 | #endif |
@@ -764,7 +764,7 @@ failed: | |||
764 | 764 | ||
765 | static inline int i596_rx(struct net_device *dev) | 765 | static inline int i596_rx(struct net_device *dev) |
766 | { | 766 | { |
767 | struct i596_private *lp = dev->priv; | 767 | struct i596_private *lp = dev->ml_priv; |
768 | struct i596_rfd *rfd; | 768 | struct i596_rfd *rfd; |
769 | struct i596_rbd *rbd; | 769 | struct i596_rbd *rbd; |
770 | int frames = 0; | 770 | int frames = 0; |
@@ -958,7 +958,7 @@ static void i596_reset(struct net_device *dev, struct i596_private *lp, | |||
958 | 958 | ||
959 | static void i596_add_cmd(struct net_device *dev, struct i596_cmd *cmd) | 959 | static void i596_add_cmd(struct net_device *dev, struct i596_cmd *cmd) |
960 | { | 960 | { |
961 | struct i596_private *lp = dev->priv; | 961 | struct i596_private *lp = dev->ml_priv; |
962 | int ioaddr = dev->base_addr; | 962 | int ioaddr = dev->base_addr; |
963 | unsigned long flags; | 963 | unsigned long flags; |
964 | 964 | ||
@@ -1028,7 +1028,7 @@ static int i596_open(struct net_device *dev) | |||
1028 | 1028 | ||
1029 | static void i596_tx_timeout (struct net_device *dev) | 1029 | static void i596_tx_timeout (struct net_device *dev) |
1030 | { | 1030 | { |
1031 | struct i596_private *lp = dev->priv; | 1031 | struct i596_private *lp = dev->ml_priv; |
1032 | int ioaddr = dev->base_addr; | 1032 | int ioaddr = dev->base_addr; |
1033 | 1033 | ||
1034 | /* Transmitter timeout, serious problems. */ | 1034 | /* Transmitter timeout, serious problems. */ |
@@ -1057,7 +1057,7 @@ static void i596_tx_timeout (struct net_device *dev) | |||
1057 | 1057 | ||
1058 | static int i596_start_xmit(struct sk_buff *skb, struct net_device *dev) | 1058 | static int i596_start_xmit(struct sk_buff *skb, struct net_device *dev) |
1059 | { | 1059 | { |
1060 | struct i596_private *lp = dev->priv; | 1060 | struct i596_private *lp = dev->ml_priv; |
1061 | struct tx_cmd *tx_cmd; | 1061 | struct tx_cmd *tx_cmd; |
1062 | struct i596_tbd *tbd; | 1062 | struct i596_tbd *tbd; |
1063 | short length = skb->len; | 1063 | short length = skb->len; |
@@ -1239,9 +1239,9 @@ found: | |||
1239 | dev->tx_timeout = i596_tx_timeout; | 1239 | dev->tx_timeout = i596_tx_timeout; |
1240 | dev->watchdog_timeo = TX_TIMEOUT; | 1240 | dev->watchdog_timeo = TX_TIMEOUT; |
1241 | 1241 | ||
1242 | dev->priv = (void *)(dev->mem_start); | 1242 | dev->ml_priv = (void *)(dev->mem_start); |
1243 | 1243 | ||
1244 | lp = dev->priv; | 1244 | lp = dev->ml_priv; |
1245 | DEB(DEB_INIT,printk(KERN_DEBUG "%s: lp at 0x%08lx (%zd bytes), " | 1245 | DEB(DEB_INIT,printk(KERN_DEBUG "%s: lp at 0x%08lx (%zd bytes), " |
1246 | "lp->scb at 0x%08lx\n", | 1246 | "lp->scb at 0x%08lx\n", |
1247 | dev->name, (unsigned long)lp, | 1247 | dev->name, (unsigned long)lp, |
@@ -1302,7 +1302,7 @@ static irqreturn_t i596_interrupt(int irq, void *dev_id) | |||
1302 | } | 1302 | } |
1303 | 1303 | ||
1304 | ioaddr = dev->base_addr; | 1304 | ioaddr = dev->base_addr; |
1305 | lp = dev->priv; | 1305 | lp = dev->ml_priv; |
1306 | 1306 | ||
1307 | spin_lock (&lp->lock); | 1307 | spin_lock (&lp->lock); |
1308 | 1308 | ||
@@ -1445,7 +1445,7 @@ static irqreturn_t i596_interrupt(int irq, void *dev_id) | |||
1445 | 1445 | ||
1446 | static int i596_close(struct net_device *dev) | 1446 | static int i596_close(struct net_device *dev) |
1447 | { | 1447 | { |
1448 | struct i596_private *lp = dev->priv; | 1448 | struct i596_private *lp = dev->ml_priv; |
1449 | unsigned long flags; | 1449 | unsigned long flags; |
1450 | 1450 | ||
1451 | netif_stop_queue(dev); | 1451 | netif_stop_queue(dev); |
@@ -1495,7 +1495,7 @@ static int i596_close(struct net_device *dev) | |||
1495 | 1495 | ||
1496 | static void set_multicast_list(struct net_device *dev) | 1496 | static void set_multicast_list(struct net_device *dev) |
1497 | { | 1497 | { |
1498 | struct i596_private *lp = dev->priv; | 1498 | struct i596_private *lp = dev->ml_priv; |
1499 | int config = 0, cnt; | 1499 | int config = 0, cnt; |
1500 | 1500 | ||
1501 | DEB(DEB_MULTI,printk(KERN_DEBUG "%s: set multicast list, %d entries, promisc %s, allmulti %s\n", | 1501 | DEB(DEB_MULTI,printk(KERN_DEBUG "%s: set multicast list, %d entries, promisc %s, allmulti %s\n", |