mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* PATCH: make ieee1394 compile in 2.4.21-pre5
@ 2003-03-23  0:14 Ricardo Galli
  0 siblings, 0 replies; only message in thread
From: Ricardo Galli @ 2003-03-23  0:14 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-03-23  0:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-23  0:14 PATCH: make ieee1394 compile in 2.4.21-pre5 Ricardo Galli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®