From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Soetens Date: Fri, 23 Sep 2011 15:34:53 +0200 References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201109231534.53470.peter@domain.hid> Subject: Re: [Xenomai-core] [RFC 0/1] Class driver for raw Ethernet packets List-Id: Xenomai life and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org On Friday 23 September 2011 13:02:19 Richard Cochran wrote: > This patch adds a class driver for raw Ethernet drivers under > Xenomai. The goal is to support industrial protocols such as EtherCAT > and IEC 61850, where the "stack" is a user space program needing > direct access at the packet level. The class driver offers interfaces > for registration, buffer management, and packet sending/receiving. > > Although this patch is a kind of first draft, still I have it working > on the Freescale P2020 with a real world application, with very good > results. I can post a patch series for the gianfar driver in the ipipe > tree, if anyone is interested. > > The user space interface is a character device and not a socket, simply > because my applications will probably never need fancy socket > options. The class driver could surely be made to offer a socket > instead, but I think the character is sufficient. > > The class driver is clearly in the wrong directory within the source > tree, but I put it there just to get started. It really does not fit > to any of the other drivers, so it probably would need its own place > under ksrc/drivers. > > Thanks in advance for your comments, How does this relate to rtnet, i.e. why didn't you write an rtnet driver ? Peter