All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: Paul Mackerras <paulus@samba.org>
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: S3 trio config
Date: Mon, 3 Jun 2002 07:35:16 -0700	[thread overview]
Message-ID: <20020603143516.GE8193@opus.bloom.county> (raw)
In-Reply-To: <15608.22619.81123.994767@argo.ozlabs.ibm.com>


On Sat, Jun 01, 2002 at 03:15:07PM +1000, Paul Mackerras wrote:

> We have this difference between drivers/video/Config in linuxppc_2_4
> compared to the official tree:
>
> diff -urN linux-2.4.19-pre9/drivers/video/Config.in linuxppc_2_4/drivers/video/Config.in
> --- linux-2.4.19-pre9/drivers/video/Config.in	Tue May 28 22:39:29 2002
> +++ linuxppc_2_4/drivers/video/Config.in	Sat Jun  1 14:40:58 2002
> @@ -73,7 +73,7 @@
>        dep_bool '  Apple "valkyrie" display support' CONFIG_FB_VALKYRIE $CONFIG_ALL_PPC
>        bool '  Chips 65550 display support' CONFIG_FB_CT65550
>        bool '  IMS Twin Turbo display support' CONFIG_FB_IMSTT
> -      bool '  S3 Trio display support' CONFIG_FB_S3TRIO
> +      dep_bool '  S3 Trio display support' CONFIG_FB_S3TRIO $CONFIG_ALL_PPC
>        tristate '  VGA 16-color graphics console' CONFIG_FB_VGA16
>     fi
>     if [ "$CONFIG_PARISC" = "y" ]; then
>
> Does anyone know why we have this?  Is the S3 Trio display really only
> used on PReP or CHRP machines, not on any PCs?

IIRC, when I did this the S3Triofb code was full of OF'isms, so it's
really only useful on some CHRP machines.  And just checking, it's still
got:
int __init s3triofb_init(void)
{
        struct device_node *dp;

        dp = find_devices("S3Trio");
        if (dp != 0)
            s3triofb_of_init(dp);
        return 0;
}

So it certainly won't link on !CONFIG_ALL_PPC.

But more importantly, that needs to be cleaned up a bit to be more like:
if [ "$CONFIG_PPC32" = "y" ]; then
   if [ "$CONFIG_ALL_PPC" = "y" ]; then
      ... apple drivers ...
      ... S3Trio ...
   fi
   ... other drivers ...
fi

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  parent reply	other threads:[~2002-06-03 14:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-01  5:15 S3 trio config Paul Mackerras
2002-06-01  5:21 ` Paul Mackerras
2002-06-03 14:35 ` Tom Rini [this message]
     [not found] <Pine.GSO.4.21.0206011036580.13142-100000@vervain.sonytel.be>
2002-06-02 10:38 ` Leigh Brown
2002-06-02 10:51   ` Geert Uytterhoeven
2002-06-04 20:16   ` Tom Rini
2002-06-05  7:50     ` Geert Uytterhoeven
2002-06-05 14:20       ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2002-06-05 11:22 Leigh Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020603143516.GE8193@opus.bloom.county \
    --to=trini@kernel.crashing.org \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.