From: Brian Waite <waite@skycomputers•com>
To: linuxppc-embedded@ozlabs•org
Subject: Re: [PATCH] ppc32: 3/2 HDPU platform fix PCI bus 1 enumeration
Date: Thu, 17 Mar 2005 11:21:48 -0500 [thread overview]
Message-ID: <200503171121.51698.waite@skycomputers.com> (raw)
In-Reply-To: <20050317162509.GB5762@gate.ebshome.net>
[-- Attachment #1: Type: text/plain, Size: 1010 bytes --]
Lets try this again....
Signed-off-by: Brian Waite <waite@skycomputers•com>
Add the proper bus enumeration code that was missing for bus 1.
===== arch/ppc/platforms/hdpu.c 1.2 vs 1.3 =====
--- 1.2/arch/ppc/platforms/hdpu.c Thu Mar 17 10:42:34 2005
+++ 1.3/arch/ppc/platforms/hdpu.c Thu Mar 17 11:07:38 2005
@@ -260,6 +260,17 @@
ppc_md.pci_swizzle = common_swizzle;
ppc_md.pci_map_irq = hdpu_map_irq;
+ mv64x60_set_bus(&bh, 0, 0);
+ bh.hose_a->first_busno = 0;
+ bh.hose_a->last_busno = 0xff;
+ bh.hose_a->last_busno = pciauto_bus_scan(bh.hose_a, 0);
+
+ bh.hose_b->first_busno = bh.hose_a->last_busno + 1;
+ mv64x60_set_bus(&bh, 1, bh.hose_b->first_busno);
+ bh.hose_b->last_busno = 0xff;
+ bh.hose_b->last_busno = pciauto_bus_scan(bh.hose_b,
+ bh.hose_b->first_busno);
+
ppc_md.pci_exclude_device = mv64x60_pci_exclude_device;
hdpu_cpustate_set(CPUSTATE_KERNEL_MAJOR | CPUSTATE_KERNEL_INIT_REG);
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-03-17 16:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-17 14:53 [PATCH] ppc32: 0/2 add support for Sky Computers HDPU Compute blade Brian Waite
2005-03-17 16:11 ` [PATCH] ppc32: 3/2 HDPU platform fix PCI bus 1 enumeration Brian Waite
2005-03-17 16:25 ` Eugene Surovegin
2005-03-17 16:21 ` Brian Waite [this message]
2005-03-17 17:44 ` [PATCH] ppc32: 0/2 add support for Sky Computers HDPU Compute blade Mark A. Greer
2005-03-17 17:47 ` Brian Waite
2005-03-17 23:56 ` Mark A. Greer
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=200503171121.51698.waite@skycomputers.com \
--to=waite@skycomputers$(echo .)com \
--cc=linuxppc-embedded@ozlabs$(echo .)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