summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-08-15 09:30:46 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-08-15 09:48:03 +0200
commit8fddb2edf6b862afbf4a663df179e3aabd932e39 (patch)
treec76af019ee858388d7024acda218e5b36e62854a /include
parent6d16fbdcd487a976840adc2b1438e0d0efced3a7 (diff)
downloadbarebox-8fddb2edf6b862afbf4a663df179e3aabd932e39.tar.gz
barebox-8fddb2edf6b862afbf4a663df179e3aabd932e39.tar.xz
net mii: add a parent pointer to miidevs and set it to the hardware device
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/miidev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/miidev.h b/include/miidev.h
index 6f653d9f01..21727effce 100644
--- a/include/miidev.h
+++ b/include/miidev.h
@@ -33,6 +33,7 @@
struct mii_device {
struct device_d dev;
+ struct device_d *parent;
int address; /* The address the phy has on the bus */
int (*read) (struct mii_device *dev, int addr, int reg);