![]() | |||||||||||||
Messages in this thread |
> > 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@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 13:01 [from the cache] ©2003-2008 | |||||||||||||