diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2010-08-26 18:33:28 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-08-27 14:36:03 +0200 |
commit | 12f396a8b02e57f579d2863299948b5172ffdf6f (patch) | |
tree | dd354d4cf966925422d20f5796a134d148d39693 /include/usb/usbnet.h | |
parent | f2283c2057b28d81b9060ba3fde68f24f2eb2922 (diff) | |
download | barebox-12f396a8b02e57f579d2863299948b5172ffdf6f.tar.gz barebox-12f396a8b02e57f579d2863299948b5172ffdf6f.tar.xz |
net: rework the mii support
this rework is done in order to add a phylib and allow to have phy driver support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/usb/usbnet.h')
-rw-r--r-- | include/usb/usbnet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/usb/usbnet.h b/include/usb/usbnet.h index e3ea373d95..1609b2eb26 100644 --- a/include/usb/usbnet.h +++ b/include/usb/usbnet.h @@ -23,7 +23,7 @@ #define __LINUX_USB_USBNET_H #include <net.h> -#include <miiphy.h> +#include <miidev.h> /* interface from usbnet core to each USB networking link we handle */ struct usbnet { @@ -40,7 +40,7 @@ struct usbnet { /* protocol/interface state */ struct eth_device edev; - struct miiphy_device miiphy; + struct mii_device miidev; int msg_enable; unsigned long data [5]; |