diff options
author | Tomoya <tomoya-linux@dsn.okisemi.com> | 2011-02-07 18:29:01 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-08 19:37:19 -0500 |
commit | eab743ede8c4a5e88533d022e9c5374ed08df4cb (patch) | |
tree | 69bd84b2b38fdc9b4644525d22b30f663429aa5b | |
parent | 8d3bdbd55a7e2a3f2c148a4830aa26dd682b21c4 (diff) |
pch_can: fix 800k comms issue
Currently, 800k comms fails since prop_seg set zero.
(EG20T PCH CAN register of prop_seg must be set more than 1)
To prevent prop_seg set to zero, change tseg2_min 1 to 2.
Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/can/pch_can.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/pch_can.c b/drivers/net/can/pch_can.c index c42e97268248..9b171d12f793 100644 --- a/drivers/net/can/pch_can.c +++ b/drivers/net/can/pch_can.c | |||
@@ -187,7 +187,7 @@ static struct can_bittiming_const pch_can_bittiming_const = { | |||
187 | .name = KBUILD_MODNAME, | 187 | .name = KBUILD_MODNAME, |
188 | .tseg1_min = 1, | 188 | .tseg1_min = 1, |
189 | .tseg1_max = 16, | 189 | .tseg1_max = 16, |
190 | .tseg2_min = 1, | 190 | .tseg2_min = 2, |
191 | .tseg2_max = 8, | 191 | .tseg2_max = 8, |
192 | .sjw_max = 4, | 192 | .sjw_max = 4, |
193 | .brp_min = 1, | 193 | .brp_min = 1, |