Re: [PATCH 2/3] x86: GEODE: add Virtual Systems Architecturedetection

From: Andres Salomon
Date: Thu Apr 10 2008 - 09:38:47 EST


On Thu, 10 Apr 2008 09:10:57 +0100
Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:

> On Wed, 9 Apr 2008 22:33:28 -0400
> Andres Salomon <dilinger@xxxxxxxxxx> wrote:
>
> >
> > This is generic VSA detection. It's used by OLPC to determine whether or
> > not the BIOS contains VSA, but since other BIOSes are coming out that don't
> > use the VSA (ie, tinybios), it might end up being useful for others.
>
> NAK - but minor
>
> This is a check for *VSA2* which is not the same as VSA1 (Cyrix one) and
> for older systems that actually matters as you may have VSA1 or VSA2 and
> they are detected differently.
>

Excellent point. Can we extend this to check for a VSA1-specific
string, or does VSA1 not have a similar signature?





> > +/* VSA magic values */
>
> These should be VSA2 I think
>
> > +static inline int geode_has_vsa(void)
>
> has_vsa2
>
>
> Alan (Keeper of the ancient cyrix docs ;))
--
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/