summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-10-06 09:39:54 -0500
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-10-06 09:39:54 -0500
commitf31b5dddae5f28604fc1c45c74ddb0e8dcda873b (patch)
tree4dadcbaad78dd33b987c6477a2784bb9bbcbe5c4 /include
parent4e339daceb8eb2e3a2377d68b99e431a9ead2f7c (diff)
ISDN: Make the state machine explicit
Add a finite state machine helper module, which is basically copied over from the hisax driver with a little bit of beautification. Eventually, all ISDN should be converted to using these routines.
Diffstat (limited to 'include')
-rw-r--r--include/linux/isdn.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/isdn.h b/include/linux/isdn.h
index d35b0961de09..5ae4ef0d7ddc 100644
--- a/include/linux/isdn.h
+++ b/include/linux/isdn.h
@@ -16,6 +16,9 @@
#include <linux/ioctl.h>
+// FIXME!!!
+#include <../drivers/isdn/i4l/isdn_fsm.h>
+
#ifdef CONFIG_COBALT_MICRO_SERVER
/* Save memory */
#define ISDN_MAX_DRIVERS 2
@@ -367,8 +370,8 @@ typedef struct isdn_net_dev_s {
int exclusive; /* -1 if non excl./idx to excl chan */
struct timer_list dial_timer; /* dial events timer */
+ struct fsm_inst fi; /* call control state machine */
int dial_event; /* event in case of timer expiry */
- int dialstate; /* State for dialing */
int dial; /* # of phone number just dialed */
int outgoing; /* Flag: outgoing call */
int dialretry; /* Counter for Dialout-retries */