aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ibm_newemac
diff options
context:
space:
mode:
authorValentine Barshak <vbarshak@ru.mvista.com>2007-12-04 19:14:31 -0500
committerJeff Garzik <jeff@garzik.org>2007-12-07 15:09:06 -0500
commit63b6cad795e0a34e8670291943df8a6f653c1931 (patch)
treeb021afaefd16f1ffcc5a6a801ba9190cf49d545a /drivers/net/ibm_newemac
parent4696c3c406a8b32112f8e1f70b3db1114950dcb1 (diff)
ibm_newemac: Fix typo reading TAH channel info
This patch fixes a typo in ibm_newemac/core.c (tah_port should be used instead of tah_ph) Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ibm_newemac')
-rw-r--r--drivers/net/ibm_newemac/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ibm_newemac/core.c b/drivers/net/ibm_newemac/core.c
index 9642931c66ea..7a620e5aaf38 100644
--- a/drivers/net/ibm_newemac/core.c
+++ b/drivers/net/ibm_newemac/core.c
@@ -2442,7 +2442,7 @@ static int __devinit emac_init_config(struct emac_instance *dev)
2442 if (emac_read_uint_prop(np, "tah-device", &dev->tah_ph, 0)) 2442 if (emac_read_uint_prop(np, "tah-device", &dev->tah_ph, 0))
2443 dev->tah_ph = 0; 2443 dev->tah_ph = 0;
2444 if (emac_read_uint_prop(np, "tah-channel", &dev->tah_port, 0)) 2444 if (emac_read_uint_prop(np, "tah-channel", &dev->tah_port, 0))
2445 dev->tah_ph = 0; 2445 dev->tah_port = 0;
2446 if (emac_read_uint_prop(np, "mdio-device", &dev->mdio_ph, 0)) 2446 if (emac_read_uint_prop(np, "mdio-device", &dev->mdio_ph, 0))
2447 dev->mdio_ph = 0; 2447 dev->mdio_ph = 0;
2448 if (emac_read_uint_prop(np, "zmii-device", &dev->zmii_ph, 0)) 2448 if (emac_read_uint_prop(np, "zmii-device", &dev->zmii_ph, 0))