Re: [PATCH v11 2/7] anybus-s: support HMS Anybus-S bus
From: Sven Van Asbroeck
Date: Tue Apr 16 2019 - 18:00:17 EST
On Tue, Apr 16, 2019 at 5:02 PM Enrico Weigelt, metux IT consult
<lkml@xxxxxxxxx> wrote:
>
> But this port supports probing ?
> (so it's, bit like a single usb port w/o hub ;-))
Yes, that's exactly it.
>
> In the long run, Documentation/ IMHO would be the best place
> (at least for longer explainations).
>
> OTOH, a few more precise words in the commit message would be nice, too.
Ok, sounds like a plan.
>
> I guess that things like introducing new bus types or device classes
> are something that subsystem maintainers wanna be aware of :)
>
fieldbus_dev is a new subsystem.
At first I attempted to mainline the anybus-s drivers with a 'roll-your-own'
userspace API, but the feedback I got was: this userspace API should
really be generic... So this is my attempt to create a generic fieldbus_dev
API !
It's almost certainly insufficient, but it's a start. Ideally, this
should get lots
of review from people in the industry, but response to this patchset has
been underwhelming. That's the reason this is going into staging/.
Hopefully it will create discussion, and a way forward to a more extensive
userspace API. If not, it'll go to /dev/null after a year.