[ixp1200] ENP-2611 board PCI-to-PCI bridge testing problem!

smiley expect at wins21.com
Thu Feb 12 20:09:11 EST 2004


ENP-2611 board PCI-to-PCI bridge testing problem!

1. I downloaded the ENP_SDK_3.1_release3 for the PCI-to-PCI bridge
 communication.
  2. I compiled it as described in ch. 6 in "ENP Software Development Kit
 Programmer's Guide".
  3. The document said to load the modules in this manner.
  -
    insmod hhnet_eth
    insmod hhnet
    insmod hhnet_drawb
    ifconfig pci0 192.168.111.1
 -
  When I load the module, the following message is displayed.
  -
 host/hhnet_drawb.o: init_module: No such device
 Hint: insmod errors can be caused by incorrect module parameters, including
 invalid IO or IRQ parameters
 -
  The output of "dmesg", is shown like this.
 -
 hhnet_drawb:   Downstream setup 3 configuration invalid. (b:d:f = 3:8:0)
 -
  
 The host pci info is like below and it seems everything is configured
 correctly.
 
 -
   Bus  3, device   8, function  0:
     Bridge: PCI device 8086:b555 (Intel Corp.) (rev 2).
       IRQ 24.
       Non-prefetchable 32 bit memory at 0xfe6b0000 [0xfe6b0fff].
       I/O at 0x2400 [0x24ff].
       Non-prefetchable 32 bit memory at 0xfe500000 [0xfe5fffff].
       Prefetchable 32 bit memory at 0xe0000000 [0xefffffff].
 -
  
 When I look at the source code,
 
 In the function "hhnet_drawb_open_dev",
 you compare the setup value of "pci_read_config_dword()" and
 HHNET_DRAWB_MEM_MASK,
 and it seems like the setup value of the "pci_read_config_dword()" is zero.
 I guess this is the main reason for this problem.
 
 
 I also saw the same problem on the "target" side.
 
 What do I have to do to fix this problem?


More information about the ixp1200 mailing list