Re: [RFC] Generic VME UIO

2015-07-28 Thread Martyn Welch
Hi Dmitry, On 22/07/15 19:09, Dmitry Kalinkin wrote: Linux kernel has supported VME bus since 2009. The support comes in a form of kernel driver API that is backed by a couple drivers for PCI-VME bridges. There is also a vme_user driver that provides a generic userpsace interface to do data tra

Re: [RFC] Generic VME UIO

2015-07-23 Thread Dan Carpenter
On Wed, Jul 22, 2015 at 09:09:06PM +0300, Dmitry Kalinkin wrote: > + for (level = 1; level <= 7; level++) { > + char *level_node_name = kasprintf(GFP_KERNEL, "%d", level); > + struct kobject *level_node = kobject_create_and_add( > + level_node_name, k

[RFC] Generic VME UIO

2015-07-22 Thread Dmitry Kalinkin
Linux kernel has supported VME bus since 2009. The support comes in a form of kernel driver API that is backed by a couple drivers for PCI-VME bridges. There is also a vme_user driver that provides a generic userpsace interface to do data transfer and generate interrupts on the bus. Due to specifi