]> rtime.felk.cvut.cz Git - socketcan-devel.git/commit
at91_can: add NAPI support fix error and bus off handling
authorwolf <wolf@030b6a49-0b11-0410-94ab-b0dab22257f2>
Tue, 15 Sep 2009 18:25:47 +0000 (18:25 +0000)
committerwolf <wolf@030b6a49-0b11-0410-94ab-b0dab22257f2>
Tue, 15 Sep 2009 18:25:47 +0000 (18:25 +0000)
commite111f10e853070b2f1125ad06fd1af0592cb8b7a
tree9c624621b5a605385b89cf86820155d19fed7e17
parentb6fa9a5f1671b7f0b7160b4e9edfc9cb202a4517
at91_can: add NAPI support fix error and bus off handling

This patch updates the at91_can driver it features:
- NAPI for rx and error packages
  (tx and state changes stay in irq handler)
- implemented bus off and errror handling conforming to the
  Linux CAN API

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
git-svn-id: svn://svn.berlios.de//socketcan/trunk@1056 030b6a49-0b11-0410-94ab-b0dab22257f2
kernel/2.6/drivers/net/can/at91_can.c