Skip to content

serial: jsm: Add support for the Digi Classic adapters

Konrad Zapalowicz linux-serial lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesIn review
  2. v15 patches 3 repliesSuperseded

Changes in v2 from the cover letter

move the declaration static structure describing baud_rates from the function to the top of the file. this removes the one compilation warning. this change is in the 2nd patch of the series.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drivers: serial: jsm: Add the Classic board implementationdrivers/tty/serial/jsm/Makefile drivers/tty/serial/jsm/jsm.h drivers/tty/serial/jsm/jsm_cls.c+993 -20 replies
2/4drivers: serial: jsm: Enable support for Digi Classic adaptersdrivers/tty/serial/Kconfig drivers/tty/serial/jsm/jsm.h drivers/tty/serial/jsm/jsm_driver.c +1 more+128 -330 replies
3/4staging: dgnc: Remove driver in favor of serial/jsm driverMAINTAINERS drivers/staging/Kconfig drivers/staging/Makefile +22 more+0 -99023 replies
4/4drivers: serial: jsm: Remove FSF address from the file documentation/headerdrivers/tty/serial/jsm/jsm.h drivers/tty/serial/jsm/jsm_cls.c drivers/tty/serial/jsm/jsm_driver.c +2 more+0 -250 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/4] serial: jsm: Add support for the Digi Classic adapters

The staging/dgnc and the serial/jsm drivers have the same origin. They come from the same codebase however the jsm is the community adopted version where the dgnc is kind of a direct submission from the Digi company.

The recent commits to the jsm driver moved in the support for some of the Neo cards from the dgnc driver. This series of patches continues this trend by moving the support for the remaining Digi adapters (the Classic line) from dgnc to the jsm driver.

This code is heavily based on the changes that were applied to the jsm/dgnc code when the support for the Neo adapters was moved to the mainline (git diff and LKML archives).

Since after this change is applied the staging/dgnc driver is obsolete (no devices supported) it has been removed.

I do not own the Classic card therefore I was unable to test it. I did my best being super-carefull during the implementation however it is highly recommended that someone tests it.

Changelog:

v2:
move the declaration static structure describing baud_rates from the function to the top of the file. this removes the one compilation warning. this change is in the 2nd patch of the series.

since Greg has already merged the patch 01 from the first series this time it is not attached therefore this series has only 4 patches in it (previously was 5).

Konrad Zapalowicz (4):
drivers: serial: jsm: Add the Classic board implementation
drivers: serial: jsm: Enable support for Digi Classic adapters
staging: dgnc: Remove driver in favor of serial/jsm driver
drivers: serial: jsm: Remove FSF address from the file
documentation/header

 MAINTAINERS                         |    7 -
 drivers/staging/Kconfig             |    2 -
 drivers/staging/Makefile            |    1 -
 drivers/staging/dgnc/Kconfig        |    6 -
 drivers/staging/dgnc/Makefile       |    8 -
 drivers/staging/dgnc/TODO           |   10 -
 drivers/staging/dgnc/dgnc_cls.c     | 1389 ---------------
 drivers/staging/dgnc/dgnc_cls.h     |   89 -
 drivers/staging/dgnc/dgnc_driver.c  |  757 ---------
 drivers/staging/dgnc/dgnc_driver.h  |  465 -----
 drivers/staging/dgnc/dgnc_kcompat.h |   64 -
 drivers/staging/dgnc/dgnc_mgmt.c    |  281 ---
 drivers/staging/dgnc/dgnc_mgmt.h    |   31 -
 drivers/staging/dgnc/dgnc_neo.c     | 1878 --------------------
 drivers/staging/dgnc/dgnc_neo.h     |  157 --
 drivers/staging/dgnc/dgnc_pci.h     |   75 -
 drivers/staging/dgnc/dgnc_sysfs.c   |  750 --------
 drivers/staging/dgnc/dgnc_sysfs.h   |   49 -
 drivers/staging/dgnc/dgnc_tty.c     | 3201 -----------------------------------
 drivers/staging/dgnc/dgnc_tty.h     |   42 -
 drivers/staging/dgnc/dgnc_types.h   |   33 -
 drivers/staging/dgnc/dgnc_utils.c   |   70 -
 drivers/staging/dgnc/dgnc_utils.h   |    7 -
 drivers/staging/dgnc/digi.h         |  415 -----
 drivers/staging/dgnc/dpacompat.h    |  115 --
 drivers/tty/serial/Kconfig          |    4 +-
 drivers/tty/serial/jsm/Makefile     |    2 +-
 drivers/tty/serial/jsm/jsm.h        |   12 +-
 drivers/tty/serial/jsm/jsm_cls.c    |  985 +++++++++++
 drivers/tty/serial/jsm/jsm_driver.c |  156 +-
 drivers/tty/serial/jsm/jsm_neo.c    |    5 -
 drivers/tty/serial/jsm/jsm_tty.c    |    7 +-
 32 files changed, 1116 insertions(+), 9957 deletions(-)
 delete mode 100644 drivers/staging/dgnc/Kconfig
 delete mode 100644 drivers/staging/dgnc/Makefile
 delete mode 100644 drivers/staging/dgnc/TODO
 delete mode 100644 drivers/staging/dgnc/dgnc_cls.c
 delete mode 100644 drivers/staging/dgnc/dgnc_cls.h
 delete mode 100644 drivers/staging/dgnc/dgnc_driver.c
 delete mode 100644 drivers/staging/dgnc/dgnc_driver.h
 delete mode 100644 drivers/staging/dgnc/dgnc_kcompat.h
 delete mode 100644 drivers/staging/dgnc/dgnc_mgmt.c
 delete mode 100644 drivers/staging/dgnc/dgnc_mgmt.h
 delete mode 100644 drivers/staging/dgnc/dgnc_neo.c
 delete mode 100644 drivers/staging/dgnc/dgnc_neo.h
 delete mode 100644 drivers/staging/dgnc/dgnc_pci.h
 delete mode 100644 drivers/staging/dgnc/dgnc_sysfs.c
 delete mode 100644 drivers/staging/dgnc/dgnc_sysfs.h
 delete mode 100644 drivers/staging/dgnc/dgnc_tty.c
 delete mode 100644 drivers/staging/dgnc/dgnc_tty.h
 delete mode 100644 drivers/staging/dgnc/dgnc_types.h
 delete mode 100644 drivers/staging/dgnc/dgnc_utils.c
 delete mode 100644 drivers/staging/dgnc/dgnc_utils.h
 delete mode 100644 drivers/staging/dgnc/digi.h
 delete mode 100644 drivers/staging/dgnc/dpacompat.h
 create mode 100644 drivers/tty/serial/jsm/jsm_cls.c
Signature · 1 line
1.9.1