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

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

 



On Fri, Nov 21, 2008 at 08:59:03AM +1100, Vincent Rizza wrote:
>
> 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.

Attribute groups can have a "name" that creates the subdirectory for
them, no new kobject is needed at all.

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