Skip to content

Fix the TIOCGICOUNT problem for good

Alan Cox linux-serial lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tty: Make tiocgicount a handlerdrivers/char/tty_io.c drivers/serial/serial_core.c drivers/usb/serial/usb-serial.c +2 more+61 -190 replies
2/3tty: Convert the USB drivers to the new icount interfacedrivers/net/usb/hso.c drivers/usb/serial/ark3116.c drivers/usb/serial/ftdi_sio.c +7 more+203 -1380 replies
3/3tty: icount changeover for other main devicesarch/ia64/hp/sim/simserial.c drivers/char/amiserial.c drivers/char/cyclades.c +9 more+297 -2940 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Fix the TIOCGICOUNT problem for good

Remembering to clear fields is something driver authors are simply never going to remember to get right every new driver. Instead take the problem away from them and give them a simple interface to do the job.

---

Alan Cox (3):
tty: icount changeover for other main devices
tty: Convert the USB drivers to the new icount interface
tty: Make tiocgicount a handler

 arch/ia64/hp/sim/simserial.c          |   12 -----
 drivers/char/amiserial.c              |   56 ++++++++++++++-----------
 drivers/char/cyclades.c               |   49 ++++++++++++----------
 drivers/char/ip2/ip2main.c            |   71 +++++++++++++++++++-------------
 drivers/char/mxser.c                  |   62 ++++++++++++++++------------
 drivers/char/nozomi.c                 |   37 ++++++++---------
 drivers/char/pcmcia/synclink_cs.c     |   60 ++++++++++++---------------
 drivers/char/synclink.c               |   73 +++++++++++++++------------------
 drivers/char/synclink_gt.c            |   55 +++++++++++++------------
 drivers/char/synclinkmp.c             |   61 +++++++++++++---------------
 drivers/char/tty_io.c                 |   21 +++++++++
 drivers/net/usb/hso.c                 |   35 +++++++---------
 drivers/serial/68360serial.c          |   51 +++++++++++------------
 drivers/serial/serial_core.c          |   35 +++++++---------
 drivers/usb/serial/ark3116.c          |   40 +++++++++---------
 drivers/usb/serial/ftdi_sio.c         |    1 
 drivers/usb/serial/io_edgeport.c      |   49 ++++++++++++----------
 drivers/usb/serial/io_tables.h        |    4 ++
 drivers/usb/serial/io_ti.c            |   29 ++++++++++---
 drivers/usb/serial/mos7720.c          |   50 +++++++++++++----------
 drivers/usb/serial/mos7840.c          |   50 +++++++++++++----------
 drivers/usb/serial/ssu100.c           |   46 +++++++++++----------
 drivers/usb/serial/ti_usb_3410_5052.c |   37 +++++++++++++----
 drivers/usb/serial/usb-serial.c       |   13 ++++++
 include/linux/tty_driver.h            |    9 ++++
 include/linux/usb/serial.h            |    2 +
 net/bluetooth/rfcomm/tty.c            |    4 --
 27 files changed, 561 insertions(+), 451 deletions(-)
Signature · 8 lines
Rust greets time a grave to steam, in mire gloom to no more gleam
Does care die quiet and scarred, Berry red in Barry yard ?

Rusted steel at rest dust all, old sump oil lead is my pall
long rather to linger there, cold my fire once called me fair

Who knows now when I was new, speed in flow and on I flew
I turned eyes to run and see, in steam a dream adore me