Messages in this thread | | | Date | Fri, 24 Aug 2012 22:42:07 +0800 | From | Jiang Liu <> | Subject | Re: Unable to mount NFSROOT: pcie change breaks e1000? |
| |
On 08/24/2012 12:12 AM, Bjorn Helgaas wrote: > On Thu, Aug 23, 2012 at 9:03 AM, Jiang Liu <liuj97@gmail.com> wrote: >> Hi Bjorn, >> Could you please help to fold this small patch into >> "[5/40] PCI/core: Use PCI Express Capability accessors"? >> It fixes a bug reported by Fengguang. > > Thanks, I folded it in. I looked briefly at whether a similar fix is > needed in pci_restore_pcie_state(). I don't *think* so, but it > wouldn't hurt for you to also double-check and let me know if it does.
I think it's optional to add a "pci_is_pcie()" check for pci_restore_pcie_state(). pci_find_saved_cap(dev, PCI_CAP_ID_EXP) should return NULL for non-PCIe device.
--Gerry
| |