PATCH: make ieee1394 compile in 2.4.21-pre5

From: Ricardo Galli (gallir@uib.es)
Date: Sat Mar 22 2003 - 19:14:40 EST


Hi Marcelo,
 sbp2.c and raw1394.c don't compile in this version.

Some important defines for tasklet support are missing in
ieee1394_types.h.

I checked it out againts ieee1394 CVS and tested in my machine.
Everything seems right now, at least it compiles and can access to
the firewire cd-rom.

Regards,

--- linux-2.4.21-pre5/drivers/ieee1394/ieee1394_types.h.orig 2003-03-23 00:48:48.000000000 +0100
+++ linux-2.4.21-pre5/drivers/ieee1394/ieee1394_types.h 2003-03-23 00:48:59.000000000 +0100
@@ -18,6 +18,13 @@
 #define MAX(a,b) ((a) > (b) ? (a) : (b))
 #endif

+/* Use task queue */
+#include <linux/tqueue.h>
+#define hpsb_queue_struct tq_struct
+#define hpsb_queue_list list
+#define hpsb_schedule_work(x) schedule_task(x)
+#define HPSB_INIT_WORK(x,y,z) INIT_TQUEUE(x,y,z)
+#define HPSB_PREPARE_WORK(x,y,z) PREPARE_TQUEUE(x,y,z)

 typedef u32 quadlet_t;
 typedef u64 octlet_t;

-- 
  ricardo galli       GPG id C8114D34
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:42 EST