lkml.org 
[lkml]   [2013]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 1/2] New driver: Xillybus generic interface for FPGA (programmable logic)
On 21/05/13 00:16, Hans J. Koch wrote:
> On Fri, May 17, 2013 at 05:53:39PM +0300, Eli Billauer wrote:
>
>> It has turned out somewhat tricky to put Xillybus in one of the existing
>> categories of device drivers. I placed it under drivers/uio, mainly because it
>> shares the spirit of a generic driver allowing userspace programs to talk
>> directly with hardware. Unlike the classic UIO devices, Xillybus' char files
>> shouldn't be memory mapped, but rather used in the regular manner as streams
>> of data.
>>
> In that case it simply isn't a UIO device.
>
>
By moving Xillybus to drivers/uio, I suggested that the term UIO could
mean any direct user-space I/O, not just by memory mapping. But hint was
taken. I'll move it back to drivers/misc. Unless someone can suggest a
better place.
>> This driver was previously posted under drivers/misc/. The misc device
>> framework turned out to be inadequate, as the driver may create more than 100
>> device files in some cases.
>>
> And that is a problem? If yes, try something else like sysfs. From your
> description, this is a drivers/misc device for me.
>
Sysfs has been suggested in the past. My best understanding of sysfs is
that it's there to convey small pieces of information. Xillybus' device
files are intended for possibly heavy data traffic.

Thanks for your inputs.
Eli



\
 
 \ /
  Last update: 2013-05-21 13:41    [W:0.041 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site