diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-10-14 16:25:01 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-10-15 08:54:41 +0200 |
commit | 052a70120740c0afe0a33ba58c81ff2e0818fcea (patch) | |
tree | 6b6479b3eac9c6269f2d65b439fcdb8753d918c5 /include | |
parent | 840d4858d0aa7137e2e6b582c9303d9391536b37 (diff) | |
download | barebox-052a70120740c0afe0a33ba58c81ff2e0818fcea.tar.gz barebox-052a70120740c0afe0a33ba58c81ff2e0818fcea.tar.xz |
net:designware: allow to pass the phy interface
If none set use NA (0) as before.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/designware.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/designware.h b/include/net/designware.h index 1c8a00edfc..3f31c97610 100644 --- a/include/net/designware.h +++ b/include/net/designware.h @@ -1,8 +1,11 @@ #ifndef __DWC_UNIMAC_H #define __DWC_UNIMAC_H +#include <linux/phy.h> + struct dwc_ether_platform_data { int phy_addr; + phy_interface_t interface; void (*fix_mac_speed)(int speed); }; |