Messages in this thread Patch in this message | | | From | Ricardo Galli <> | Subject | PATCH: make ieee1394 compile in 2.4.21-pre5 | Date | Sun, 23 Mar 2003 01:14:40 +0100 |
| |
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/
| |