From: Paul Mackerras <paulus@samba.org>
To: Zehetbauer Thomas <TZ@link.topcall.co.at>
Cc: "'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>
Subject: Re: Cannot access PCI device
Date: Fri, 13 Jul 2001 11:25:10 +1000 (EST) [thread overview]
Message-ID: <15182.19958.799226.696782@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <41EA756DBC9FD0118CFC0020AFDB5C5A188E07@tcint1ntsrv>
In-Reply-To: <41EA756DBC9FD0118CFC0020AFDB5C5A188E07@tcint1ntsrv>
Zehetbauer Thomas writes:
> Hi! I am trying to access a custom PCI device on a Walnut Rev. D system
> running Hard Hat Linux Rev. 1.2 with Montavista kernel snapshot
> 01.04.12. The following code is beeing executed in the probe function of
> a kernel module and works well on Linux 2.4.2/Intel but returns useless
> values on PowerPC.
What kernel version is this? We have fixed a few bugs in the PCI code
on PPC lately.
> ### begin ppc result ###
> Found PCI device 10ee:4030 (Xilinx, Inc.)
> pci_resource_start=10000000
> pci_resource_end=0
> PCI_BASE_ADDRESS_0=ffff0000
This looks bogus, it looks like the firmware hasn't assigned an
address to this device. Current PPC kernels should assign a
reasonable address in this case - this is something that has been
fixed since 2.4.2 came out.
Paul.
prev parent reply other threads:[~2001-07-13 1:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-12 10:42 Zehetbauer Thomas
2001-07-12 14:07 ` Jeff Garzik
2001-07-13 1:25 ` Paul Mackerras [this message]
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=15182.19958.799226.696782@cargo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=TZ@link.topcall.co.at \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®