How to change PCI Configuration space?

Rajat Jain
2005-08-30T04:47:12Z

Hi List,

I want to change the PCI Configuration space of a particular device in
my system. I am trying to use the "pcitweak" utility to do so, but am
not suceeding. I would appreciate if some body could provide me any
pointers in how to do so.

In this case, I want to change the value at offset 64:

$ pcitweak -r 5:9:1 64
0x01000001 //original value

$ pcitweak -w 5:9:1 64 0x02000002 //new value

$ pcitweak -r 5:9:1 64
0x01000001 //no change?

TIA,

Rajat Jain