OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91a5615
)
net: sh_eth: fix the parameter for the ETHER of SH7757
author
Yoshihiro Shimoda
<yoshihiro.shimoda.uh@renesas.com>
Tue, 5 Jul 2011 20:33:57 +0000
(20:33 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 6 Jul 2011 06:41:17 +0000
(23:41 -0700)
If the driver didn't set this parameter on the ETHER, the CPU will
encounter the "data address error" exception.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sh_eth.c
patch
|
blob
|
history
diff --git
a/drivers/net/sh_eth.c
b/drivers/net/sh_eth.c
index
35bbc27
..
1f3f7b4
100644
(file)
--- a/
drivers/net/sh_eth.c
+++ b/
drivers/net/sh_eth.c
@@
-140,6
+140,8
@@
static struct sh_eth_cpu_data sh_eth_my_cpu_data = {
.tpauser = 1,
.hw_swap = 1,
.no_ade = 1,
+ .rpadir = 1,
+ .rpadir_value = 2 << 16,
};
#define SH_GIGA_ETH_BASE 0xfee00000