can: janz-ican3: fix support for older hardware revisions
authorIra W. Snyder <iws@ovro.caltech.edu>
Tue, 11 Sep 2012 22:58:15 +0000 (15:58 -0700)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 21 Sep 2012 10:54:52 +0000 (12:54 +0200)
commite21093ef6fb4cbecdf926102286dbe280ae965db
treea26a8e0d97c2c5839902c2fa691d4d456a3d254d
parentc0d680e577ff171e7b37dbdb1b1bf5451e851f04
can: janz-ican3: fix support for older hardware revisions

The Revision 1.0 Janz CMOD-IO Carrier Board does not have support for
the reset registers. To support older hardware, the code is changed to
use the hardware reset register on the Janz VMOD-ICAN3 hardware itself.

Cc: stable <stable@vger.kernel.org>
Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/janz-ican3.c