aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dm9000.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/dm9000.c')
-rw-r--r--drivers/net/dm9000.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c
index 1d92ddd1ec35..6440a892bb81 100644
--- a/drivers/net/dm9000.c
+++ b/drivers/net/dm9000.c
@@ -152,7 +152,6 @@ static int dm9000_probe(struct device *);
152static int dm9000_open(struct net_device *); 152static int dm9000_open(struct net_device *);
153static int dm9000_start_xmit(struct sk_buff *, struct net_device *); 153static int dm9000_start_xmit(struct sk_buff *, struct net_device *);
154static int dm9000_stop(struct net_device *); 154static int dm9000_stop(struct net_device *);
155static int dm9000_do_ioctl(struct net_device *, struct ifreq *, int);
156 155
157 156
158static void dm9000_timer(unsigned long); 157static void dm9000_timer(unsigned long);
@@ -391,8 +390,6 @@ dm9000_probe(struct device *dev)
391 int i; 390 int i;
392 u32 id_val; 391 u32 id_val;
393 392
394 printk(KERN_INFO "%s Ethernet Driver\n", CARDNAME);
395
396 /* Init network device */ 393 /* Init network device */
397 ndev = alloc_etherdev(sizeof (struct board_info)); 394 ndev = alloc_etherdev(sizeof (struct board_info));
398 if (!ndev) { 395 if (!ndev) {
@@ -547,7 +544,6 @@ dm9000_probe(struct device *dev)
547 ndev->stop = &dm9000_stop; 544 ndev->stop = &dm9000_stop;
548 ndev->get_stats = &dm9000_get_stats; 545 ndev->get_stats = &dm9000_get_stats;
549 ndev->set_multicast_list = &dm9000_hash_table; 546 ndev->set_multicast_list = &dm9000_hash_table;
550 ndev->do_ioctl = &dm9000_do_ioctl;
551 547
552#ifdef DM9000_PROGRAM_EEPROM 548#ifdef DM9000_PROGRAM_EEPROM
553 program_eeprom(db); 549 program_eeprom(db);
@@ -851,15 +847,6 @@ dm9000_get_stats(struct net_device *dev)
851 return &db->stats; 847 return &db->stats;
852} 848}
853 849
854/*
855 * Process the upper socket ioctl command
856 */
857static int
858dm9000_do_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
859{
860 PRINTK1("entering %s\n",__FUNCTION__);
861 return 0;
862}
863 850
864/* 851/*
865 * A periodic timer routine 852 * A periodic timer routine
@@ -1213,6 +1200,8 @@ static struct device_driver dm9000_driver = {
1213static int __init 1200static int __init
1214dm9000_init(void) 1201dm9000_init(void)
1215{ 1202{
1203 printk(KERN_INFO "%s Ethernet Driver\n", CARDNAME);
1204
1216 return driver_register(&dm9000_driver); /* search board and register */ 1205 return driver_register(&dm9000_driver); /* search board and register */
1217} 1206}
1218 1207