summaryrefslogtreecommitdiffstats
path: root/drivers/staging/octeon/octeon-ethernet.h
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2009-10-14 12:04:42 -0700
committerRalf Baechle <ralf@linux-mips.org>2009-12-17 01:57:00 +0000
commitf6ed1b3b3579db5c8c3aaf6fd3010c706973a35d (patch)
tree82957dab3ed4653fe83236fa839fe639294672ff /drivers/staging/octeon/octeon-ethernet.h
parentd6aa60a10b2f5068e331ca2936b1e6c248ae37c1 (diff)
downloadop-kernel-dev-f6ed1b3b3579db5c8c3aaf6fd3010c706973a35d.zip
op-kernel-dev-f6ed1b3b3579db5c8c3aaf6fd3010c706973a35d.tar.gz
Staging: octeon-ethernet: Convert to use PHY Abstraction Layer.
The octeon-ethernet driver shares an mdio bus with the octeon-mgmt driver. Here we convert the octeon-ethernet driver to use the PHY Abstraction Layer. Signed-off-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/staging/octeon/octeon-ethernet.h')
-rw-r--r--drivers/staging/octeon/octeon-ethernet.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/octeon/octeon-ethernet.h b/drivers/staging/octeon/octeon-ethernet.h
index 3aef987..402a15b 100644
--- a/drivers/staging/octeon/octeon-ethernet.h
+++ b/drivers/staging/octeon/octeon-ethernet.h
@@ -50,9 +50,9 @@ struct octeon_ethernet {
/* List of outstanding tx buffers per queue */
struct sk_buff_head tx_free_list[16];
/* Device statistics */
- struct net_device_stats stats
-; /* Generic MII info structure */
- struct mii_if_info mii_info;
+ struct net_device_stats stats;
+ struct phy_device *phydev;
+ unsigned int last_link;
/* Last negotiated link state */
uint64_t link_info;
/* Called periodically to check link status */
OpenPOWER on IntegriCloud