aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/arm/at91_ether.h
diff options
context:
space:
mode:
authorAndrew Victor <andrew@sanpeople.com>2006-06-20 06:10:57 -0400
committerJeff Garzik <jeff@garzik.org>2006-06-22 22:56:21 -0400
commit427d269f17fd02d192e9ae3bd93bdc07790fa02c (patch)
tree2bb5f446e7e134173a7b83a4940d147dd88a2c19 /drivers/net/arm/at91_ether.h
parentca5585ed248dc01ce918002ee9a9c9c41ae4f7c0 (diff)
[PATCH] AT91RM9200 Ethernet #3: Cleanup
Moved global ether_clk variable into controller data structure. Patch from David Brownell. Davicom 9161 PHY was being incorrectly displayed as "9196". Patch from Brian Stafford. clk_get() doesn't return NULL on error, so the return value needs to be tested with IS_ERR(). Whitespace cleanup. Signed-off-by: Andrew Victor <andrew@sanpeople.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/arm/at91_ether.h')
-rw-r--r--drivers/net/arm/at91_ether.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/arm/at91_ether.h b/drivers/net/arm/at91_ether.h
index 9885735c9c8a..d1e72e02be3a 100644
--- a/drivers/net/arm/at91_ether.h
+++ b/drivers/net/arm/at91_ether.h
@@ -80,6 +80,7 @@ struct at91_private
80 struct net_device_stats stats; 80 struct net_device_stats stats;
81 struct mii_if_info mii; /* ethtool support */ 81 struct mii_if_info mii; /* ethtool support */
82 struct at91_eth_data board_data; /* board-specific configuration */ 82 struct at91_eth_data board_data; /* board-specific configuration */
83 struct clk *ether_clk; /* clock */
83 84
84 /* PHY */ 85 /* PHY */
85 unsigned long phy_type; /* type of PHY (PHY_ID) */ 86 unsigned long phy_type; /* type of PHY (PHY_ID) */