mov dx,0cf8h ;addr register port
mov eax,80000900 ;device: bus#=0,dev#=1,func#=1
out dx,eax ;Find pci io configuration register
mov dx,0cfch ;read data from data register port
in eax,dx
一般,可以透过PCI configuration port access or Via PCIBIOS function call .但是PCIBIos 已经被OS 截挡,所以 怎样用32bit IO access Address Port ,
显示如我们开机的时候作Bios自检时看到的:
bus NO DEvice NO Func IRQ Vender ID Device ID
01 0E 1 2 2258 5565 ....
........