| From e4146bb9088c01c8b6e82be11f0c371f8aff023c Mon Sep 17 00:00:00 2001 |
| From: Ben Hutchings <ben@decadent.org.uk> |
| Date: Sun, 16 May 2010 02:28:49 +0100 |
| Subject: PCI: Disable MSI for MCP55 on P5N32-E SLI |
| |
| From: Ben Hutchings <ben@decadent.org.uk> |
| |
| commit e4146bb9088c01c8b6e82be11f0c371f8aff023c upstream. |
| |
| As reported in <http://bugs.debian.org/552299>, MSI appears to be |
| broken for this on-board device. We already have a quirk for the |
| P5N32-SLI Premium; extend it to cover both variants of the board. |
| |
| Reported-by: Romain DEGEZ <romain.degez@smartjog.com> |
| Signed-off-by: Ben Hutchings <ben@decadent.org.uk> |
| Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
| |
| --- |
| drivers/pci/quirks.c | 7 ++++--- |
| 1 file changed, 4 insertions(+), 3 deletions(-) |
| |
| --- a/drivers/pci/quirks.c |
| +++ b/drivers/pci/quirks.c |
| @@ -2185,15 +2185,16 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_S |
| DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_8132_BRIDGE, |
| ht_enable_msi_mapping); |
| |
| -/* The P5N32-SLI Premium motherboard from Asus has a problem with msi |
| +/* The P5N32-SLI motherboards from Asus have a problem with msi |
| * for the MCP55 NIC. It is not yet determined whether the msi problem |
| * also affects other devices. As for now, turn off msi for this device. |
| */ |
| static void __devinit nvenet_msi_disable(struct pci_dev *dev) |
| { |
| - if (dmi_name_in_vendors("P5N32-SLI PREMIUM")) { |
| + if (dmi_name_in_vendors("P5N32-SLI PREMIUM") || |
| + dmi_name_in_vendors("P5N32-E SLI")) { |
| dev_info(&dev->dev, |
| - "Disabling msi for MCP55 NIC on P5N32-SLI Premium\n"); |
| + "Disabling msi for MCP55 NIC on P5N32-SLI\n"); |
| dev->no_msi = 1; |
| } |
| } |