mISDN: Allow to set a minimum length for transparent data
authorKarsten Keil <kkeil@linux-pingi.de>
Tue, 15 May 2012 23:51:06 +0000 (23:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2012 19:23:46 +0000 (15:23 -0400)
commit034005a0119b9c2aabe0ac3953eb9a65ca937a69
treea7ee0735f2a9f87eb0207c27930a3e3c748bc1fe
parent7206e659f689558b41aa058c3040b081cb281d03
mISDN: Allow to set a minimum length for transparent data

If the FIFO of the card is small, many short messages are queued up to
the upper layers and the userspace. This change allows the applications
to set a minimum datalen they want from the drivers.
Create a common control function to avoid code duplication in each
driver.

Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
12 files changed:
drivers/isdn/hardware/mISDN/avmfritz.c
drivers/isdn/hardware/mISDN/hfcmulti.c
drivers/isdn/hardware/mISDN/hfcpci.c
drivers/isdn/hardware/mISDN/hfcsusb.c
drivers/isdn/hardware/mISDN/mISDNipac.c
drivers/isdn/hardware/mISDN/mISDNisar.c
drivers/isdn/hardware/mISDN/netjet.c
drivers/isdn/hardware/mISDN/w6692.c
drivers/isdn/mISDN/hwchannel.c
drivers/isdn/mISDN/l1oip_core.c
include/linux/mISDNhw.h
include/linux/mISDNif.h