I am new to this PCI. Trying to print all the PCI Register address and its values.
// Get Base Address of registers from pci structure.
gBaseHdwr = pci_resource_start (gDev, 0);
// Print Base Address to kernel log printk(KERN_INFO"%s: Init: Base hw val %X\n", gDrvrName, (unsigned int)gBaseHdwr);
output: [ 153.221004] xbmd: Init: Virt HW address C38C00
I need to print all the PCI Register address and its values..
Please help to resolve this.
Note: From the attached document we need to print the PCI Register address From (004h to 074h- 0FFh)