Re: How does the "/sys/bus/pci/drivers/*/*" interface work?

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

 



On Thu, May 13, 2021 at 03:58:01PM +0000, linux.enthusiast wrote:
> On Thursday, May 13, 2021 5:35 PM, Keith Busch <kbusch@xxxxxxxxxx> wrote:
> > Run 'modinfo <name-of-driver>'. For pci drivers, each "alias" line will
> > show some kind of pci information that the driver binds to.
> 
> Thank you, unfortunately there are no `alias` entries or any other entries that contain the ID that I dynamically added for the driver I'm looking at (vfio-pci). Maybe this approach only works for the IDs the driver has by default, not the ones added dynamically via `new_id`?

Yes, modinfo shows devices the driver has built-in binding. vfio-pci
doesn't bind to anything by default, so nothing there.

It doesn't look like the kernel provides a way to report a list of
dynamically assigned ids.



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux