Skip to contentSkip to conversation

Add mISDN core files

PATCH In review Karsten Keil 1 participant 1 message Jul 27, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 3/7 Add mISDN core files

Add mISDN core files

---
 drivers/isdn/mISDN/Kconfig     |    9 +
 drivers/isdn/mISDN/Makefile    |    9 +
 drivers/isdn/mISDN/core.c      |  244 +++++
 drivers/isdn/mISDN/core.h      |   77 ++
 drivers/isdn/mISDN/fsm.c       |  183 ++++
 drivers/isdn/mISDN/fsm.h       |   67 ++
 drivers/isdn/mISDN/hwchannel.c |  365 +++++++
 drivers/isdn/mISDN/layer1.c    |  403 ++++++++
 drivers/isdn/mISDN/layer1.h    |   26 +
 drivers/isdn/mISDN/layer2.c    | 2216 ++++++++++++++++++++++++++++++++++++++++
 drivers/isdn/mISDN/layer2.h    |  140 +++
 drivers/isdn/mISDN/socket.c    |  781 ++++++++++++++
 drivers/isdn/mISDN/stack.c     |  674 ++++++++++++
 drivers/isdn/mISDN/tei.c       | 1340 ++++++++++++++++++++++++
 drivers/isdn/mISDN/timerdev.c  |  301 ++++++
 include/linux/mISDNhw.h        |  193 ++++
 include/linux/mISDNif.h        |  487 +++++++++
 17 files changed, 7515 insertions(+), 0 deletions(-)
 create mode 100644 drivers/isdn/mISDN/Kconfig
 create mode 100644 drivers/isdn/mISDN/Makefile
 create mode 100644 drivers/isdn/mISDN/core.c
 create mode 100644 drivers/isdn/mISDN/core.h
 create mode 100644 drivers/isdn/mISDN/fsm.c
 create mode 100644 drivers/isdn/mISDN/fsm.h
 create mode 100644 drivers/isdn/mISDN/hwchannel.c
 create mode 100644 drivers/isdn/mISDN/layer1.c
 create mode 100644 drivers/isdn/mISDN/layer1.h
 create mode 100644 drivers/isdn/mISDN/layer2.c
 create mode 100644 drivers/isdn/mISDN/layer2.h
 create mode 100644 drivers/isdn/mISDN/socket.c
 create mode 100644 drivers/isdn/mISDN/stack.c
 create mode 100644 drivers/isdn/mISDN/tei.c
 create mode 100644 drivers/isdn/mISDN/timerdev.c
 create mode 100644 include/linux/mISDNhw.h
 create mode 100644 include/linux/mISDNif.h
drivers/isdn/mISDN/Kconfig new file +9 -0
new file mode 100644
index 0000000..231bd0d
@@ -0,0 +1,9 @@
+#
+# modularer ISDN driver
+#
+
+menuconfig MISDN
+	tristate "Modular ISDN driver"
+	help
+	  Enable support for the modular ISDN driver.
+
drivers/isdn/mISDN/Makefile new file +9 -0
new file mode 100644
index 0000000..87c563d
@@ -0,0 +1,9 @@
+#
+# Makefile for the modular ISDN driver
+#
+
+obj-$(CONFIG_MISDN) += mISDN_core.o
+
+# multi objects
+
+mISDN_core-objs := core.o fsm.o socket.o hwchannel.o stack.o layer1.o layer2.o tei.o timerdev.o
drivers/isdn/mISDN/core.c new file +244 -0

244 lines not on this page · raw message

drivers/isdn/mISDN/core.h new file +77 -0

77 lines not on this page · raw message

drivers/isdn/mISDN/fsm.c new file +183 -0

183 lines not on this page · raw message

drivers/isdn/mISDN/fsm.h new file +67 -0

67 lines not on this page · raw message

drivers/isdn/mISDN/hwchannel.c new file +365 -0

365 lines not on this page · raw message

drivers/isdn/mISDN/layer1.c new file +403 -0

403 lines not on this page · raw message

drivers/isdn/mISDN/layer1.h new file +26 -0
new file mode 100644
index 0000000..9c8125f
@@ -0,0 +1,26 @@
+/*
+ *
+ * Layer 1 defines
+ *
+ * Copyright 2008  by Karsten Keil <[email protected]>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ */
+
+#define FLG_L1_ACTIVATING	1
+#define FLG_L1_ACTIVATED	2
+#define FLG_L1_DEACTTIMER	3
+#define FLG_L1_ACTTIMER		4
+#define FLG_L1_T3RUN		5
+#define FLG_L1_PULL_REQ		6
+#define FLG_L1_UINT		7
+#define FLG_L1_DBLOCKED		8
+
drivers/isdn/mISDN/layer2.c new file +2216 -0

1,617 lines not on this page · raw message

drivers/isdn/mISDN/layer2.h new file +140 -0

140 lines not on this page · raw message

drivers/isdn/mISDN/socket.c new file +781 -0

781 lines not on this page · raw message

drivers/isdn/mISDN/stack.c new file +674 -0

674 lines not on this page · raw message

drivers/isdn/mISDN/tei.c new file +1340 -0

1,340 lines not on this page · raw message

drivers/isdn/mISDN/timerdev.c new file +301 -0

301 lines not on this page · raw message

include/linux/mISDNhw.h new file +193 -0

193 lines not on this page · raw message

include/linux/mISDNif.h new file +487 -0

487 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 8 lines
1.5.6.4


-- 
Karsten Keil
SuSE Labs
ISDN and VOIP development
SUSE LINUX Products GmbH, Maxfeldstr.5 90409 Nuernberg, GF: Markus Rex, HRB 16746 (AG Nuernberg)

Part of the diff is not shown here. View the raw message.