Skip to contentSkip to conversation

PATCH: make ieee1394 compile in 2.4.21-pre5

PATCH Ricardo Galli 1 participant 1 message Mar 23, 2003

lore
Share & tools
lore
#0 lore raw

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,

drivers/ieee1394/ieee1394_types.h 2003-03-23 00:48:59.000000000 +0100 renamed from drivers/ieee1394/ieee1394_types.h.orig 2003-03-23 00:48:48.000000000 +0100 +7 -0
@@ -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;
Signature · 1 line
  ricardo galli       GPG id C8114D34