* [PATCH] add config option for qla1280 SCSI MMIO/ioport selection
@ 2003-09-01 12:24 Andrey Panin
0 siblings, 0 replies; only message in thread
From: Andrey Panin @ 2003-09-01 12:24 UTC (permalink / raw)
To: jes; +Cc: linux-kernel
[-- Attachment #1.1: Type: text/plain, Size: 288 bytes --]
Hi,
attached patch adds config option which allows ioport/mmio
selection for QLA1280 SCSI driver.
With this patch applied QLA1280 can be used on Visws again.
Best regards.
--
Andrey Panin | Linux and UNIX system administrator
pazke@donpac.ru | PGP key: wwwkeys.pgp.net
[-- Attachment #1.2: patch-qla1280-mmio --]
[-- Type: text/plain, Size: 1595 bytes --]
diff -urN -X /usr/share/dontdiff linux-2.6.0-test3.vanilla/drivers/scsi/Kconfig linux-2.6.0-test3/drivers/scsi/Kconfig
--- linux-2.6.0-test3.vanilla/drivers/scsi/Kconfig Sat Aug 9 08:40:56 2003
+++ linux-2.6.0-test3/drivers/scsi/Kconfig Mon Sep 1 20:58:04 2003
@@ -1298,6 +1298,16 @@
The module will be called qla1280. If you want to compile it as
a module, say M here and read <file:Documentation/modules.txt>.
+config SCSI_QLOGIC_1280_PIO
+ bool "Use PIO instead of MMIO" if !X86_VISWS
+ depends on SCSI_QLOGIC_1280
+ default y if X86_VISWS
+ help
+ This instructs the driver to use programmed I/O ports (PIO) instead
+ of PCI shared memory (MMIO). This can possibly solve some problems
+ in case your mainboard has memory consistency issues. If unsure,
+ say N.
+
config SCSI_QLOGICPTI
tristate "PTI Qlogic, ISP Driver"
depends on SBUS && SCSI
diff -urN -X /usr/share/dontdiff linux-2.6.0-test3.vanilla/drivers/scsi/qla1280.c linux-2.6.0-test3/drivers/scsi/qla1280.c
--- linux-2.6.0-test3.vanilla/drivers/scsi/qla1280.c Mon Sep 1 21:50:04 2003
+++ linux-2.6.0-test3/drivers/scsi/qla1280.c Mon Sep 1 21:21:33 2003
@@ -331,11 +331,17 @@
*/
#define QL1280_LUN_SUPPORT 0
#define WATCHDOGTIMER 0
-#define MEMORY_MAPPED_IO 1
+
#define DEBUG_QLA1280_INTR 0
#define DEBUG_PRINT_NVRAM 0
#define DEBUG_QLA1280 0
+#ifdef CONFIG_SCSI_QLOGIC_1280_PIO
+#define MEMORY_MAPPED_IO 0
+#else
+#define MEMORY_MAPPED_IO 1
+#endif
+
#define UNIQUE_FW_NAME
#include "qla1280.h"
#include "ql12160_fw.h" /* ISP RISC codes */
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-09-01 12:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-01 12:24 [PATCH] add config option for qla1280 SCSI MMIO/ioport selection Andrey Panin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®