Is there a way to get the value from the macro pci_resource_flags() in *User-Space*? I am using pci-utils for other values. The struct pci_dev dev defined in include/linux/pci.h is (of course) not accessible from Userspace. I am using kernel 2.6.16.
include/linux/pci.h, line 101
#define pci_resource_flags(dev, bar) ((dev)->resource[( bar)].flags)
Thank you,
Myrto
LXR for kernel 2.6.16 and 2.6.17:
http://www.gelato.unsw.edu.au/lxr