diff options
author | frederic RODO <f.rodo@til-technologies.fr> | 2007-07-12 13:07:24 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-16 18:28:04 -0400 |
commit | 6c36a7074436e181fb3df41f66bbdaf53980951e (patch) | |
tree | 8be326aad4f8798059a3606aa29326d9dbad8043 /drivers/net/macb.h | |
parent | 54ab2927d38536f6d437bdd0d7454b99bf67a48c (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.h | 10 |
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 { | |||
383 | 383 | ||
384 | unsigned int rx_pending, tx_pending; | 384 | unsigned int rx_pending, tx_pending; |
385 | 385 | ||
386 | struct delayed_work periodic_task; | 386 | struct mii_bus mii_bus; |
387 | 387 | struct phy_device *phy_dev; | |
388 | struct mutex mdio_mutex; | 388 | unsigned int link; |
389 | struct completion mdio_complete; | 389 | unsigned int speed; |
390 | struct mii_if_info mii; | 390 | unsigned int duplex; |
391 | }; | 391 | }; |
392 | 392 | ||
393 | #endif /* _MACB_H */ | 393 | #endif /* _MACB_H */ |