The RX and TX ID mask for CAN2.0 is 11 bits wide. This patch fixes
the incorrect mask, which caused the CAN IDs to miss the MSBit both
on receive and transmit.
Signed-off-by: Marek Vasut
Cc: Marc Kleine-Budde
Cc: Mark Rutland
Cc: Oliver Hartkopp
Cc: Wolfgang Grandegger
---
V2: Use CAN_SFF_MAS
On 03/02/2016 07:10 AM, Oliver Hartkopp wrote:
> Hi Marek,
>
> On 03/01/2016 10:23 PM, Marek Vasut wrote:
>> On 03/01/2016 06:49 PM, Oliver Hartkopp wrote:
>
>
-#define IFI_CANFD_RXFIFO_ID_ID_STD_MASK 0x3ff
+#define IFI_CANFD_RXFIFO_ID_ID_STD_MASK 0x7ff
#defin
Hi Marek,
On 03/01/2016 10:23 PM, Marek Vasut wrote:
> On 03/01/2016 06:49 PM, Oliver Hartkopp wrote:
>>> -#define IFI_CANFD_RXFIFO_ID_ID_STD_MASK0x3ff
>>> +#define IFI_CANFD_RXFIFO_ID_ID_STD_MASK0x7ff
>>> #define IFI_CANFD_RXFIFO_ID_ID_XTD_MASK0x1fff
>>
On 03/01/2016 06:49 PM, Oliver Hartkopp wrote:
> Hi Marek,
Hi Oliver,
> On 02/29/2016 08:59 PM, Marek Vasut wrote:
>> The RX and TX ID mask for CAN2.0 is 11 bits wide. This patch fixes
>> the incorrect mask, which caused the CAN IDs to miss the MSBit both
>> on receive and transmit.
>>
>> Signed-
Hi Marek,
On 02/29/2016 08:59 PM, Marek Vasut wrote:
> The RX and TX ID mask for CAN2.0 is 11 bits wide. This patch fixes
> the incorrect mask, which caused the CAN IDs to miss the MSBit both
> on receive and transmit.
>
> Signed-off-by: Marek Vasut
> Cc: Marc Kleine-Budde
> Cc: Mark Rutland
>
The RX and TX ID mask for CAN2.0 is 11 bits wide. This patch fixes
the incorrect mask, which caused the CAN IDs to miss the MSBit both
on receive and transmit.
Signed-off-by: Marek Vasut
Cc: Marc Kleine-Budde
Cc: Mark Rutland
Cc: Oliver Hartkopp
Cc: Wolfgang Grandegger
---
drivers/net/can/if