]> git.baikalelectronics.ru Git - kernel.git/commit
max3110 sanity check a register
authorjianwei.yang <jianwei.yang@intel.com>
Wed, 16 Jun 2010 13:46:49 +0000 (14:46 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 20:47:39 +0000 (13:47 -0700)
commit1c524466a660c1db3954ffcaa61e550077f45349
tree0a0a30ea891d7d92aea47949c4ec8a16e710c1d6
parent4b1411a177ee2cdc771ca863fd8907204e6c5db3
max3110 sanity check a register

MAX3111 is the SPI/UART IC installed on the MRST SPI Port Card as a serial
debug goal, and the SPI Port Card will be frequently mounted and unmounted
from the main board by developers depending whether debug serial is
required or not.

As the MAX3111 has no subvendor or product id registers available, the patch
will try to access one register to decide if this IC is present or not.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/mrst_max3110.c