Re: [PATCH] !CONFIG_PCI handling in scsi.h, for 2.3.49

From: Craig Kulesa (ckulesa@loke.as.arizona.edu)
Date: Fri Mar 03 2000 - 12:06:44 EST


Here's the patch, sent as plain text. Evidently the list digest doesn't
interpret mime attachments happily, even if they're sent as TEXT/PLAIN.

--- linux/drivers/scsi/scsi.h.orig Wed Mar 1 19:40:42 2000
+++ linux/drivers/scsi/scsi.h Fri Mar 3 01:42:27 2000
@@ -61,6 +61,10 @@
 #endif
 #endif
 
+#ifndef CONFIG_PCI
+extern __inline__ int scsi_to_pci_dma_dir(unsigned char scsi_dir) { return 0; }
+#endif
+
 #ifdef CONFIG_SBUS
 #include <asm/sbus.h>
 #if ((SCSI_DATA_UNKNOWN == SBUS_DMA_BIDIRECTIONAL) && (SCSI_DATA_WRITE == SBUS_DMA_TODEVICE) && (SCSI_DATA_READ == SBUS_DMA_FROMDEVICE) && (SCSI_DATA_NONE == SBUS_DMA_NONE))

-Craig

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:15 EST