aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sym53c8xx_2/sym_glue.c
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2006-03-28 11:03:43 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-04-13 11:13:22 -0400
commit1f61d82490a26dbcde903b33e24f6d11b758b64c (patch)
tree12496cbf9beb122fd56b4909a7225a7082d4beb1 /drivers/scsi/sym53c8xx_2/sym_glue.c
parent92aab6464be735139f9ea38fd039c3b84c722630 (diff)
[SCSI] Change Kconfig option from IOMAPPED to MMIO
Most of the Kconfig options for switching between IO Port and MMIO operations use the opposite sense from sym2. Really, this option should be set at a chipset level rather than per-driver. Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sym53c8xx_2/sym_glue.c')
-rw-r--r--drivers/scsi/sym53c8xx_2/sym_glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.c b/drivers/scsi/sym53c8xx_2/sym_glue.c
index 1fffd2b3c654..ec9d93aa160d 100644
--- a/drivers/scsi/sym53c8xx_2/sym_glue.c
+++ b/drivers/scsi/sym53c8xx_2/sym_glue.c
@@ -1874,7 +1874,7 @@ sym_init_device(struct pci_dev *pdev, struct sym_device *device)
1874 i = pci_get_base_address(pdev, 1, &device->mmio_base); 1874 i = pci_get_base_address(pdev, 1, &device->mmio_base);
1875 pci_get_base_address(pdev, i, &device->ram_base); 1875 pci_get_base_address(pdev, i, &device->ram_base);
1876 1876
1877#ifndef CONFIG_SCSI_SYM53C8XX_IOMAPPED 1877#ifdef CONFIG_SCSI_SYM53C8XX_MMIO
1878 if (device->mmio_base) 1878 if (device->mmio_base)
1879 device->s.ioaddr = pci_iomap(pdev, 1, 1879 device->s.ioaddr = pci_iomap(pdev, 1,
1880 pci_resource_len(pdev, 1)); 1880 pci_resource_len(pdev, 1));