Re: [PATCH 2/3] openfirmware: adds sysfs nodes foropenfirmware devices

From: Benjamin Herrenschmidt
Date: Thu Mar 03 2005 - 22:03:47 EST



> Reviewing the 'compatible' values in my device-tree, I definately agree.
> I can hack the pmac_zilog driver to test this out further - I've just
> been using my airport card.
>
> Are there any other "invalid" characters for the compatible property?
> CRLF would work, but these values (as a group) need to be put into
> modules.ofmap as well as passed via environment variables for hotplug.
> As such, CRLF isn't really easiest choice to work with.

I don't think any value is "invalid". Not sure what is best to use ...
maybe '#' ? never seen it in there so far ... but who knows ...

> Is whitespace (in any form) allowed in the compatible value?

Yes. For example: "Power Macintosh" is a typical compatible value in the
root of the devive tree.

Maybe "tab" ?

Ben.


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