diff options
Diffstat (limited to 'drivers/net/ne2.c')
-rw-r--r-- | drivers/net/ne2.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/ne2.c b/drivers/net/ne2.c index f4cd8c7e81ba..8f7256346922 100644 --- a/drivers/net/ne2.c +++ b/drivers/net/ne2.c | |||
@@ -280,7 +280,7 @@ static int __init do_ne2_probe(struct net_device *dev) | |||
280 | #ifndef MODULE | 280 | #ifndef MODULE |
281 | struct net_device * __init ne2_probe(int unit) | 281 | struct net_device * __init ne2_probe(int unit) |
282 | { | 282 | { |
283 | struct net_device *dev = alloc_ei_netdev(); | 283 | struct net_device *dev = alloc_eip_netdev(); |
284 | int err; | 284 | int err; |
285 | 285 | ||
286 | if (!dev) | 286 | if (!dev) |
@@ -457,7 +457,7 @@ static int __init ne2_probe1(struct net_device *dev, int slot) | |||
457 | 457 | ||
458 | /* Snarf the interrupt now. There's no point in waiting since we cannot | 458 | /* Snarf the interrupt now. There's no point in waiting since we cannot |
459 | share and the board will usually be enabled. */ | 459 | share and the board will usually be enabled. */ |
460 | retval = request_irq(dev->irq, ei_interrupt, 0, DRV_NAME, dev); | 460 | retval = request_irq(dev->irq, eip_interrupt, 0, DRV_NAME, dev); |
461 | if (retval) { | 461 | if (retval) { |
462 | printk (" unable to get IRQ %d (irqval=%d).\n", | 462 | printk (" unable to get IRQ %d (irqval=%d).\n", |
463 | dev->irq, retval); | 463 | dev->irq, retval); |
@@ -497,9 +497,9 @@ static int __init ne2_probe1(struct net_device *dev, int slot) | |||
497 | dev->open = &ne_open; | 497 | dev->open = &ne_open; |
498 | dev->stop = &ne_close; | 498 | dev->stop = &ne_close; |
499 | #ifdef CONFIG_NET_POLL_CONTROLLER | 499 | #ifdef CONFIG_NET_POLL_CONTROLLER |
500 | dev->poll_controller = ei_poll; | 500 | dev->poll_controller = eip_poll; |
501 | #endif | 501 | #endif |
502 | NS8390_init(dev, 0); | 502 | NS8390p_init(dev, 0); |
503 | 503 | ||
504 | retval = register_netdev(dev); | 504 | retval = register_netdev(dev); |
505 | if (retval) | 505 | if (retval) |
@@ -515,7 +515,7 @@ out: | |||
515 | 515 | ||
516 | static int ne_open(struct net_device *dev) | 516 | static int ne_open(struct net_device *dev) |
517 | { | 517 | { |
518 | ei_open(dev); | 518 | eip_open(dev); |
519 | return 0; | 519 | return 0; |
520 | } | 520 | } |
521 | 521 | ||
@@ -523,7 +523,7 @@ static int ne_close(struct net_device *dev) | |||
523 | { | 523 | { |
524 | if (ei_debug > 1) | 524 | if (ei_debug > 1) |
525 | printk("%s: Shutting down ethercard.\n", dev->name); | 525 | printk("%s: Shutting down ethercard.\n", dev->name); |
526 | ei_close(dev); | 526 | eip_close(dev); |
527 | return 0; | 527 | return 0; |
528 | } | 528 | } |
529 | 529 | ||
@@ -748,7 +748,7 @@ retry: | |||
748 | if (time_after(jiffies, dma_start + 2*HZ/100)) { /* 20ms */ | 748 | if (time_after(jiffies, dma_start + 2*HZ/100)) { /* 20ms */ |
749 | printk("%s: timeout waiting for Tx RDC.\n", dev->name); | 749 | printk("%s: timeout waiting for Tx RDC.\n", dev->name); |
750 | ne_reset_8390(dev); | 750 | ne_reset_8390(dev); |
751 | NS8390_init(dev,1); | 751 | NS8390p_init(dev, 1); |
752 | break; | 752 | break; |
753 | } | 753 | } |
754 | 754 | ||
@@ -781,7 +781,7 @@ int __init init_module(void) | |||
781 | int this_dev, found = 0; | 781 | int this_dev, found = 0; |
782 | 782 | ||
783 | for (this_dev = 0; this_dev < MAX_NE_CARDS; this_dev++) { | 783 | for (this_dev = 0; this_dev < MAX_NE_CARDS; this_dev++) { |
784 | dev = alloc_ei_netdev(); | 784 | dev = alloc_eip_netdev(); |
785 | if (!dev) | 785 | if (!dev) |
786 | break; | 786 | break; |
787 | dev->irq = irq[this_dev]; | 787 | dev->irq = irq[this_dev]; |