patch-2.4.22 linux-2.4.22/drivers/ieee1394/hosts.h
Next file: linux-2.4.22/drivers/ieee1394/ieee1394-ioctl.h
Previous file: linux-2.4.22/drivers/ieee1394/hosts.c
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
2003-08-25 04:44:41.000000000 -0700
- Orig file:
linux-2.4.21/drivers/ieee1394/hosts.h
- Orig date:
2003-06-13 07:51:34.000000000 -0700
diff -urN linux-2.4.21/drivers/ieee1394/hosts.h linux-2.4.22/drivers/ieee1394/hosts.h
@@ -3,7 +3,7 @@
#include <linux/wait.h>
#include <linux/list.h>
-#include <linux/tqueue.h>
+#include <linux/timer.h>
#include <asm/semaphore.h>
#include "ieee1394_types.h"
@@ -32,7 +32,8 @@
struct list_head pending_packets;
spinlock_t pending_pkt_lock;
- struct tq_struct timeout_tq;
+ struct timer_list timeout;
+ unsigned long timeout_interval;
unsigned char iso_listen_count[64];
@@ -110,6 +111,7 @@
enum isoctl_cmd {
/* rawiso API - see iso.h for the meanings of these commands
+ (they correspond exactly to the hpsb_iso_* API functions)
* INIT = allocate resources
* START = begin transmission/reception
* STOP = halt transmission/reception
@@ -131,6 +133,7 @@
RECV_STOP,
RECV_RELEASE,
RECV_SHUTDOWN,
+ RECV_FLUSH
};
enum reset_types {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)