aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/vme/bridges
diff options
context:
space:
mode:
authorMartyn Welch <martyn.welch@ge.com>2013-06-17 12:16:17 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-17 19:43:08 -0400
commitc36c5736be5cc638db7659093bf8c2c7f48c5000 (patch)
tree692423abe0aad36b3b2451bcaa0ca89fbaea29ce /drivers/vme/bridges
parent2981795cc0c02d12d0e231bfe22480564b937cd5 (diff)
vme: tsi148: Window reserved for accessing CR/CSR does not need attributes set
The tsi148 driver can be configured to reserve a window for internal use (as part of the error checking routine). The intialisation of this window currently configures a set of attributes that are never used as these are only ever used by the VME core and this window is not advertised to the core. Remove configuration of these attributes. Signed-off-by: Martyn Welch <martyn.welch@ge.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/vme/bridges')
-rw-r--r--drivers/vme/bridges/vme_tsi148.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/vme/bridges/vme_tsi148.c b/drivers/vme/bridges/vme_tsi148.c
index c04600e26a38..0bb512cfad77 100644
--- a/drivers/vme/bridges/vme_tsi148.c
+++ b/drivers/vme/bridges/vme_tsi148.c
@@ -2448,13 +2448,6 @@ static int tsi148_probe(struct pci_dev *pdev, const struct pci_device_id *id)
2448 spin_lock_init(&tsi148_device->flush_image->lock); 2448 spin_lock_init(&tsi148_device->flush_image->lock);
2449 tsi148_device->flush_image->locked = 1; 2449 tsi148_device->flush_image->locked = 1;
2450 tsi148_device->flush_image->number = master_num; 2450 tsi148_device->flush_image->number = master_num;
2451 tsi148_device->flush_image->address_attr = VME_A16 | VME_A24 |
2452 VME_A32 | VME_A64;
2453 tsi148_device->flush_image->cycle_attr = VME_SCT | VME_BLT |
2454 VME_MBLT | VME_2eVME | VME_2eSST | VME_2eSSTB |
2455 VME_2eSST160 | VME_2eSST267 | VME_2eSST320 | VME_SUPER |
2456 VME_USER | VME_PROG | VME_DATA;
2457 tsi148_device->flush_image->width_attr = VME_D16 | VME_D32;
2458 memset(&tsi148_device->flush_image->bus_resource, 0, 2451 memset(&tsi148_device->flush_image->bus_resource, 0,
2459 sizeof(struct resource)); 2452 sizeof(struct resource));
2460 tsi148_device->flush_image->kern_base = NULL; 2453 tsi148_device->flush_image->kern_base = NULL;