diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-06-08 08:40:28 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2023-01-06 06:27:56 +0100 |
commit | 95974484bd29108b621368171aff1eecb6f637ad (patch) | |
tree | c65129cc57aba090f58a3e520e876845ec4bd6fe | |
parent | b47999765b6530d9e5a9cada531e279612a84493 (diff) | |
download | linux-vfio-usb-reset.tar.gz |
[debug] reset msgvfio-usb-reset
-rw-r--r-- | drivers/pci/quirks.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index dc107f6cbef2..f99029ce2047 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -3910,6 +3910,7 @@ static int reset_ehci_dev(struct pci_dev *dev, int probe) return -ENOMEM; opregs = ioread8(mmio); + pci_info(dev, "reset quirk: opreg offset is 0x%x\n", opregs); cmd = EHCI_CMD_RESET; iowrite32(cmd, mmio + opregs); timeout = jiffies + msecs_to_jiffies(250); @@ -3942,6 +3943,7 @@ static int reset_xhci_dev(struct pci_dev *dev, int probe) return -ENOMEM; opregs = ioread8(mmio); + pci_info(dev, "reset quirk: opreg offset is 0x%x\n", opregs); cmd = XHCI_CMD_RESET; iowrite32(cmd, mmio + opregs); timeout = jiffies + msecs_to_jiffies(250); |