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

From: Segher Boessenkool
Date: Mon Mar 14 2005 - 09:27:08 EST

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

No. Only printable characters are allowed, that is, byte values
0x21..0x7e and 0xa1..0xfe; each text string is terminated by a
0x00; there can be several text strings concatenated in one
"compatible" property.

Yes, whitespace is used at least in the toplevel compatible file, like
'Power Macintosh' in some Pismo models.

So those OF implementations violate the OF specification.

Well, we have an unmaintained spec on one side that can't even be
ordered from IEEE anymore and actual imlementations that work today,
what do you chose ? ;)

I choose the spec. If an implementation is not conformant to the spec,
it doesn't "work".

Not to say that Linux doesn't have to work around bugs in actual
implementations, of course. And there's a lot of those. Too bad ;-)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at