public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel•crashing.org>
To: linuxppc-dev@lists•linuxppc.org
Subject: Re: PCI bridge bases, IDE on the B&W G3
Date: Thu, 21 Sep 2000 13:07:39 -0700	[thread overview]
Message-ID: <20000921130739.A482@opus.bloom.county> (raw)
In-Reply-To: <20000921214446.A865@ibrium.se>; from samuel@ibrium.se on Thu, Sep 21, 2000 at 09:44:47PM +0200


On Thu, Sep 21, 2000 at 09:44:47PM +0200, Samuel Rydh wrote:

> - The B&W G3 has two PCI-buses. The second one is
> accessed through a DEC,21154 controller. The expension
> slots as well as the internal CMD646 IDE-controller is on
> the second bus. The problem is that the bridge reports
> zero in the both baseregisters (the new PCI resource
> allocation scheme then fails miserably). This problem
> is simply fixed by (arch/ppc/kernel/pci.c):
>
>  void __init pcibios_fixup_bus(struct pci_bus *bus)
>  {
> +       pci_read_bridge_bases(bus);
> +
>         if ( ppc_md.pcibios_fixup_bus )
>                 ppc_md.pcibios_fixup_bus(bus);
>  }

Hmm, I wonder if this will fix all of thouse pci resource conflicts I see here.

> - The pci card was never enabled. I solved this by calling
> pci_enable_device(dev) by hand. But... shouldn't this really
> be done automatically by the generic ide layer?

Nope.  the driver for that card should be doing pci_enable_device(dev).

> - If yaboot loads the kernel (or the yaboot config file?)
> from the ACARD IDE-bus, then the card will not work (lost
> interrupts). The same problem (lost interrupts) occurs if
> one tries to boot from the built-in CMD646 controller.
> Possibly, IDE devices are not left in a good state by the
> firmware/yaboot on the B&W G3?

iirc, around 2.4.0-test5 or 6 there were some IDE updates and the only working
IDE driver for us right now is/was ide-pmac.  Ben knows more tho :)

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

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

  reply	other threads:[~2000-09-21 20:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-21 19:44 PCI bridge bases, IDE on the B&W G3 Samuel Rydh
2000-09-21 20:07 ` Tom Rini [this message]
2000-09-22 15:57   ` 2.4.0-test9 on " Kumar Gala
2000-09-22 10:17 ` PCI bridge bases, IDE on the " Geert Uytterhoeven

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=20000921130739.A482@opus.bloom.county \
    --to=trini@kernel$(echo .)crashing.org \
    --cc=linuxppc-dev@lists$(echo .)linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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