aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dm9000.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2008-05-13 01:41:58 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-05-13 01:41:58 -0400
commit7d2e3cb7000b883a8e489485ac249be572fe17b1 (patch)
tree91bb398cc72e37e5a515b39ca5ade0ac53972b6c /drivers/net/dm9000.c
parent3f8cb098859bbea29d7b3765a3102e4a6bf81b85 (diff)
[netdrvr] Trim trailing whitespace for several drivers
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/dm9000.c')
-rw-r--r--drivers/net/dm9000.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c
index e6fe2614ea6d..12b4626102e1 100644
--- a/drivers/net/dm9000.c
+++ b/drivers/net/dm9000.c
@@ -696,7 +696,7 @@ dm9000_probe(struct platform_device *pdev)
696 696
697 if (!is_valid_ether_addr(ndev->dev_addr)) { 697 if (!is_valid_ether_addr(ndev->dev_addr)) {
698 /* try reading from mac */ 698 /* try reading from mac */
699 699
700 mac_src = "chip"; 700 mac_src = "chip";
701 for (i = 0; i < 6; i++) 701 for (i = 0; i < 6; i++)
702 ndev->dev_addr[i] = ior(db, i+DM9000_PAR); 702 ndev->dev_addr[i] = ior(db, i+DM9000_PAR);
@@ -746,7 +746,7 @@ dm9000_open(struct net_device *dev)
746 dev_warn(db->dev, "WARNING: no IRQ resource flags set.\n"); 746 dev_warn(db->dev, "WARNING: no IRQ resource flags set.\n");
747 irqflags = DEFAULT_TRIGGER; 747 irqflags = DEFAULT_TRIGGER;
748 } 748 }
749 749
750 irqflags |= IRQF_SHARED; 750 irqflags |= IRQF_SHARED;
751 751
752 if (request_irq(dev->irq, &dm9000_interrupt, irqflags, dev->name, dev)) 752 if (request_irq(dev->irq, &dm9000_interrupt, irqflags, dev->name, dev))
@@ -1089,7 +1089,7 @@ static int dm9000_wait_eeprom(board_info_t *db)
1089 /* The DM9000 data sheets say we should be able to 1089 /* The DM9000 data sheets say we should be able to
1090 * poll the ERRE bit in EPCR to wait for the EEPROM 1090 * poll the ERRE bit in EPCR to wait for the EEPROM
1091 * operation. From testing several chips, this bit 1091 * operation. From testing several chips, this bit
1092 * does not seem to work. 1092 * does not seem to work.
1093 * 1093 *
1094 * We attempt to use the bit, but fall back to the 1094 * We attempt to use the bit, but fall back to the
1095 * timeout (which is why we do not return an error 1095 * timeout (which is why we do not return an error