[openib-general] [PATCH] Kill TS_HOST_DRIVER

Tom Duffy tduffy at sun.com
Tue Sep 28 19:32:05 PDT 2004


begin  Roland Dreier's message dated Tue, Sep 28, 2004 at 06:56:55PM -0700:
> In fact I'm going to disable it on my tree now...

Ok, that pretty much does it for TS_HOST_DRIVER.


Index: drivers/infiniband/ulp/dapl/Makefile
===================================================================
--- drivers/infiniband/ulp/dapl/Makefile	(revision 908)
+++ drivers/infiniband/ulp/dapl/Makefile	(working copy)
@@ -3,7 +3,7 @@
     -Idrivers/infiniband/ulp/ipoib \
     -Idrivers/infiniband/hw/mellanox-hca/include \
     -D__LINUX__ \
-    -DTS_HOST_DRIVER -D_NO_DATA_PATH_TRACE
+    -D_NO_DATA_PATH_TRACE
 
 obj-$(CONFIG_INFINIBAND_UDAPL_HELPER) += ib_udapl.o
 
Index: drivers/infiniband/ulp/ipoib/Makefile
===================================================================
--- drivers/infiniband/ulp/ipoib/Makefile	(revision 908)
+++ drivers/infiniband/ulp/ipoib/Makefile	(working copy)
@@ -1,6 +1,6 @@
 EXTRA_CFLAGS += \
     -Idrivers/infiniband/include \
-    -DTS_HOST_DRIVER -D_NO_DATA_PATH_TRACE
+    -D_NO_DATA_PATH_TRACE
 
 obj-$(CONFIG_INFINIBAND_IPOIB) += ib_ipoib.o ib_ip2pr.o
 
Index: drivers/infiniband/ulp/srp/Makefile
===================================================================
--- drivers/infiniband/ulp/srp/Makefile	(revision 908)
+++ drivers/infiniband/ulp/srp/Makefile	(working copy)
@@ -2,7 +2,7 @@
     -Idrivers/infiniband/include \
     -Idrivers/scsi \
     -DRHAS_SCSI_API -DSUPPORT_SCSI_REV2 \
-    -DTS_HOST_DRIVER -D_NO_DATA_PATH_TRACE
+    -D_NO_DATA_PATH_TRACE
 
 obj-$(CONFIG_INFINIBAND_SRP) += ib_srp.o
 
Index: drivers/infiniband/ulp/sdp/Makefile
===================================================================
--- drivers/infiniband/ulp/sdp/Makefile	(revision 908)
+++ drivers/infiniband/ulp/sdp/Makefile	(working copy)
@@ -1,7 +1,7 @@
 EXTRA_CFLAGS += \
     -Idrivers/infiniband/include \
     -Idrivers/infiniband/ulp/ipoib \
-    -DTS_HOST_DRIVER -DTS_USE_CM_API_V3 -D_NO_DATA_PATH_TRACE
+    -DTS_USE_CM_API_V3 -D_NO_DATA_PATH_TRACE
 
 obj-$(CONFIG_INFINIBAND_SDP) += ib_sdp.o
 
Index: drivers/infiniband/legacy/poll_main.c
===================================================================
--- drivers/infiniband/legacy/poll_main.c	(revision 908)
+++ drivers/infiniband/legacy/poll_main.c	(working copy)
@@ -45,12 +45,7 @@
 MODULE_PARM(sleep, "i");
 MODULE_PARM_DESC(sleep, "If non-zero, sleep one jiffy after each iteration");
 
-/* sleep == 0 isn't very nice on a host system :) */
-#ifdef TS_HOST_DRIVER
 static int sleep = 1;
-#else
-static int sleep = 0;
-#endif
 
 struct tTS_KERNEL_POLL_HANDLE_STRUCT {
         tTS_KERNEL_POLL_FUNCTION function;
Index: drivers/infiniband/legacy/Makefile
===================================================================
--- drivers/infiniband/legacy/Makefile	(revision 908)
+++ drivers/infiniband/legacy/Makefile	(working copy)
@@ -1,6 +1,6 @@
 EXTRA_CFLAGS += \
     -Idrivers/infiniband/include \
-    -DTS_HOST_DRIVER -D_NO_DATA_PATH_TRACE
+    -D_NO_DATA_PATH_TRACE
 
 obj-$(CONFIG_INFINIBAND) += ib_services.o ib_poll.o
 
Index: drivers/infiniband/core/Makefile
===================================================================
--- drivers/infiniband/core/Makefile	(revision 908)
+++ drivers/infiniband/core/Makefile	(working copy)
@@ -1,7 +1,7 @@
 EXTRA_CFLAGS += \
     -Idrivers/infiniband/include \
     -Idrivers/infiniband/ulp/ipoib \
-    -DTS_HOST_DRIVER -D_NO_DATA_PATH_TRACE
+    -D_NO_DATA_PATH_TRACE
 
 CFLAGS_useraccess_cm.o := \
     -D__LINUX__ \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20040928/db7f6202/attachment.sig>


More information about the general mailing list