Skip to contentSkip to conversation

SGIWD93: use cached memory access to make driver work on IP28

PATCH In review Thomas Bogendoerfer 2 participants 2 messages Dec 2, 2007 – Dec 8, 2007

Subsystems (2)
lore
Share & tools
lore

Thomas Bogendoerfer

author maintainer
#0 lore raw

PATCH 1/1 SGIWD93: use cached memory access to make driver work on IP28

SGI IP28 machines would need special treatment (enable adding addtional wait states) when accessing memory uncached. To avoid this pain I changed the driver to use only cached access to memory.

---

Changes to last version:

- added Kconfig change to make selection for similair SGI boxes easier

 drivers/scsi/Kconfig   |    2 +-
 drivers/scsi/sgiwd93.c |   64 +++++++++++++++++++++++++++++------------------
 2 files changed, 40 insertions(+), 26 deletions(-)
drivers/scsi/Kconfig +1 -1
index a6676be..2a071b0 100644
@@ -345,7 +345,7 @@ config ISCSI_TCP
 
 config SGIWD93_SCSI
 	tristate "SGI WD93C93 SCSI Driver"
-	depends on SGI_IP22 && SCSI
+	depends on SGI_HAS_WD93 && SCSI
   	help
 	  If you have a Western Digital WD93 SCSI controller on
 	  an SGI MIPS system, say Y.  Otherwise, say N.
drivers/scsi/sgiwd93.c +39 -25

163 lines not on this page · raw message

Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Thomas Bogendoerfer

SGI IP28 machines would need special treatment (enable adding addtional wait states) when accessing memory uncached. To avoid this pain I changed the driver to use only cached access to memory.

The machine really is as insane as Thomas makes it sound. Actually even more so.

Ralf