diff options
author | Chunhe Lan <Chunhe.Lan@freescale.com> | 2013-08-02 12:46:25 +0400 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2013-10-29 06:11:15 +0400 |
commit | bbd234b146a158ae59da0592c1598336db63b0fc (patch) | |
tree | f3dc8f84163fb5aba5098c0ab44ca394ddb27538 /fs | |
parent | 0e3d4373b8a7757a8f5187f5cabafb6aceff469b (diff) | |
download | linux-bbd234b146a158ae59da0592c1598336db63b0fc.tar.xz |
powerpc/pci: Change the DECLARE_PCI_FIXUP_{HEADER => EARLY} macro of pci quirk
Freescale platform has class code = 0x0b2000, when it boots. This makes
kernel PCI bus code to setup these devices resulting into the following
notice information when trying to enable them:
pci 0000:00:00.0: ignoring class 0x0b2000 (doesn't match header type 01)
The above information is outputted by judging value of dev->class before
pci_setup_device() function, and the DECLARE_PCI_FIXUP_HEADER quirk runs
after pci_setup_device() function. But the DECLARE_PCI_FIXUP_EARLY quirk
runs before judging value of dev->class and pci_setup_device() function.
So we use the DECLARE_PCI_FIXUP_EARLY macro to fix this issue.
Signed-off-by: Chunhe Lan <Chunhe.Lan@freescale.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions