aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/smc-ultra32.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-09-13 13:24:59 -0400
committerJeff Garzik <jeff@garzik.org>2006-09-13 13:24:59 -0400
commit6aa20a2235535605db6d6d2bd850298b2fe7f31e (patch)
treedf0b855043407b831d57f2f2c271f8aab48444f4 /drivers/net/smc-ultra32.c
parent7a291083225af6e22ffaa46b3d91cfc1a1ccaab4 (diff)
drivers/net: Trim trailing whitespace
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/smc-ultra32.c')
-rw-r--r--drivers/net/smc-ultra32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/smc-ultra32.c b/drivers/net/smc-ultra32.c
index 85be22a05973..e10755ec5def 100644
--- a/drivers/net/smc-ultra32.c
+++ b/drivers/net/smc-ultra32.c
@@ -74,7 +74,7 @@ static void ultra32_block_output(struct net_device *dev, int count,
74 const unsigned char *buf, 74 const unsigned char *buf,
75 const int start_page); 75 const int start_page);
76static int ultra32_close(struct net_device *dev); 76static int ultra32_close(struct net_device *dev);
77 77
78#define ULTRA32_CMDREG 0 /* Offset to ASIC command register. */ 78#define ULTRA32_CMDREG 0 /* Offset to ASIC command register. */
79#define ULTRA32_RESET 0x80 /* Board reset, in ULTRA32_CMDREG. */ 79#define ULTRA32_RESET 0x80 /* Board reset, in ULTRA32_CMDREG. */
80#define ULTRA32_MEMENB 0x40 /* Enable the shared memory. */ 80#define ULTRA32_MEMENB 0x40 /* Enable the shared memory. */
@@ -314,7 +314,7 @@ static int ultra32_close(struct net_device *dev)
314 int ioaddr = dev->base_addr - ULTRA32_NIC_OFFSET; /* CMDREG */ 314 int ioaddr = dev->base_addr - ULTRA32_NIC_OFFSET; /* CMDREG */
315 315
316 netif_stop_queue(dev); 316 netif_stop_queue(dev);
317 317
318 if (ei_debug > 1) 318 if (ei_debug > 1)
319 printk("%s: Shutting down ethercard.\n", dev->name); 319 printk("%s: Shutting down ethercard.\n", dev->name);
320 320
@@ -413,7 +413,7 @@ static void ultra32_block_output(struct net_device *dev,
413 413
414 memcpy_toio(xfer_start, buf, count); 414 memcpy_toio(xfer_start, buf, count);
415} 415}
416 416
417#ifdef MODULE 417#ifdef MODULE
418#define MAX_ULTRA32_CARDS 4 /* Max number of Ultra cards per module */ 418#define MAX_ULTRA32_CARDS 4 /* Max number of Ultra cards per module */
419static struct net_device *dev_ultra[MAX_ULTRA32_CARDS]; 419static struct net_device *dev_ultra[MAX_ULTRA32_CARDS];