Are sure that you have used the latest version of the driver?
Look at the line "PCI Command" in the board log, it contains value 1, but the latest driver version set bit 2 (Master bit) in this register, and now it's value must be 5 (101b).
In this version I've add this peace of code to the init_controller function:
Code: Select all
stdcall PciRead32, [ctrl.bus], [ctrl.devfn], dword 4
test eax, 0x4 ; Test Master bit
jnz @f
or eax, 0x4 ; Set Master bit
stdcall PciWrite32, [ctrl.bus], [ctrl.devfn], dword 4, eax
stdcall PciRead32, [ctrl.bus], [ctrl.devfn], dword 4
@@: