From: Ginger Xiao <ginger.xiao@gmail.com>
To: Linuxppc-dev@ozlabs.org
Subject: [Help] MPC8377 2.6.18 PCI-E doesn't work well
Date: Sun, 17 Apr 2011 13:56:24 +0800 [thread overview]
Message-ID: <BANLkTi=SST3nLy-CFEBvj98WBmCS4mqKwQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1805 bytes --]
Hi All
My board is MPC8377 with linux 2.6.18.
When using the PCI-E device PCE9901, there is one serial can't work.
The following is the message:
/myapp # insmod 9900.ko
0001:02:00.0: ttyT0 at I/O 0x0 (irq = 22) is a starex-serial
starex-serial: probe of 0001:02:00.1 failed with error -12
>From the kernel logs, I found that:
PCI: Assigning unassigned resouces...
PCI: Failed to allocate I/O resource #0:8@1000 for 0001:02:00.1
All the PCI devices are as follows:
~ # lspci
0000:00:00.0 Power PC: Freescale Semiconductor Inc Unknown device 00c7 (rev
21)
0000:00:0f.0 Serial controller: Unknown device 4348:3253 (rev 10)
0001:01:00.0 PCI bridge: Freescale Semiconductor Inc Unknown device 00c7
(rev 21)
0001:02:00.0 Serial controller: NetMos Technology Unknown device 9901
0001:02:00.1 Serial controller: NetMos Technology Unknown device 9901
Parts Kernel booting message is :
Found MPC83xx PCI host bridge at 0x00000000e0008500. Firmware bus number:
0->0
->Hose at 0xc0417000, cfg_addr=0xfdffd300,cfg_data=0xfdffd304
PCI host bridge /pci@e0008500 (primary) ranges:
MEM 0x0000000090000000..0x000000009fffffff -> 0x0000000090000000
MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000 Prefetch
IO 0x00000000e0300000..0x00000000e03fffff -> 0x0000000000000000
mpc83xx_add_bridge():Adding PCI host bridge /pcie@e0009000.
Found MPC83xx PCI host bridge at 0x00000000e0009000. Firmware bus number:
0->0
->Hose at 0xc04170c0, cfg_addr=0xf5efc000,cfg_data=0xfdefc000
PCI host bridge /pcie@e0009000 (primary) ranges:
MEM 0x00000000a8000000..0x00000000b7ffffff -> 0x00000000a8000000
IO 0x00000000b8000000..0x00000000b87fffff -> 0x0000000000000000
I fount that because the "0001:02:00.1" does not have the IO map.
How can I configure it?
[-- Attachment #2: Type: text/html, Size: 1993 bytes --]
reply other threads:[~2011-04-17 5:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='BANLkTi=SST3nLy-CFEBvj98WBmCS4mqKwQ@mail.gmail.com' \
--to=ginger.xiao@gmail.com \
--cc=Linuxppc-dev@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).