diff options
author | David Daney <ddaney@caviumnetworks.com> | 2009-10-14 19:04:42 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-12-17 01:57:00 (GMT) |
commit | f6ed1b3b3579db5c8c3aaf6fd3010c706973a35d (patch) | |
tree | 82957dab3ed4653fe83236fa839fe639294672ff /drivers/staging/octeon/octeon-ethernet.h | |
parent | d6aa60a10b2f5068e331ca2936b1e6c248ae37c1 (diff) | |
download | linux-fsl-qoriq-f6ed1b3b3579db5c8c3aaf6fd3010c706973a35d.tar.xz |
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.h | 6 |
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 */ |