Re: [RFC][2.6] Additional i2c adapter flags for i2c clientisolation
From: Jean Delvare
Date: Wed Mar 17 2004 - 15:07:14 EST
> > How would we export the value though? Numerical, with user-space
> > headers to be included by user-space applications? Or converted to
> > some explicit text strings so that no headers are needed?
>
> A text string would be simple enough to use.
I'm not sure. What about a chip driver that would belong to more than
one class? What about the eeprom driver which will belong to all
classes? With a numeric value, a simple binary operation handles all
the cases. With text strings we would end having to parse a possibly
multi-valued string, and do string comparisons, with at least one
exception to handle. This is likely to require much more resources,
don't you think?
--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
-
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/