[ixp1200] ENP-2611 board PCI-to-PCI bridge testing problem!
smiley
expect at wins21.com
Thu Feb 12 20:14:16 EST 2004
question ? ~~~!
Since I still could not load the module, I changed hhnet_drawb.c.
---from----
#define DRAWB_CFG_SETUP_DS3 0xB8
#define DRAWB_CFG_CHIP_CONTROL_1 0xCE
#define HHNET_DRAWB_MEM_SIZE (1024 * 1024)
if (primary)
{
...
bar = 4;
irq_handler = hhnet_drawb_intr_primary;
}
---to----
#define DRAWB_CFG_SETUP_DS3 0xAC
#define DRAWB_CFG_CHIP_CONTROL_1 0xCC
#define HHNET_DRAWB_MEM_SIZE (4 * 1024)
if (primary)
{
...
bar = 0;
irq_handler = hhnet_drawb_intr_primary;
}
---
After the modification, I COULD load the module on both side, server, and ENP.
But still I could not make them to communicate.
The dmesg & PCI info from the server side-----------------
<dmesg>
hhnet_drawb: mem_paddr = fe6b0000
hhnet_drawb: mem virt = f89d900
<pci>
03:08.0 Bridge: Intel Corp.: Unknown device b555 (rev 02)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64
Interrupt: pin A routed to IRQ 24
Region 0: [virtual] Memory at fe6b0000 (32-bit, non-prefetchable) [size=4K]
Region 1: I/O ports at 2400 [size=256]
Region 2: [virtual] Memory at fe500000 (32-bit, non-prefetchable) [size=1M]
Region 3: Memory at e0000000 (32-bit, prefetchable) [size=256M]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [e4] Vital Product Data
Capabilities: [ec] #06 [0080]
The dmesg & PCI info from the ENP side-----------------
<dmesg>
hhnet_drawb: mem_paddr = 00000000
hhnet_drawb: mem virt = cb687000
<pci>
Bus 0, device 1, function 0:
Bridge: PCI device 8086:b555 (Intel Corp.) (rev 2).
IRQ 41.
Non-prefetchable 32 bit memory at 0xe4000000 [0xe4000fff].
I/O at 0x100000 [0x1000ff]
As you can see, the mem_paddr of ENP is set as 00000000. I think this is the reason of the problem.
I think the correct value is "0xe4000000". Am I correct?
If then, how do I fix it?
Thank you in advance.
Regards,
EunYoung Joo
More information about the ixp1200
mailing list