patch-2.4.0-test3 linux/drivers/scsi/NCR53C9x.h
Next file: linux/drivers/scsi/aic7xxx.c
Previous file: linux/drivers/scsi/NCR5380.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Sun Jul 9 22:22:57 2000
- Orig file:
v2.4.0-test2/linux/drivers/scsi/NCR53C9x.h
- Orig date:
Thu Nov 11 20:11:43 1999
diff -u --recursive --new-file v2.4.0-test2/linux/drivers/scsi/NCR53C9x.h linux/drivers/scsi/NCR53C9x.h
@@ -144,7 +144,12 @@
#ifndef MULTIPLE_PAD_SIZES
+#ifdef CONFIG_CPU_HAS_WB
+#include <asm/wbflush.h>
+#define esp_write(__reg, __val) do{(__reg) = (__val); wbflush();} while(0)
+#else
#define esp_write(__reg, __val) ((__reg) = (__val))
+#endif
#define esp_read(__reg) (__reg)
struct ESP_regs {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)