diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2005-07-07 17:56:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-07 18:23:36 -0700 |
commit | 3c326fe9cb7ae022f7589a6f5781e49ceab82e64 (patch) | |
tree | 98419a66ee601d790029b9cc670f49ad2c3dab35 /drivers/net/sungem_phy.h | |
parent | 155ad605b3c9c5874ff068f23c6ea8537190e0a8 (diff) | |
download | linux-3c326fe9cb7ae022f7589a6f5781e49ceab82e64.tar.gz linux-3c326fe9cb7ae022f7589a6f5781e49ceab82e64.tar.bz2 linux-3c326fe9cb7ae022f7589a6f5781e49ceab82e64.zip |
[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.h | 3 |
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 |