pciehp PCI_BASE_CLASS_DISPLAY check

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

 



Hi Yinghai,

In 9789ac979b6b ("PCI: pciehp: cleanup flow in
pciehp_configure_device") [1], you added a check that prevents us from
calling pci_configure_slot() for PCI_BASE_CLASS_DISPLAY devices.

Do you remember why we need that check?  I would like to configure
devices in the pci_device_add() path instead of doing it in the
hotplug drivers.  pci_configure_device() is currently called from:

  acpiphp_set_hpp_values()
  pciehp_configure_device()
  shpchp_configure_device()

Only pciehp_configure_device() has the PCI_BASE_CLASS_DISPLAY check.

Bjorn

[1] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9789ac979b6b
--
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