From: Oliver Rutsch <orutsch@sympatec.com>
To: linuxppc-embedded@ozlabs.org
Subject: Re: STK5200 pci_enable_device problem
Date: Thu, 23 Aug 2007 09:24:08 +0200 [thread overview]
Message-ID: <46CD3618.70801@sympatec.com> (raw)
In-Reply-To: <7B9A8FF57DBB524190E98CABF6E56F078FAE4E@itri.bte.mam.gov.tr>
Hi Mustafa,
> Hi all,
>
[...]
>
> My pci driver is able to scan pci bus and find succesfully the pci
> device. After this point, pci_enable_device function returns
> following error:
>
> PCI: Device 00:18.0 not available because of resource collisions
>
Which ELDK and kernel do you use? I had the same problem on this board
with a PLX9054 based PCI card on a 2.4.25 kernel. I switched to the 2.6
kernel and the 4.1 ELDK and the card was scanned correctly.
But keep in mind that the linux PLX drivers do not work out of the box
with a big endian platform like the MPC5200. Although there is a
BIG_ENDIAN flag in the makefiles there are still some places left in the
driver code which have to be patched (the parts with int64 adresses).
It's not so easy to compile the PLX drivers on the 4.1 ELDK because of
missing headers in the ppc architecture. I managed to build the drivers
for the 2.6.19 kernel and I was able to work with the card except the
DMA routines (still working on this issue).
Hope this helps. Bye,
--
Dipl. Ing. Oliver Rutsch
next prev parent reply other threads:[~2007-08-23 8:25 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-23 5:42 STK5200 pci_enable_device problem Mustafa Cayır
2007-08-23 7:24 ` Oliver Rutsch [this message]
2007-08-26 21:10 ` Wolfgang Denk
2007-08-27 6:25 ` Oliver Rutsch
2007-08-27 18:58 ` Wolfgang Denk
2007-08-27 11:08 ` Mustafa Cayir
2007-08-27 19:14 ` Wolfgang Denk
2007-08-28 8:51 ` Mustafa Cayir
2007-08-29 6:02 ` Oliver Rutsch
2007-08-29 7:49 ` Wolfgang Denk
2007-08-29 12:52 ` Oliver Rutsch
2007-08-29 23:31 ` Wolfgang Denk
2007-08-30 9:19 ` Oliver Rutsch
2007-08-31 5:38 ` Mustafa Cayir
2007-09-01 23:23 ` Wolfgang Denk
2007-08-26 21:08 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2007-09-14 11:38 Mustafa Cayır
2007-09-14 12:53 ` Oliver Rutsch
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=46CD3618.70801@sympatec.com \
--to=orutsch@sympatec.com \
--cc=linuxppc-embedded@ozlabs.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;
as well as URLs for NNTP newsgroup(s).