Staging: vme: Allow override of geographical address on tsi148
authorMartyn Welch <martyn.welch@gefanuc.com>
Tue, 15 Dec 2009 08:42:49 +0000 (08:42 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:27 +0000 (16:42 -0800)
commit638f199db463a8f2b1535c45ab27d04bb1a55baf
tree278243aa1da7dd38c0fb4c5a2e35d8db16ceb4ea
parent51616e21066d040988a33effa82d4ef37fd60959
Staging: vme: Allow override of geographical address on tsi148

Geographical addressing only works if the VME backplane supports it. There
are a large number of old backplanes which do not support geographical
addressing. These boards will generally report a slot ID of zero - which is
an invalid ID in the slot numbering scheme.

Allow the geographical address to be over-ridden on the tsi148 so that a
slot ID can be provided manually in these circumstances.

Signed-off-by: Markus Kraemer <mkraemer@e18.physik.tu-muenchen.de>
Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/vme/bridges/vme_tsi148.c