diff options
| author | Alexander Motin <mav@FreeBSD.org> | 2019-08-26 17:27:36 +0000 |
|---|---|---|
| committer | Alexander Motin <mav@FreeBSD.org> | 2019-08-26 17:27:36 +0000 |
| commit | 21e51c82fb6e87dde9dbcfe5fb1608032e95556d (patch) | |
| tree | 1f9c7bc1f8f5101c7ab6014055a768b3da2f71c1 | |
| parent | 87210a0c6d998c355f0fa159cc54875f875db388 (diff) | |
Notes
| -rw-r--r-- | sys/dev/pci/pci_pci.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/pci/pci_pci.c b/sys/dev/pci/pci_pci.c index f3233584096b..2b64b9514829 100644 --- a/sys/dev/pci/pci_pci.c +++ b/sys/dev/pci/pci_pci.c @@ -1272,11 +1272,8 @@ pcib_pcie_cc_timeout(void *arg) mtx_assert(&Giant, MA_OWNED); sta = pcie_read_config(dev, PCIER_SLOT_STA, 2); if (!(sta & PCIEM_SLOT_STA_CC)) { - device_printf(dev, - "HotPlug Command Timed Out - forcing detach\n"); - sc->flags &= ~(PCIB_HOTPLUG_CMD_PENDING | PCIB_DETACH_PENDING); - sc->flags |= PCIB_DETACHING; - pcib_pcie_hotplug_update(sc, 0, 0, true); + device_printf(dev, "HotPlug Command Timed Out\n"); + sc->flags &= ~PCIB_HOTPLUG_CMD_PENDING; } else { device_printf(dev, "Missed HotPlug interrupt waiting for Command Completion\n"); |
