From patchwork Tue Jan 5 17:47:45 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Barnes X-Patchwork-Id: 71078 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o05Hkv1V022395 for ; Tue, 5 Jan 2010 17:47:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754317Ab0AERrs (ORCPT ); Tue, 5 Jan 2010 12:47:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754837Ab0AERrs (ORCPT ); Tue, 5 Jan 2010 12:47:48 -0500 Received: from outbound-mail-119.bluehost.com ([69.89.22.19]:57080 "HELO outbound-mail-119.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754317Ab0AERrr convert rfc822-to-8bit (ORCPT ); Tue, 5 Jan 2010 12:47:47 -0500 Received: (qmail 7111 invoked by uid 0); 5 Jan 2010 17:47:46 -0000 Received: from unknown (HELO box514.bluehost.com) (74.220.219.114) by outboundproxy3.bluehost.com with SMTP; 5 Jan 2010 17:47:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=virtuousgeek.org; h=Received:Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding:X-Identified-User; b=fUdOMQ6omVoLyHrNIdcmZVk8BtI7FOp1XHJ4tl0t5A6KRIV+5n4LI5+X5fWi2pQJuYK7+m0Tcv6esZ0r1Db/Gh1TB0RVTySmsJ1DPwKUVi4O+2NxnjzZX5WqVypwpbMf; Received: from [75.111.28.251] (helo=jbarnes-piketon) by box514.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1NSDVS-0006PM-BI; Tue, 05 Jan 2010 10:47:46 -0700 Date: Tue, 5 Jan 2010 09:47:45 -0800 From: Jesse Barnes To: klaas de waal Cc: linux-pci@vger.kernel.org Subject: Re: MSI problem with ethernet on Asus P5GC mobo Message-ID: <20100105094745.06e854e6@jbarnes-piketon> In-Reply-To: <7b41dd970912260213m637603d7w1c396d2aa3ba5181@mail.gmail.com> References: <7b41dd970912260213m637603d7w1c396d2aa3ba5181@mail.gmail.com> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.18.3; x86_64-pc-linux-gnu) Mime-Version: 1.0 X-Identified-User: {10642:box514.bluehost.com:virtuous:virtuousgeek.org} {sentby:smtp auth 75.111.28.251 authed with jbarnes@virtuousgeek.org} Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index c746943..922f0a6 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -2203,6 +2203,22 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NVENET_15, nvenet_msi_disable); +/* + * On Asus P5GC, the Realtek NIC driver fails if MSI is enabled. This could + * be a chipset problem or a NIC hw problem. Just disable the NIC for now. + */ +static void __devinit asus_realtek_msi_disable(struct pci_dev *dev) +{ + if (dmi_name_in_vendors("ASUS P5GC")) { + dev_info(&dev->dev, + "Disabling MSI for Realtek NIC on P5GC\n"); + dev->no_msi = 1; + } +} +DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_REALTEK, + PCI_DEVICE_ID_REALTEK_8139, + asus_realtek_msi_disable); + static int __devinit ht_check_msi_mapping(struct pci_dev *dev) { int pos, ttl = 48;