aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorAlex Chiang <[email protected]>2008-06-10 15:28:50 -0600
committerJesse Barnes <[email protected]>2008-06-10 14:37:03 -0700
commitf46753c5e354b857b20ab8e0fe7b2579831dc369 (patch)
treeefffdb4dfec5e1f6fd624f17aa36d7d350bb1e6c /include/linux/timerqueue.h
parentfe99740cac117f208707488c03f3789cf4904957 (diff)
PCI: introduce pci_slot
Currently, /sys/bus/pci/slots/ only exposes hotplug attributes when a hotplug driver is loaded, but PCI slots have attributes such as address, speed, width, etc. that are not related to hotplug at all. Introduce pci_slot as the primary data structure and kobject model. Hotplug attributes described in hotplug_slot become a secondary structure associated with the pci_slot. This patch only creates the infrastructure that allows the separation of PCI slot attributes and hotplug attributes. In this patch, the PCI hotplug core remains the only user of this infrastructure, and thus, /sys/bus/pci/slots/ will still only become populated when a hotplug driver is loaded. A later patch in this series will add a second user of this new infrastructure and demonstrate splitting the task of exposing pci_slot attributes from hotplug_slot attributes. - Make pci_slot the primary sysfs entity. hotplug_slot becomes a subsidiary structure. o pci_create_slot() creates and registers a slot with the PCI core o pci_slot_add_hotplug() gives it hotplug capability - Change the prototype of pci_hp_register() to take the bus and slot number (on parent bus) as parameters. - Remove all the ->get_address methods since this functionality is now handled by pci_slot directly. [[email protected]: rpaphp-correctly-pci_hp_register-for-empty-pci-slots] Tested-by: Badari Pulavarty <[email protected]> Acked-by: Benjamin Herrenschmidt <[email protected]> [[email protected]: build fix] [[email protected]: make headers_check happy] [[email protected]: nuther build fix] [[email protected]: fix typo in #include] Signed-off-by: Alex Chiang <[email protected]> Signed-off-by: Matthew Wilcox <[email protected]> Cc: Greg KH <[email protected]> Cc: Kristen Carlson Accardi <[email protected]> Cc: Len Brown <[email protected]> Acked-by: Kenji Kaneshige <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions