Hi All<br><br>My board is MPC8377 with linux 2.6.18.<br><br>When using the PCI-E device PCE9901, there is one serial can't work.<br> The following is the message:<br><br>/myapp # insmod 9900.ko<br>0001:02:00.0: ttyT0 at I/O 0x0 (irq = 22) is a starex-serial<br>
starex-serial: probe of 0001:02:00.1 failed with error -12<br><br>From the kernel logs, I found that£º<br>PCI: Assigning unassigned resouces...<br>PCI: Failed to allocate I/O resource #0:8@1000 for 0001:02:00.1<br><br><br>
All the PCI devices are as follows:<br>~ # lspci<br>0000:00:00.0 Power PC: Freescale Semiconductor Inc Unknown device 00c7 (rev 21)<br>0000:00:0f.0 Serial controller: Unknown device 4348:3253 (rev 10)<br>0001:01:00.0 PCI bridge: Freescale Semiconductor Inc Unknown device 00c7 (rev 21)<br>
0001:02:00.0 Serial controller: NetMos Technology Unknown device 9901<br>0001:02:00.1 Serial controller: NetMos Technology Unknown device 9901<br><br><br>Parts Kernel booting message is :<br>Found MPC83xx PCI host bridge at 0x00000000e0008500. Firmware bus number: 0->0<br>
->Hose at 0xc0417000, cfg_addr=0xfdffd300,cfg_data=0xfdffd304<br>PCI host bridge /pci@e0008500 (primary) ranges:<br> MEM 0x0000000090000000..0x000000009fffffff -> 0x0000000090000000 <br> MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000 Prefetch<br>
IO 0x00000000e0300000..0x00000000e03fffff -> 0x0000000000000000<br>mpc83xx_add_bridge():Adding PCI host bridge /pcie@e0009000. <br>Found MPC83xx PCI host bridge at 0x00000000e0009000. Firmware bus number: 0->0<br>
->Hose at 0xc04170c0, cfg_addr=0xf5efc000,cfg_data=0xfdefc000<br>PCI host bridge /pcie@e0009000 (primary) ranges:<br> MEM 0x00000000a8000000..0x00000000b7ffffff -> 0x00000000a8000000 <br> IO 0x00000000b8000000..0x00000000b87fffff -> 0x0000000000000000<br>
<br><br>I fount that because the "0001:02:00.1" does not have the IO map.<br>How can I configure it?<br><br>