pch_can: fix 800k comms issue
authorTomoya <tomoya-linux@dsn.okisemi.com>
Mon, 7 Feb 2011 23:29:01 +0000 (23:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Feb 2011 00:37:19 +0000 (16:37 -0800)
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>
drivers/net/can/pch_can.c

index c42e97268248889acdb007a16cb9bf8152413bd2..9b171d12f7935892ec0caaa49b8aded16e5f2786 100644 (file)
@@ -187,7 +187,7 @@ static struct can_bittiming_const pch_can_bittiming_const = {
        .name = KBUILD_MODNAME,
        .tseg1_min = 1,
        .tseg1_max = 16,
-       .tseg2_min = 1,
+       .tseg2_min = 2,
        .tseg2_max = 8,
        .sjw_max = 4,
        .brp_min = 1,