aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/smc-ultra.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/smc-ultra.c')
-rw-r--r--drivers/net/smc-ultra.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/smc-ultra.c b/drivers/net/smc-ultra.c
index 45449353a958..7986514883ac 100644
--- a/drivers/net/smc-ultra.c
+++ b/drivers/net/smc-ultra.c
@@ -111,7 +111,7 @@ static struct isapnp_device_id ultra_device_ids[] __initdata = {
111MODULE_DEVICE_TABLE(isapnp, ultra_device_ids); 111MODULE_DEVICE_TABLE(isapnp, ultra_device_ids);
112#endif 112#endif
113 113
114 114
115#define START_PG 0x00 /* First page of TX buffer */ 115#define START_PG 0x00 /* First page of TX buffer */
116 116
117#define ULTRA_CMDREG 0 /* Offset to ASIC command register. */ 117#define ULTRA_CMDREG 0 /* Offset to ASIC command register. */
@@ -122,7 +122,7 @@ MODULE_DEVICE_TABLE(isapnp, ultra_device_ids);
122#define ULTRA_NIC_OFFSET 16 /* NIC register offset from the base_addr. */ 122#define ULTRA_NIC_OFFSET 16 /* NIC register offset from the base_addr. */
123#define ULTRA_IO_EXTENT 32 123#define ULTRA_IO_EXTENT 32
124#define EN0_ERWCNT 0x08 /* Early receive warning count. */ 124#define EN0_ERWCNT 0x08 /* Early receive warning count. */
125 125
126#ifdef CONFIG_NET_POLL_CONTROLLER 126#ifdef CONFIG_NET_POLL_CONTROLLER
127static void ultra_poll(struct net_device *dev) 127static void ultra_poll(struct net_device *dev)
128{ 128{
@@ -536,7 +536,7 @@ ultra_close_card(struct net_device *dev)
536 return 0; 536 return 0;
537} 537}
538 538
539 539
540#ifdef MODULE 540#ifdef MODULE
541#define MAX_ULTRA_CARDS 4 /* Max number of Ultra cards per module */ 541#define MAX_ULTRA_CARDS 4 /* Max number of Ultra cards per module */
542static struct net_device *dev_ultra[MAX_ULTRA_CARDS]; 542static struct net_device *dev_ultra[MAX_ULTRA_CARDS];