aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e2100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/e2100.c')
-rw-r--r--drivers/net/e2100.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/e2100.c b/drivers/net/e2100.c
index e5c5cd2a2712..d39e8480ca56 100644
--- a/drivers/net/e2100.c
+++ b/drivers/net/e2100.c
@@ -110,7 +110,7 @@ static void e21_get_8390_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr,
110 110
111static int e21_close(struct net_device *dev); 111static int e21_close(struct net_device *dev);
112 112
113 113
114/* Probe for the E2100 series ethercards. These cards have an 8390 at the 114/* Probe for the E2100 series ethercards. These cards have an 8390 at the
115 base address and the station address at both offset 0x10 and 0x18. I read 115 base address and the station address at both offset 0x10 and 0x18. I read
116 the station address from offset 0x18 to avoid the dataport of NE2000 116 the station address from offset 0x18 to avoid the dataport of NE2000
@@ -403,7 +403,7 @@ e21_close(struct net_device *dev)
403 return 0; 403 return 0;
404} 404}
405 405
406 406
407#ifdef MODULE 407#ifdef MODULE
408#define MAX_E21_CARDS 4 /* Max number of E21 cards per module */ 408#define MAX_E21_CARDS 4 /* Max number of E21 cards per module */
409static struct net_device *dev_e21[MAX_E21_CARDS]; 409static struct net_device *dev_e21[MAX_E21_CARDS];
@@ -425,8 +425,8 @@ MODULE_LICENSE("GPL");
425 425
426/* This is set up so that only a single autoprobe takes place per call. 426/* This is set up so that only a single autoprobe takes place per call.
427ISA device autoprobes on a running machine are not recommended. */ 427ISA device autoprobes on a running machine are not recommended. */
428int 428
429init_module(void) 429int __init init_module(void)
430{ 430{
431 struct net_device *dev; 431 struct net_device *dev;
432 int this_dev, found = 0; 432 int this_dev, found = 0;