patch-2.4.9 linux/drivers/scsi/cpqfcTStrigger.c

Next file: linux/drivers/scsi/cpqfcTStrigger.h
Previous file: linux/drivers/scsi/cpqfcTSstructs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/drivers/scsi/cpqfcTStrigger.c linux/drivers/scsi/cpqfcTStrigger.c
@@ -3,13 +3,15 @@
 // since it writes directly to the Tachyon board.  This function
 // developed for Compaq HBA Tachyon TS v1.2 (Rev X5 PCB)
 
+#include "cpqfcTStrigger.h"
+#if TRIGGERABLE_HBA
+
 #include <linux/kernel.h>
 #include <linux/ioport.h>
 #include <linux/types.h>
 #include <linux/pci.h>
 #include <asm/io.h>
 
-
 void TriggerHBA( void* IOBaseUpper, int Print)
 {
   __u32 long value;
@@ -28,3 +30,4 @@
     printk( " -GPIO0 set- ");
 }
 
+#endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)