Messages in this thread | | | From | Segher Boessenkool <> | Subject | Re: [PATCH 2/3] openfirmware: adds sysfs nodes for openfirmware devices | Date | Sun, 13 Mar 2005 16:17:19 +0100 |
| |
Sorry to follow up this late...
>>> 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.
> Oh well, it was wishful thinking anyway. ;) > > I see two potential solutions: > * Ideally, I'd like to find a character (pipe?) that isn't used in the > Apple OF compatible property. I've been unable to find any > documentation that specifies to this level of detail. (Well, without > paying for the IEEE-1275 reference, and it may not even be there.)
See 2.3.75 and 3.2.2.1.2 in the OF spec.
Segher
- 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/
| |