lkml.org 
[lkml]   [2005]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/3] openfirmware: adds sysfs nodes for openfirmware devices
Date
>>>>> 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 ;-)


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/

\
 
 \ /
  Last update: 2005-03-22 14:11    [W:0.056 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site