diff options
Diffstat (limited to 'drivers/net/tulip/winbond-840.c')
-rw-r--r-- | drivers/net/tulip/winbond-840.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/drivers/net/tulip/winbond-840.c b/drivers/net/tulip/winbond-840.c index 50068194c163..e4cb408a70fe 100644 --- a/drivers/net/tulip/winbond-840.c +++ b/drivers/net/tulip/winbond-840.c | |||
@@ -355,7 +355,6 @@ static int __devinit w840_probe1 (struct pci_dev *pdev, | |||
355 | int irq; | 355 | int irq; |
356 | int i, option = find_cnt < MAX_UNITS ? options[find_cnt] : 0; | 356 | int i, option = find_cnt < MAX_UNITS ? options[find_cnt] : 0; |
357 | void __iomem *ioaddr; | 357 | void __iomem *ioaddr; |
358 | DECLARE_MAC_BUF(mac); | ||
359 | 358 | ||
360 | i = pci_enable_device(pdev); | 359 | i = pci_enable_device(pdev); |
361 | if (i) return i; | 360 | if (i) return i; |
@@ -435,9 +434,9 @@ static int __devinit w840_probe1 (struct pci_dev *pdev, | |||
435 | if (i) | 434 | if (i) |
436 | goto err_out_cleardev; | 435 | goto err_out_cleardev; |
437 | 436 | ||
438 | printk(KERN_INFO "%s: %s at %p, %s, IRQ %d.\n", | 437 | printk(KERN_INFO "%s: %s at %p, %pM, IRQ %d.\n", |
439 | dev->name, pci_id_tbl[chip_idx].name, ioaddr, | 438 | dev->name, pci_id_tbl[chip_idx].name, ioaddr, |
440 | print_mac(mac, dev->dev_addr), irq); | 439 | dev->dev_addr, irq); |
441 | 440 | ||
442 | if (np->drv_flags & CanHaveMII) { | 441 | if (np->drv_flags & CanHaveMII) { |
443 | int phy, phy_idx = 0; | 442 | int phy, phy_idx = 0; |
@@ -1245,16 +1244,12 @@ static int netdev_rx(struct net_device *dev) | |||
1245 | } | 1244 | } |
1246 | #ifndef final_version /* Remove after testing. */ | 1245 | #ifndef final_version /* Remove after testing. */ |
1247 | /* You will want this info for the initial debug. */ | 1246 | /* You will want this info for the initial debug. */ |
1248 | if (debug > 5) { | 1247 | if (debug > 5) |
1249 | DECLARE_MAC_BUF(mac); | 1248 | printk(KERN_DEBUG " Rx data %pM %pM" |
1250 | DECLARE_MAC_BUF(mac2); | ||
1251 | |||
1252 | printk(KERN_DEBUG " Rx data %s %s" | ||
1253 | " %2.2x%2.2x %d.%d.%d.%d.\n", | 1249 | " %2.2x%2.2x %d.%d.%d.%d.\n", |
1254 | print_mac(mac, &skb->data[0]), print_mac(mac2, &skb->data[6]), | 1250 | &skb->data[0], &skb->data[6], |
1255 | skb->data[12], skb->data[13], | 1251 | skb->data[12], skb->data[13], |
1256 | skb->data[14], skb->data[15], skb->data[16], skb->data[17]); | 1252 | skb->data[14], skb->data[15], skb->data[16], skb->data[17]); |
1257 | } | ||
1258 | #endif | 1253 | #endif |
1259 | skb->protocol = eth_type_trans(skb, dev); | 1254 | skb->protocol = eth_type_trans(skb, dev); |
1260 | netif_rx(skb); | 1255 | netif_rx(skb); |