lkml.org 
[lkml]   [2008]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/2] Add c2 port support.
    On Wed, Oct 22, 2008 at 02:03:52PM -0700, Greg KH wrote:

    > > Why is that good? We have hundreds and hundreds of drivers which use a
    > > device node interface and they work OK.
    > >
    > > sysfs was never intended for use as the sole interface between device
    > > drivers and userspace. Using it that way is somewhat unconventional.
    > > At the very least I do think it needs more justification and
    > > explanation than we're being provded here.
    >
    > For firmware download to devices, using sysfs is the "normal" interface
    > these days, that is what the firmware class is for.
    >
    > Which reminds me, Rodolfo, why didn't you just use that interface for
    > your firmware downloading instead of rolling your own here?

    Because I need also to know revision ID, device ID and other minor
    info from the microcontroller. Also I can reset the microcontroller
    when I need it without downloading any new firmware.

    Ciao,

    Rodolfo

    --

    GNU/Linux Solutions e-mail: giometti@enneenne.com
    Linux Device Driver giometti@linux.it
    Embedded Systems phone: +39 349 2432127
    UNIX programming skype: rodolfo.giometti


    \
     
     \ /
      Last update: 2008-10-23 09:43    [W:0.021 / U:61.092 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site