Re: [PATCH v1 5/5] staging: fieldbus: add support for HMS FL-NET industrial controller
From: Greg KH
Date: Mon Sep 30 2019 - 10:09:05 EST
On Wed, Sep 18, 2019 at 02:35:52PM -0400, Sven Van Asbroeck wrote:
> The Anybus-S FL-NET provides full FL-NET Class 1 functionality via the
> patented Anybus-S application interface. Any device supporting this
> standard can take advantage of the features offered by the module,
> providing seamless network integration regardless of network type.
Discussing "patented" in a changelog text is a big no-no. Please don't
do that. Talk to your corporate lawyers for why not...
> FL-NET is a control network, primarily used for interconnection of devices
> such as PLCs, Robot Controllers and Numerical Control Devices. It features
> both cyclic and acyclic data exchange capabilities, and uses a token-based
> communication scheme for data transmission. The Anybus module is classified
> as a 'Class 1'-node, which means that it supports cyclic data exchange in
> both directions.
>
> Official documentation:
> https://www.anybus.com/docs/librariesprovider7/default-document-library
> /manuals-design-guides/hms-scm_1200_073.pdf
>
> This implementation is an Anybus-S client driver, designed to be
> instantiated by the Anybus-S bus driver when it discovers the FL-NET
> card.
>
> If loaded successfully, the driver registers itself as a fieldbus_dev,
> and userspace can access it through the fieldbus_dev interface.
>
> Signed-off-by: Sven Van Asbroeck <TheSven73@xxxxxxxxx>
> ---
> drivers/staging/fieldbus/anybuss/Kconfig | 17 +
> drivers/staging/fieldbus/anybuss/Makefile | 1 +
> drivers/staging/fieldbus/anybuss/hms-flnet.c | 520 +++++++++++++++++++
Why are you adding support for new things here? New hardware support
should _only_ be added once the code is out of staging, otherwise there
is no pressure to get it out of this directory structure.
Please work on that first, before adding new stuff like this.
thanks,
greg k-h