aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2011-04-16 07:25:15 -0400
committerMarc Kleine-Budde <mkl@pengutronix.de>2011-06-06 05:00:10 -0400
commit5613fff2dc315e5f44623031cb62a29942548427 (patch)
treed6643b6b5a6e24f8dd111125ad838d2980051c1e /drivers/net/can
parent44d856665789288859b7aa47ca25933c1c6ab57d (diff)
can: at91_can: fix comment about priv->tx_next
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can')
-rw-r--r--drivers/net/can/at91_can.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/at91_can.c b/drivers/net/can/at91_can.c
index 8f15ae4c719f..afd0f5d394b0 100644
--- a/drivers/net/can/at91_can.c
+++ b/drivers/net/can/at91_can.c
@@ -375,7 +375,7 @@ static void at91_chip_stop(struct net_device *dev, enum can_state state)
375 * mailbox, but without the offset AT91_MB_TX_FIRST. The lower bits 375 * mailbox, but without the offset AT91_MB_TX_FIRST. The lower bits
376 * encode the mailbox number, the upper 4 bits the mailbox priority: 376 * encode the mailbox number, the upper 4 bits the mailbox priority:
377 * 377 *
378 * priv->tx_next = (prio << AT91_NEXT_PRIO_SHIFT) || 378 * priv->tx_next = (prio << AT91_NEXT_PRIO_SHIFT) |
379 * (mb - AT91_MB_TX_FIRST); 379 * (mb - AT91_MB_TX_FIRST);
380 * 380 *
381 */ 381 */