summaryrefslogtreecommitdiff
path: root/drivers/net/macb.h
diff options
context:
space:
mode:
authorfrederic RODO <f.rodo@til-technologies.fr>2007-07-12 19:07:24 +0200
committerJeff Garzik <jeff@garzik.org>2007-07-16 18:28:04 -0400
commit6c36a7074436e181fb3df41f66bbdaf53980951e (patch)
tree8be326aad4f8798059a3606aa29326d9dbad8043 /drivers/net/macb.h
parent54ab2927d38536f6d437bdd0d7454b99bf67a48c (diff)
macb: Use generic PHY layer
Convert the macb driver to use the generic PHY layer in drivers/net/phy. Signed-off-by: Frederic RODO <f.rodo@til-technologies.fr> Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/macb.h')
-rw-r--r--drivers/net/macb.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/macb.h b/drivers/net/macb.h
index b3bb2182edd1..4e3283ebd97c 100644
--- a/drivers/net/macb.h
+++ b/drivers/net/macb.h
@@ -383,11 +383,11 @@ struct macb {
unsigned int rx_pending, tx_pending;
- struct delayed_work periodic_task;
-
- struct mutex mdio_mutex;
- struct completion mdio_complete;
- struct mii_if_info mii;
+ struct mii_bus mii_bus;
+ struct phy_device *phy_dev;
+ unsigned int link;
+ unsigned int speed;
+ unsigned int duplex;
};
#endif /* _MACB_H */