]> git.baikalelectronics.ru Git - kernel.git/commit
can: at91_can: add support for the AT91SAM9X5 SOCs
authorMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 16 Apr 2011 22:08:45 +0000 (00:08 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 6 Jun 2011 12:50:57 +0000 (14:50 +0200)
commite32bacdbdc733e5f9ffb378ba64da6dcdefbc674
tree2108330f6931dfaec98cf3fc936bf62ede0db72f
parentdd66c2e1cc8064426b8f8d2163a53c1870d34368
can: at91_can: add support for the AT91SAM9X5 SOCs

The AT91SAM9X5 SOCs have a similar CAN core, but they only have 8 compared
to 16 mailboxes on the AT91SAM9263 SOC. Another difference is that the bits
defining the state of the CAN core are cleared on read, thus the driver
has to derive the state by looking at the error counters.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/at91_can.c