[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGngYiVSibcSas+cGPVkvBb-kgUnDAbgd3m59yyqwp5j1D+Cew@mail.gmail.com>
Date: Wed, 17 Apr 2019 10:37:11 -0400
From: Sven Van Asbroeck <thesven73@...il.com>
To: "Enrico Weigelt, metux IT consult" <lkml@...ux.net>
Cc: Rob Herring <robh+dt@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
Lee Jones <lee.jones@...aro.org>, mark.rutland@....com,
Andreas Färber <afaerber@...e.de>,
treding@...dia.com, David Lechner <david@...hnology.com>,
noralf@...nnes.org, johan@...nel.org,
Michal Simek <monstr@...str.eu>, michal.vokac@...ft.com,
Arnd Bergmann <arnd@...db.de>,
Greg KH <gregkh@...uxfoundation.org>, john.garry@...wei.com,
geert+renesas@...der.be, robin.murphy@....com,
Paul Gortmaker <paul.gortmaker@...driver.com>,
sebastien.bourdelin@...oirfairelinux.com, icenowy@...c.io,
Stuart Yoder <stuyoder@...il.com>,
"J. Kiszka" <jan.kiszka@...mens.com>, maxime.ripard@...tlin.com,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH v10 0/7] Add Fieldbus subsystem + support HMS Profinet card
On Tue, Apr 16, 2019 at 5:21 PM Enrico Weigelt, metux IT consult
<lkml@...ux.net> wrote:
>
> Yet another question: does each fieldbus_dev instance talk to exactly
> one plc process memory, or can there be many ?
I'm by no means a fieldbus expert, so I had a little chat with one of
the fieldbus
people in the company here.
AFAIK if multiple plcs connect to the same device, all of them 'see' the same
process memory for that device. Any mechanism to prevent these plcs from
racing with each other is implemented in the application software. Could
be handshaking, could be each plc dealing with a separate section of
the process memory.
So for a fieldbus *device* (which is what this subsystem deals with) there can
only be a single process memory. So we have a single devnode per device.
A fieldbus *controller* would have one process memory per device it connects to.
But this subsystem does not deal with controllers.
This is my understanding, but I'd appreciate your input if I have overlooked
something.
Powered by blists - more mailing lists