Access pci devices' serial numbers programmatically
Nomad Esst
noname.esst at yahoo.com
Wed Jan 15 06:06:07 UTC 2014
Yes I'm trying to get these information from user-land. Any ideas now?
On Tuesday, January 14, 2014 4:54 PM, John Baldwin <jhb at freebsd.org> wrote:
On Tuesday, January 14, 2014 1:08:55 am Nomad Esst wrote:
>> Thank you. The thing is one of the input arguments of this function is
>device_t. How can I get this struct by device name so I can pass it to
>pci_get_vpd_readonly function?
>
>If you are in a device driver method such as probe or attach, you should
>already have the device_t available. Are you trying to query this from
>userland?
>
>
>--
>John Baldwin
>
>
>
More information about the freebsd-hackers
mailing list