From: "Mark A. Greer" <mgreer@mvista.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: linux-emb <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: mv6360 support in mv64x60.c (was Re: GT64260_eth (Ethernet) Driver)
Date: Thu, 01 Jul 2004 12:10:02 -0700 [thread overview]
Message-ID: <40E4618A.902@mvista.com> (raw)
In-Reply-To: <1088691201.14216.2977.camel@hades.cambridge.redhat.com>
David Woodhouse wrote:
>More progress... the IRQ code works a bit better if it's ic_bh->v_addr
>is at offset zero in the chip instead of the 0xc18 which is correct only
>for the GT64260.
>
Yep. Added to the list.
> The host bridge itself appears on the bus as device #3,
>which is why we couldn't autodetect it by looking at vendor/device of
>device #0.
>
Ah, I see the problem. PCI regs are being accessed before
mv64x60_enumerate_buses() is called which sets the hose bus & device
numbers. Actually, I never expected fw to ever change the dev number
from zero so I was only really concerned about setting the bus number in
that routine. For some reason, your firmware must be changing it to 3.
FYI, look at the "PCI P2P Configuration" register
(MV64x60_PCI[01]_P2P_CONFIG (0x1d14/0x1d94)). Apparently your firmware
sets the device number of your hoses to 3 for some reason (default is 0
for PCI, 0x1f for PCI-X).
Added to the list.
>
>∃ an Ethernet driver for the MV64340 (the MIPS version of the chip). It
>doesn't use OCP though -- there's no OCP on MIPS. Can someone explain
>why OCP is used instead of the generic platform_device functionality
>provided by the kernel? Should we convert MIPS to OCP?
>
>
>
I think Matt answered this one.
Mark
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2004-07-01 19:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-29 22:12 mv6360 support in mv64x60.c (was Re: GT64260_eth (Ethernet) Driver) Mark A. Greer
2004-06-30 10:23 ` David Woodhouse
2004-07-01 14:13 ` David Woodhouse
2004-07-01 15:24 ` Matt Porter
2004-07-01 19:10 ` Mark A. Greer [this message]
[not found] ` <1088777061.14216.4449.camel@hades.cambridge.redhat.com>
2004-07-02 23:02 ` 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=40E4618A.902@mvista.com \
--to=mgreer@mvista.com \
--cc=dwmw2@infradead.org \
--cc=linuxppc-embedded@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 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.