diff options
author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | 2008-04-29 07:03:57 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-05-06 12:27:58 -0400 |
commit | e410553fd35afd6d290b65e02dc501722406377d (patch) | |
tree | 1c07048476fb6dda913a693bb79332681efc6298 | |
parent | 1b3aa7afb60d34867eea5e73ee943b2a026fc47c (diff) |
ucc_geth: Don't use RX clock as TX clock.
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>
-rw-r--r-- | drivers/net/ucc_geth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c index b3bbb2dc5cfa..ca0bdac07a78 100644 --- a/drivers/net/ucc_geth.c +++ b/drivers/net/ucc_geth.c | |||
@@ -3922,7 +3922,7 @@ static int ucc_geth_probe(struct of_device* ofdev, const struct of_device_id *ma | |||
3922 | return -EINVAL; | 3922 | return -EINVAL; |
3923 | } | 3923 | } |
3924 | } else { | 3924 | } else { |
3925 | prop = of_get_property(np, "rx-clock", NULL); | 3925 | prop = of_get_property(np, "tx-clock", NULL); |
3926 | if (!prop) { | 3926 | if (!prop) { |
3927 | printk(KERN_ERR | 3927 | printk(KERN_ERR |
3928 | "ucc_geth: mising tx-clock-name property\n"); | 3928 | "ucc_geth: mising tx-clock-name property\n"); |