[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pci_resource_flags()



On Thu, Aug 03, 2006 at 10:28:00PM +1000, Myrto Zehnder wrote:
> Hi,
> 
> Is there a way to get the value from the macro pci_resource_flags()  in
> *User-Space*?

Look in the sysfs directory for the pci device, in the "resource" file.
It's the third field.

Hope this helps,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/