summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/g_NCR5380_mmio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/g_NCR5380_mmio.c')
-rw-r--r--drivers/scsi/g_NCR5380_mmio.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/scsi/g_NCR5380_mmio.c b/drivers/scsi/g_NCR5380_mmio.c
new file mode 100644
index 0000000..8cdde71
--- /dev/null
+++ b/drivers/scsi/g_NCR5380_mmio.c
@@ -0,0 +1,10 @@
+/*
+ * There is probably a nicer way to do this but this one makes
+ * pretty obvious what is happening. We rebuild the same file with
+ * different options for mmio versus pio.
+ */
+
+#define SCSI_G_NCR5380_MEM
+
+#include "g_NCR5380.c"
+
OpenPOWER on IntegriCloud