diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-09-17 06:50:48 -0400 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-05-06 16:57:26 -0400 |
commit | 66a6ef02294f066b5e059373e798b700b4b73b3b (patch) | |
tree | c0be8c198b1d928986f18e293263e57d51b8e2b1 | |
parent | 8a1ce7e8f7f87e882607952eea8f2e4a178e3a71 (diff) |
can: flexcan: add documentation about mailbox organization
This patch adds a short documentation snippet about the mailbox organization as
it's regularly not correct in freescale's datasheets.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r-- | drivers/net/can/flexcan.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c index 0f5965cc3fbc..eb3ebfb47442 100644 --- a/drivers/net/can/flexcan.c +++ b/drivers/net/can/flexcan.c | |||
@@ -230,6 +230,16 @@ struct flexcan_regs { | |||
230 | u32 rxfir; /* 0x4c */ | 230 | u32 rxfir; /* 0x4c */ |
231 | u32 _reserved3[12]; /* 0x50 */ | 231 | u32 _reserved3[12]; /* 0x50 */ |
232 | struct flexcan_mb cantxfg[64]; /* 0x80 */ | 232 | struct flexcan_mb cantxfg[64]; /* 0x80 */ |
233 | /* FIFO-mode: | ||
234 | * MB | ||
235 | * 0x080...0x08f 0 RX message buffer | ||
236 | * 0x090...0x0df 1-5 reserverd | ||
237 | * 0x0e0...0x0ff 6-7 8 entry ID table | ||
238 | * (mx25, mx28, mx35, mx53) | ||
239 | * 0x0e0...0x2df 6-7..37 8..128 entry ID table | ||
240 | * size conf'ed via ctrl2::RFFN | ||
241 | * (mx6, vf610) | ||
242 | */ | ||
233 | u32 _reserved4[408]; | 243 | u32 _reserved4[408]; |
234 | u32 mecr; /* 0xae0 */ | 244 | u32 mecr; /* 0xae0 */ |
235 | u32 erriar; /* 0xae4 */ | 245 | u32 erriar; /* 0xae4 */ |