summaryrefslogtreecommitdiff
path: root/drivers/net/sungem_phy.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2005-07-08 04:56:09 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-08 05:23:36 +0400
commit3c326fe9cb7ae022f7589a6f5781e49ceab82e64 (patch)
tree98419a66ee601d790029b9cc670f49ad2c3dab35 /drivers/net/sungem_phy.h
parent155ad605b3c9c5874ff068f23c6ea8537190e0a8 (diff)
downloadlinux-3c326fe9cb7ae022f7589a6f5781e49ceab82e64.tar.xz
[PATCH] ppc64: Add new PHY to sungem
This patch adds support for some new PHY models to sungem as used on some recent Apple iMac G5 models. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/net/sungem_phy.h')
-rw-r--r--drivers/net/sungem_phy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/sungem_phy.h b/drivers/net/sungem_phy.h
index 822cb58174ea..430544496c52 100644
--- a/drivers/net/sungem_phy.h
+++ b/drivers/net/sungem_phy.h
@@ -43,9 +43,10 @@ struct mii_phy
int pause;
/* Provided by host chip */
- struct net_device* dev;
+ struct net_device *dev;
int (*mdio_read) (struct net_device *dev, int mii_id, int reg);
void (*mdio_write) (struct net_device *dev, int mii_id, int reg, int val);
+ void *platform_data;
};
/* Pass in a struct mii_phy with dev, mdio_read and mdio_write