Re: Areca driver recap + status

From: James Bottomley
Date: Tue Jun 27 2006 - 12:11:35 EST


On Tue, 2006-06-27 at 17:47 +0800, erich wrote:
> Does arcmsr still has more than one value per file issue on it?
> Maybe I am miss-understand the means of one value per file.

The idea is that sysfs files are named according to their contents, so
you should be able to cat the file to get the value. The issue, which
is very simple to resolve with your driver, is that all the current
values are preceded by strings, so they have to be parsed to get the
value instead of just being directly read (I think this is a residue of
the fact that it's a straight conversion of a single proc file).

James


-
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/