isdn: hdlc: move into mISDN

The last remnant of the isdn4linux interface is now the isdnhdlc
support, used by the netjet driver. Move it next to that driver.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2019-04-18 22:57:08 +02:00
parent 9c3c0c2048
commit 99c2aa151a
7 changed files with 9 additions and 11 deletions

View File

@ -3,7 +3,6 @@
# Object files in subdirectories # Object files in subdirectories
obj-$(CONFIG_ISDN_I4L) += i4l/
obj-$(CONFIG_ISDN_CAPI) += capi/ obj-$(CONFIG_ISDN_CAPI) += capi/
obj-$(CONFIG_MISDN) += mISDN/ obj-$(CONFIG_MISDN) += mISDN/
obj-$(CONFIG_ISDN) += hardware/ obj-$(CONFIG_ISDN) += hardware/

View File

@ -79,11 +79,14 @@ config MISDN_NETJET
depends on PCI depends on PCI
depends on TTY depends on TTY
select MISDN_IPAC select MISDN_IPAC
select ISDN_HDLC select MISDN_HDLC
select ISDN_I4L
help help
Enable support for Traverse Technologies NETJet PCI cards. Enable support for Traverse Technologies NETJet PCI cards.
config MISDN_HDLC
tristate
select CRC_CCITT
select BITREVERSE
config MISDN_IPAC config MISDN_IPAC
tristate tristate

View File

@ -15,3 +15,5 @@ obj-$(CONFIG_MISDN_NETJET) += netjet.o
# chip modules # chip modules
obj-$(CONFIG_MISDN_IPAC) += mISDNipac.o obj-$(CONFIG_MISDN_IPAC) += mISDNipac.o
obj-$(CONFIG_MISDN_ISAR) += mISDNisar.o obj-$(CONFIG_MISDN_ISAR) += mISDNisar.o
obj-$(CONFIG_MISDN_HDLC) += isdnhdlc.o

View File

@ -25,8 +25,8 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/crc-ccitt.h> #include <linux/crc-ccitt.h>
#include <linux/isdn/hdlc.h>
#include <linux/bitrev.h> #include <linux/bitrev.h>
#include "isdnhdlc.h"
/*-------------------------------------------------------------------*/ /*-------------------------------------------------------------------*/

View File

@ -29,7 +29,7 @@
#include "ipac.h" #include "ipac.h"
#include "iohelper.h" #include "iohelper.h"
#include "netjet.h" #include "netjet.h"
#include <linux/isdn/hdlc.h> #include "isdnhdlc.h"
#define NETJET_REV "2.0" #define NETJET_REV "2.0"

View File

@ -1,6 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Makefile for the kernel ISDN subsystem and device drivers.
# Each configuration option enables a list of files.
obj-$(CONFIG_ISDN_HDLC) += isdnhdlc.o