projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers: net: ldpaa: add DTS based probing support
[platform/kernel/u-boot.git]
/
drivers
/
net
/
ldpaa_eth
/
ldpaa_eth.h
diff --git
a/drivers/net/ldpaa_eth/ldpaa_eth.h
b/drivers/net/ldpaa_eth/ldpaa_eth.h
index
3f9154b
..
e90513e
100644
(file)
--- a/
drivers/net/ldpaa_eth/ldpaa_eth.h
+++ b/
drivers/net/ldpaa_eth/ldpaa_eth.h
@@
-116,7
+116,13
@@
struct ldpaa_fas {
LDPAA_ETH_FAS_TIDE)
struct ldpaa_eth_priv {
+#ifdef CONFIG_DM_ETH
+ struct phy_device *phy;
+ int phy_mode;
+ bool started;
+#else
struct eth_device *net_dev;
+#endif
uint32_t dpmac_id;
uint16_t dpmac_handle;