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

Re: pci_resource_flags()



Dear Greg,

how do I get this field in a programm? (I don't know how to look a filename up)

Thanks a lot,
Myrto


On 8/4/06, Greg KH < greg@xxxxxxxxx> wrote:
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