From: Matt Porter <porter@cox.net>
To: acurtis@directvinternet.com
Cc: mlan@cpu.lu, linuxppc-dev@lists.linuxppc.org
Subject: Re: PCI enlightenment follow-up
Date: Wed, 7 Aug 2002 15:51:31 -0700 [thread overview]
Message-ID: <20020807155131.B20123@home.com> (raw)
In-Reply-To: <NCBBIINEHIPFGJPLBEIFGEHLDKAA.acurtis@directvinternet.com>; from acurtis@directvinternet.com on Wed, Aug 07, 2002 at 09:03:53AM -0700
On Wed, Aug 07, 2002 at 09:03:53AM -0700, acurtis@directvinternet.com wrote:
>
> > > ======= Board specs ========
> > > Host phys: 0x40000000 - 0x47ffffff =>
> > > PCI I/O space 0x00000000 - 0x07ffffff
> > >
> > > Host phys: 0x48000000 - 0x4fffffff =>
> > > PCI Memory space 0x00000000 - 0x07ffffff
> > >
> > > PCI phys: 0x40000000 - 0x47ffffff =>
> > > Host Memory 0x00000000 - 0x07ffffff
> > >
> > > Host Memory:
> > > phys: 0x00000000
> > > virt: 0xc0000000
> > > size: 0x08000000
> > >
> > > PCI BAR: (only 1 bus)
> > > Memory: 0x00000000
> > > I/O: 0x00000000
> > >
> > > ========== Boot Messages ===========
> > > /* SCSI controller resource allocation is fine */
> > > PCI:00:0f.0: Resource 0: 47ffff00-47ffffff (f=101)
> > > PCI:00:0f.0: Resource 1: 4ffffc00-4fffffff (f=200)
> > > PCI:00:0f.0: Resource 2: 4fffc000-4fffdfff (f=200)
> >
> > OK, obviously, the pci_dev resource regions get set up with the
> > necessary offset to get to the right address on the PCI bus.
>
> Yes, but I am beginning to suspect that this is where the problem is. If the
> I/O addresses should not be translated because the in/out() functions
> automagically add the offset, then perhaps the I/O regions should not be
> fixed?
Yep, that's a problem. Your comment states that
isa_io_base == io_base_virt. Yet I see isa_io_base=0x00000000
and io_base_virt=0x40000000. You should have isa_io_base=0x40000000.
You don't want those I/O BARs fixed up as you've suggested above.
Regards,
--
Matt Porter
porter@cox.net
This is Linux Country. On a quiet night, you can hear Windows reboot.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-08-07 22:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-07 4:46 PCI enlightenment follow-up Allen Curtis
2002-08-07 6:16 ` Michel Lanners
2002-08-06 21:09 ` Benjamin Herrenschmidt
2002-08-07 22:34 ` Matt Porter
2002-08-08 8:25 ` Benjamin Herrenschmidt
2002-08-08 13:58 ` Allen Curtis
2002-08-07 16:03 ` acurtis
2002-08-07 22:51 ` Matt Porter [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-08-07 23:10 Allen Curtis
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=20020807155131.B20123@home.com \
--to=porter@cox.net \
--cc=acurtis@directvinternet.com \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=mlan@cpu.lu \
/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.