ucc_geth: Don't use RX clock as TX clock.
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Tue, 29 Apr 2008 11:03:57 +0000 (13:03 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 6 May 2008 16:27:58 +0000 (12:27 -0400)
Commit 9fb1e350e16164d56990dde036ae9c0a2fd3f634,
ucc_geth: use rx-clock-name and tx-clock-name device tree properties
Introduced a typo that made the driver use the RX clock
as TX clock, causing massive TX errors.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/ucc_geth.c

index b3bbb2dc5cfa337f8051b0ad8580755084bb51cb..ca0bdac07a7841c23b0ddc10010ae310e28df999 100644 (file)
@@ -3922,7 +3922,7 @@ static int ucc_geth_probe(struct of_device* ofdev, const struct of_device_id *ma
                        return -EINVAL;
                }
        } else {
-               prop = of_get_property(np, "rx-clock", NULL);
+               prop = of_get_property(np, "tx-clock", NULL);
                if (!prop) {
                        printk(KERN_ERR
                                "ucc_geth: mising tx-clock-name property\n");