linux/Documentation
Greg Kroah-Hartman 1c51b50c29 PCI/MSI: Export MSI mode using attributes, not kobjects
The PCI MSI sysfs code is a mess with kobjects for things that don't really
need to be kobjects.  This patch creates attributes dynamically for the MSI
interrupts instead of using kobjects.

Note, this removes a directory from sysfs.  Old MSI kobjects:

  pci_device
     └── msi_irqs
         └── 40
             └── mode

New MSI attributes:

  pci_device
     └── msi_irqs
         └── 40

As there was only one file "mode" with the kobject model, the interrupt
number is now a file that returns the "mode" of the interrupt (msi vs.
msix).

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
2013-12-19 15:14:52 -07:00
..
2013-11-12 15:01:39 +09:00
2013-04-02 09:39:55 -07:00
2013-10-17 21:18:32 +02:00
2013-07-24 22:06:34 -07:00
2013-07-25 12:34:15 +02:00
2013-09-15 17:41:30 -04:00
2013-10-16 13:35:02 -07:00
2013-11-14 11:04:40 -08:00
2013-09-25 12:34:32 +01:00
2013-04-16 18:47:19 +09:00
2013-10-24 10:51:33 +02:00
2013-09-05 16:36:21 -06:00