diff options
Diffstat (limited to 'drivers/net/can/mscan/mscan.h')
-rw-r--r-- | drivers/net/can/mscan/mscan.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/can/mscan/mscan.h b/drivers/net/can/mscan/mscan.h index 20180007fe3d..00fc4aaf1ed8 100644 --- a/drivers/net/can/mscan/mscan.h +++ b/drivers/net/can/mscan/mscan.h | |||
@@ -131,6 +131,11 @@ | |||
131 | /* MSCAN Miscellaneous Register (CANMISC) bits */ | 131 | /* MSCAN Miscellaneous Register (CANMISC) bits */ |
132 | #define MSCAN_BOHOLD 0x01 | 132 | #define MSCAN_BOHOLD 0x01 |
133 | 133 | ||
134 | /* MSCAN Identifier Register (IDR) bits */ | ||
135 | #define MSCAN_SFF_RTR_SHIFT 4 | ||
136 | #define MSCAN_EFF_RTR_SHIFT 0 | ||
137 | #define MSCAN_EFF_FLAGS 0x18 /* IDE + SRR */ | ||
138 | |||
134 | #ifdef MSCAN_FOR_MPC5200 | 139 | #ifdef MSCAN_FOR_MPC5200 |
135 | #define _MSCAN_RESERVED_(n, num) u8 _res##n[num] | 140 | #define _MSCAN_RESERVED_(n, num) u8 _res##n[num] |
136 | #define _MSCAN_RESERVED_DSR_SIZE 2 | 141 | #define _MSCAN_RESERVED_DSR_SIZE 2 |