pciehp: Determining slot number in UDEV event?

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

 



Hi,

I was wondering if it is possible for a user to know the SLOT Number when the UDEV event for a PCI device added on a slot comes? 

Currently the only way I can think of is to parse the Device path in udev event for the downstream port, and then go search in the /sys as to which slot number does this correspond to.

Thanks,

Rajat
��.n��������+%������w��{.n�����{���"�)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥





[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