linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <bh40@calva.net>
To: "David A. Gatwood" <dgatwood@mvista.com>,
	linuxppc-dev@lists.linuxppc.org
Subject: Re: Performa 5200
Date: Thu, 26 Aug 1999 10:52:33 +0200	[thread overview]
Message-ID: <19990826105233.028977@mailhost.mipsys.com> (raw)


On Wed, Aug 25, 1999, David A. Gatwood <dgatwood@mvista.com> wrote:

>It's a bad idea to have any of these three in the same class.  They don't
>act a thing alike.  The NuBus PowerBooks and Performas are KIND of close,
>in that neither has DMA, but their IDE works with different offsets
>between registers, their interrupt handling is almost completely
>different, the video is different... it's substantial enough to make it
>far better to define them as separate classes.  Otherwise, all those
>pieces of code will be riddled with switch statements for a huge list of
>gestalts (16 different numbers for the PDMs alone).
>
>If you want to maintain some sense of naming consistency with MkLinux
>(which is a good idea), we use:
>
>POWERMAC_CLASS_PCI       - almost everything
>POWERMAC_CLASS_PDM       - 6/7/81xx, AWS 6/7/81xx
>POWERMAC_CLASS_POWERBOOK - NuBus PowerBooks
>POWERMAC_CLASS_PERFORMA  - NuBus Performas
>POWERMAC_CLASS_LEGACY    - 68k PowerMacs w/ upgrade cards

BootX already provides this classification (and the huge list of machine
IDs), It only lacks POWERMAC_CLASS_LEGACY for now. (BTW. what about
switching MkLinux to use BootX too instead of the current closed source
booter ?).

We can have all those in the same "Nubus" class in a sense that support
for all those machine can be compiled at the same time (eventually having
optional compiled-in subclasses for the different classes, except PCI).
I'm still wondering if we can have this support without killing the PCI
support (if they must be exclusive). They are not with mklinux but I
don't want to pollute the PCI version of linux/ppc with things like the
eieio/sync hack needed for some NuBus machines, and the memory management
cludges needed for PDM.

>Note that the last two are not quite working yet.  We were close on the
>performas, and the 68k PowerMacs aren't quite as close, but at least some
>of them start booting now with the right config.

I must have a PPC ugrade card and the Quadra 800 that goes with it
somewhere, I'll try to find it, I think it's still in Strasbourg (500Km
away from where I live now).

-- 
           Perso. e-mail: <mailto:bh40@calva.net>
           Work   e-mail: <mailto:benh@mipsys.com>
BenH.      Web   : <http://calvaweb.calvacom.fr/bh40/>


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

             reply	other threads:[~1999-08-26  8:52 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-26  8:52 Benjamin Herrenschmidt [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-08-24  5:59 Performa 5200 Tony Mantler
1999-08-24  9:06 ` Benjamin Herrenschmidt
1999-08-24 13:29   ` Dave Weis
1999-08-24 18:05     ` David A. Gatwood
1999-08-24 21:21   ` Tony Mantler
1999-08-25 10:23     ` Benjamin Herrenschmidt
1999-08-25 19:59       ` Tony Mantler
1999-08-26  3:43         ` David A. Gatwood
1999-08-26  4:15           ` Tony Mantler
1999-08-26  4:38             ` David A. Gatwood
1999-08-26  6:41               ` Tony Mantler
1999-08-26  8:57                 ` Benjamin Herrenschmidt
1999-08-26 18:11                 ` David A. Gatwood
1999-08-26  8:44         ` Benjamin Herrenschmidt
1999-08-26  3:45       ` David A. Gatwood
1999-08-26  8:53         ` Benjamin Herrenschmidt
1999-08-26  8:01       ` Geert Uytterhoeven
1999-08-25 10:36   ` Hubert Figuiere
1999-08-26  8:03     ` Geert Uytterhoeven
1999-08-26  8:59       ` Benjamin Herrenschmidt
1999-08-24 17:38 ` David A. Gatwood

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=19990826105233.028977@mailhost.mipsys.com \
    --to=bh40@calva.net \
    --cc=dgatwood@mvista.com \
    --cc=linuxppc-dev@lists.linuxppc.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).