diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-05-11 15:35:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-05-11 15:35:54 -0700 |
commit | 6572b2064a54f1ed29fcbf6d16dfc5de71dfe495 (patch) | |
tree | 5ab97c864956028045da27ca489d6447b2350c48 /drivers/net/irda/sir-dev.h | |
parent | f7a014af2d76a96e5af51b64f954328b700fa62f (diff) | |
parent | 210525d65d33d17eb6bea6c965ce442d60d9aa8d (diff) | |
download | linux-6572b2064a54f1ed29fcbf6d16dfc5de71dfe495.tar.gz linux-6572b2064a54f1ed29fcbf6d16dfc5de71dfe495.tar.bz2 linux-6572b2064a54f1ed29fcbf6d16dfc5de71dfe495.zip |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
[NET_SCHED]: HFSC: fix thinko in hfsc_adjust_levels()
[IPV6]: skb leakage in inet6_csk_xmit
[BRIDGE]: Do sysfs registration inside rtnl.
[NET]: Do sysfs registration as part of register_netdevice.
[TG3]: Fix possible NULL deref in tg3_run_loopback().
[NET] linkwatch: Handle jiffies wrap-around
[IRDA]: Switching to a workqueue for the SIR work
[IRDA]: smsc-ircc: Minimal hotplug support.
[IRDA]: Removing unused EXPORT_SYMBOLs
[IRDA]: New maintainer.
[NET]: Make netdev_chain a raw notifier.
[IPV4]: ip_options_fragment() has no effect on fragmentation
[NET]: Add missing operstates documentation.
Diffstat (limited to 'drivers/net/irda/sir-dev.h')
-rw-r--r-- | drivers/net/irda/sir-dev.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/drivers/net/irda/sir-dev.h b/drivers/net/irda/sir-dev.h index f69fb4cec76f..9fa294a546d6 100644 --- a/drivers/net/irda/sir-dev.h +++ b/drivers/net/irda/sir-dev.h @@ -15,23 +15,14 @@ #define IRDA_SIR_H #include <linux/netdevice.h> +#include <linux/workqueue.h> #include <net/irda/irda.h> #include <net/irda/irda_device.h> // iobuff_t -/* FIXME: unify irda_request with sir_fsm! */ - -struct irda_request { - struct list_head lh_request; - unsigned long pending; - void (*func)(void *); - void *data; - struct timer_list timer; -}; - struct sir_fsm { struct semaphore sem; - struct irda_request rq; + struct work_struct work; unsigned state, substate; int param; int result; |