Re: [patch/rfc 2.6.25-git] gpio: sysfs interface

From: Ben Nizette
Date: Sun May 18 2008 - 00:56:18 EST



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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/