[PATCH v1 0/5] Introduce fieldbus_dev configuration interface

Sven Van Asbroeck
2019-09-18T18:35:59Z

Introduce a (userspace) config interface for fieldbus_dev.
Add support for the HMS FL-NET controller, which requires config support, and
is its first in-kernel user.

Sven Van Asbroeck (5):
staging: fieldbus core: remove unused strings
staging: fieldbus: move "offline mode" definition to fieldbus core
staging: fieldbus core: add support for device configuration
staging: fieldbus core: add support for FL-NET devices
staging: fieldbus: add support for HMS FL-NET industrial controller

.../Documentation/ABI/configfs-fieldbus-dev | 90 +++
.../ABI/sysfs-class-fieldbus-dev | 1 +
.../fieldbus/Documentation/fieldbus_dev.txt | 60 +-
drivers/staging/fieldbus/Kconfig | 14 +
drivers/staging/fieldbus/Makefile | 5 +-
drivers/staging/fieldbus/anybuss/Kconfig | 17 +
drivers/staging/fieldbus/anybuss/Makefile | 1 +
.../staging/fieldbus/anybuss/anybuss-client.h | 11 +-
drivers/staging/fieldbus/anybuss/hms-flnet.c | 520 ++++++++++++++++++
.../staging/fieldbus/anybuss/hms-profinet.c | 2 +-
drivers/staging/fieldbus/anybuss/host.c | 6 +-
drivers/staging/fieldbus/dev_config.c | 383 +++++++++++++
drivers/staging/fieldbus/dev_config.h | 41 ++
drivers/staging/fieldbus/dev_core.c | 28 +-
drivers/staging/fieldbus/fieldbus_dev.h | 56 ++
15 files changed, 1211 insertions(+), 24 deletions(-)
create mode 100644 drivers/staging/fieldbus/Documentation/ABI/configfs-fieldbus-dev
create mode 100644 drivers/staging/fieldbus/anybuss/hms-flnet.c
create mode 100644 drivers/staging/fieldbus/dev_config.c
create mode 100644 drivers/staging/fieldbus/dev_config.h

--
2.17.1