PCI: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
No edit summary
No edit summary
Line 52:
/* write out the address */
sysOutLong outl(0xCF8, address);
/* read in the data */
/* (offset & 2) * 8) = 0 will choose the first word of the 32 bits register */
tmp = (uint16_t)((sysInLong inl(0xCFC) >> ((offset & 2) * 8)) & 0xffff);
return (tmp);
}