Re: [RFC][PATCH] Add sysfs entry that displays MSI-X IRQs

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

 




Greg KH wrote:
More thoughts about how this is done internally...

Why do you need an extra kobject at all?  Why not just add this to the
attributes of the pci device like all other pci device attributes?
I used a new kobject simply to create the directory that the IRQs go into.
I'm not sure how to do it any other way. Is there a place in the kernel where
it's done? I'll keep thing consistent with that.
Also see the talk about the virtual pci devices, as to how to add these
attributes so they show up _before_ the uevent is sent to userspace.
That's the proper way these should be hooked up to the device.

thanks,

greg k-h


--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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