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-