From patchwork Sun Jun 27 21:21:19 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiri Slaby X-Patchwork-Id: 108275 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o5RLLttZ024258 for ; Sun, 27 Jun 2010 21:21:56 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755847Ab0F0VVn (ORCPT ); Sun, 27 Jun 2010 17:21:43 -0400 Received: from mail.pripojeni.net ([217.66.174.14]:60898 "EHLO mail.pripojeni.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1753265Ab0F0VVm (ORCPT ); Sun, 27 Jun 2010 17:21:42 -0400 Received: from bellona ([217.66.174.142]) by mail.pripojeni.net (Kerio Connect 7.0.0 patch 1); Sun, 27 Jun 2010 23:32:38 +0200 From: Jiri Slaby To: lenb@kernel.org Cc: linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, jirislaby@gmail.com, Jesse Barnes Subject: [PATCH 1/1] ACPI: pci_irq, add PRT_ quirk for IBM Bartolo Date: Sun, 27 Jun 2010 23:21:19 +0200 Message-Id: <1277673679-21458-1-git-send-email-jslaby@suse.cz> X-Mailer: git-send-email 1.7.1 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sun, 27 Jun 2010 21:21:56 +0000 (UTC) diff --git a/drivers/acpi/pci_irq.c b/drivers/acpi/pci_irq.c index e4804fb..8e054a4 100644 --- a/drivers/acpi/pci_irq.c +++ b/drivers/acpi/pci_irq.c @@ -125,6 +125,18 @@ static const struct dmi_system_id hp_t5710[] = { { } }; +/* https://bugzilla.novell.com/show_bug.cgi?id=595683 */ +static const struct dmi_system_id ibm_bartolo[] = { + { + .ident = "IBM Bartolo", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "IBM CORPORATION"), + DMI_MATCH(DMI_PRODUCT_NAME, "4810320"), + }, + }, + { } +}; + struct prt_quirk { const struct dmi_system_id *system; unsigned int segment; @@ -152,6 +164,9 @@ static const struct prt_quirk prt_quirks[] = { { hp_t5710, 0, 0, 1, PCI_INTX_PIN('A'), "\\_SB_.PCI0.LNK1", "\\_SB_.PCI0.LNK3"}, + { ibm_bartolo, 0, 0, 9, PCI_INTX_PIN('A'), + "\\_SB_.PCI0.PIB_.LNKB", + "\\_SB_.PCI0.PIB_.LNKC"}, }; static void do_prt_fixups(struct acpi_prt_entry *entry,