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

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