lkml.org 
[lkml]   [2004]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] USB: add new USB PhidgetServo driver
Date
Am Donnerstag, 29. April 2004 21:16 schrieb Greg KH:
> On Thu, Apr 29, 2004 at 09:10:21PM +0200, Oliver Neukum wrote:
> > Am Donnerstag, 29. April 2004 20:49 schrieb Bryan Small:
> > > The IFkit ( both 8/8/8 and 0/8/8) and the TextLCD will work nearly the
> > > same as Sean's servo control. They will use sysfs also. They will be
> >
> > I don't want to spoil the party, but in which way is using sysfs in this
> > way different from using it as a form of devfs?
>
> - one value per file, no char or block nodes
> - devices can export many different files depending on their
> needs (no ioctl crud needed.)
> - you can use a script or libsysfs a web browser, or anything
> else that reads directory trees and files to access the device
> info.
> - you can have as many devices as you want in the system, no
> limitations on minor numbers, or anything else.
> - no unsolvable kernel race and locking issues
> - no horribly formatted code from a developer who is no longer
> maintaining it.
>
> Shall I go on? :)

Yes. You are describing a better devfs, but still devfs. Why not go
the whole way?

Regards
Oliver


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

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.069 / U:22.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site