lkml.org 
[lkml]   [2008]   [May]   [18]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch/rfc 2.6.25-git] gpio: sysfs interface
FromBen Nizette <>
DateSun, 18 May 2008 14:55:36 +1000
On Sat, 2008-05-17 at 15:14 -0700, David Brownell wrote:
> On Friday 02 May 2008, Pavel Machek wrote:
> > What about mkdir gpio-N to export it?
> 
> Ugh.  That would create way more complication than I want
> to see here.  I thought about that early on, and decided
> that was Not The Way To Go.

I have a userspace gpio interface which uses /dev and configfs.  The
configfs side was really nice (and used mkdir, as configfs does) but I
wasn't a fan of needing udev..  On balance, I like the all-in-one sysfs
way more.

> 
> - Dave
> 


\
 
 \ /
  Last update: 2008-05-18 07:25    [from the cache]
©2003-2008