]>
Commit | Line | Data |
---|---|---|
2cb7cef9 BS |
1 | From: Stefan Assmann <sassmann@novell.com> |
2 | Subject: PCI: AMD 813x B2 devices do not need quirk | |
3 | References: bnc#477675 | |
4 | Patch-mainline: 2.6.30 | |
5 | ||
6 | Turns out that the new AMD 813x devices do not need the | |
7 | quirk_disable_amd_813x_boot_interrupt quirk to be run on them, if it is, | |
8 | no interrupts are seen on the PCI-X adapter. | |
9 | ||
10 | From: Stefan Assmann <sassmann@novell.com> | |
11 | Reported-by: Jamie Wellnitz <Jamie.Wellnitz@emulex.com> | |
12 | Tested-by: Jamie Wellnitz <Jamie.Wellnitz@emulex.com> | |
13 | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> | |
14 | ||
15 | --- | |
16 | drivers/pci/quirks.c | 3 +++ | |
17 | 1 file changed, 3 insertions(+) | |
18 | ||
19 | --- a/drivers/pci/quirks.c | |
20 | +++ b/drivers/pci/quirks.c | |
21 | @@ -1509,6 +1509,7 @@ DECLARE_PCI_FIXUP_RESUME(PCI_VENDOR_ID_S | |
22 | */ | |
23 | #define AMD_813X_MISC 0x40 | |
24 | #define AMD_813X_NOIOAMODE (1<<0) | |
25 | +#define AMD_813X_REV_B2 0x13 | |
26 | ||
27 | static void quirk_disable_amd_813x_boot_interrupt(struct pci_dev *dev) | |
28 | { | |
29 | @@ -1516,6 +1517,8 @@ static void quirk_disable_amd_813x_boot_ | |
30 | ||
31 | if (noioapicquirk) | |
32 | return; | |
33 | + if (dev->revision == AMD_813X_REV_B2) | |
34 | + return; | |
35 | ||
36 | pci_read_config_dword(dev, AMD_813X_MISC, &pci_config_dword); | |
37 | pci_config_dword &= ~AMD_813X_NOIOAMODE; |