lkml.org 
[lkml]   [1999]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject2.0.37 patch for drivers/net/setup.c
Date
Others have reported this problem as a compilation failure with
CONFIG_DUMMY. Looks like some simple cut'n'paste breakage.

Completed untested, but obviously correct :-)

--- linux-2.3/drivers/net/setup.c~ Fri Nov 12 08:26:29 1999
+++ linux-2.3/drivers/net/setup.c Fri Nov 12 08:27:49 1999
@@ -309,7 +309,7 @@
static struct net_device dummy_dev = {
"dummy" __PAD5, 0x0, 0x0, 0x0, 0x0, 0, 0, 0, 0, 0, NULL, dummy_init,
};
- register_netdev(&sb1000_dev);
+ register_netdev(&dummy_dev);
}
#endif
#ifdef CONFIG_EQUALIZER
@@ -325,7 +325,7 @@
NULL, /* next device */
eql_init /* set up the rest */
};
- register_netdev(&sb1000_dev);
+ register_netdev(&eql_dev);
}
#endif
#ifdef CONFIG_APBIF
@@ -335,7 +335,7 @@
{
"bif" __PAD3, 0x0, 0x0, 0x0, 0x0, 0, 0, 0, 0, 0, NULL, bif_init
};
- register_netdev(&sb1000_dev);
+ register_netdev(&bif_dev);
}
#endif
#ifdef CONFIG_NET_SB1000
--
`O O' | Nick.Holloway@alfie.demon.co.uk
// ^ \\ | http://www.alfie.demon.co.uk/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.030 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site