summaryrefslogtreecommitdiff
path: root/drivers/scsi/advansys.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-04-29 14:27:13 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-29 14:27:13 -0700
commit4661e3eace2c7b8433476b5bf0ee437ab3c7dfd4 (patch)
tree4a7738c1703392c4d74bf6f7492630c310431812 /drivers/scsi/advansys.c
parent543f2a3382bd7abd7380903518c61f00c7c87577 (diff)
downloadlinux-3.10-4661e3eace2c7b8433476b5bf0ee437ab3c7dfd4.tar.gz
linux-3.10-4661e3eace2c7b8433476b5bf0ee437ab3c7dfd4.tar.bz2
linux-3.10-4661e3eace2c7b8433476b5bf0ee437ab3c7dfd4.zip
[SCSI] advansys driver: limp along on x86
Let people enable the advansys driver on x86-32, even though it's broken on other architectures due to missing DMA mapping infrastructure. It's used by Jeffrey Phillips Freeman <jeffreyfreeman@syncleus.com> and possibly others. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/advansys.c')
-rw-r--r--drivers/scsi/advansys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c
index 28b93057b60..2a419634b25 100644
--- a/drivers/scsi/advansys.c
+++ b/drivers/scsi/advansys.c
@@ -2051,7 +2051,7 @@ STATIC ASC_DCNT AscGetMaxDmaCount(ushort);
#define ADV_VADDR_TO_U32 virt_to_bus
#define ADV_U32_TO_VADDR bus_to_virt
-#define AdvPortAddr ulong /* Virtual memory address size */
+#define AdvPortAddr void __iomem * /* Virtual memory address size */
/*
* Define Adv Library required memory access macros.