]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
[SCSI] advansys driver: limp along on x86
authorLinus Torvalds <torvalds@g5.osdl.org>
Sat, 29 Apr 2006 21:27:13 +0000 (14:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 29 Apr 2006 21:27:13 +0000 (14:27 -0700)
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>
drivers/scsi/Kconfig
drivers/scsi/advansys.c

index 3e7302692dbe3aa963ae3c957bc5df5f54fb2f48..a480a3742d47a67caaf65c3428073797351f6dc2 100644 (file)
@@ -446,7 +446,9 @@ config SCSI_DPT_I2O
 
 config SCSI_ADVANSYS
        tristate "AdvanSys SCSI support"
-       depends on (ISA || EISA || PCI) && SCSI && BROKEN
+       depends on SCSI
+       depends on ISA || EISA || PCI
+       depends on BROKEN || X86_32
        help
          This is a driver for all SCSI host adapters manufactured by
          AdvanSys. It is documented in the kernel source in
index 28b93057b607032ffd6d3cfcd67c5fc5c6e77aa1..2a419634b256d9d5598cadbfe04607fc092a8bef 100644 (file)
@@ -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.