|
@@ -124,10 +124,10 @@ static int init_slot(struct controller *ctrl)
|
|
|
snprintf(name, SLOT_NAME_SIZE, "%u", slot->number);
|
|
snprintf(name, SLOT_NAME_SIZE, "%u", slot->number);
|
|
|
|
|
|
|
|
ctrl_dbg(ctrl, "Registering domain:bus:dev=%04x:%02x:00 "
|
|
ctrl_dbg(ctrl, "Registering domain:bus:dev=%04x:%02x:00 "
|
|
|
- "hp_slot=%x sun=%x slot_device_offset=%x\n",
|
|
|
|
|
|
|
+ "sun=%x slot_device_offset=%x\n",
|
|
|
pci_domain_nr(ctrl->pci_dev->subordinate),
|
|
pci_domain_nr(ctrl->pci_dev->subordinate),
|
|
|
ctrl->pci_dev->subordinate->number,
|
|
ctrl->pci_dev->subordinate->number,
|
|
|
- slot->hp_slot, slot->number, ctrl->slot_device_offset);
|
|
|
|
|
|
|
+ slot->number, ctrl->slot_device_offset);
|
|
|
retval = pci_hp_register(hotplug,
|
|
retval = pci_hp_register(hotplug,
|
|
|
ctrl->pci_dev->subordinate, 0, name);
|
|
ctrl->pci_dev->subordinate, 0, name);
|
|
|
if (retval) {
|
|
if (retval) {
|