From: Pete Popov <ppopov@mvista.com>
To: baitisj@evolution.com
Cc: linux-mips <linux-mips@linux-mips.org>
Subject: Re: CardBus on DBAu1500
Date: 28 Feb 2003 22:15:58 -0800 [thread overview]
Message-ID: <1046499358.12356.2.camel@adsl.pacbell.net> (raw)
In-Reply-To: <20030228194820.Z20129@luca.pas.lab>
On Fri, 2003-02-28 at 19:48, Jeff Baitis wrote:
> Hey Pete and others!
>
> I'm finally working on CardBus support on the DBAu1500. Just got acquainted
> with PCI today. :)
>
> I decided that the first step is to plug in a PCI->PCI bridge, and try to see
> if it would work, which it did not. After winding around inside of the kernel,
> I finally arrived in arch/mips/au1000/db1x00/pci_ops.c:
>
> Inside of config_access(unsigned char access_type, struct pci_dev *dev,
> unsigned char where, u32 * data), on line 97, a little surprise:
>
> if (bus != 0) {
> *data = 0xffffffff;
> return -1;
> }
>
> At this point, I concluded that I cannot traverse a PCI-PCI or CardBus bridge,
> since any devices behind the bridge will require Type 1 Configuration Cycles,
> and it seems that only Type 0 is currently supported.
>
> I assume that I should add code to handle the case where I need to generate
> Type 1 Configuration Cycles inside of config_access. Pete, since you authored
> this code, I thought I'd quickly run this by you to make sure that I'm on
> track.
>
> Thanks for your suggestions!
Take a look at arch/mips/au1000/pb1500/pci_ops.c for type 1 config
access. The patch was courtesy of David Gathright and apparently I
missed adding it in the db1500. Actually, we need to combine that code
because it's the same. Let me get through my eternal struggle of getting
the 36 bit patch applied (with Ralf's help I think a modified patch
should be ready this weekend) and then I'll worry about clean ups :)
Pete
next prev parent reply other threads:[~2003-03-01 6:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-01 3:48 CardBus on DBAu1500 Jeff Baitis
2003-03-01 6:15 ` Pete Popov [this message]
2003-03-04 2:14 ` Jeff Baitis
2003-03-04 2:25 ` Pete Popov
2003-03-08 2:08 ` CardBus on DBAu1500 -- IRQ storm? Jeff Baitis
2003-03-08 2:11 ` Pete Popov
2003-03-12 2:15 ` Jeff Baitis
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=1046499358.12356.2.camel@adsl.pacbell.net \
--to=ppopov@mvista.com \
--cc=baitisj@evolution.com \
--cc=linux-mips@linux-mips.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