Patchwork starfire: use PCI_VDEVICE

login
register
mail settings
Submitter Akinobu Mita
Date Aug. 28, 2010, 5:08 a.m.
Message ID <1282972116-9941-1-git-send-email-akinobu.mita@gmail.com>
Download mbox | patch
Permalink /patch/62892/
State Accepted
Delegated to: David Miller
Headers show

Comments

Akinobu Mita - Aug. 28, 2010, 5:08 a.m.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Ion Badulescu <ionut@badula.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
---
 drivers/net/starfire.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
David Miller - Aug. 28, 2010, 10:37 p.m.
From: Akinobu Mita <akinobu.mita@gmail.com>
Date: Sat, 28 Aug 2010 14:08:36 +0900

> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
> Cc: Ion Badulescu <ionut@badula.org>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: netdev@vger.kernel.org

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/net/starfire.c b/drivers/net/starfire.c
index a42b687..26c3634 100644
--- a/drivers/net/starfire.c
+++ b/drivers/net/starfire.c
@@ -302,7 +302,7 @@  enum chipset {
 };
 
 static DEFINE_PCI_DEVICE_TABLE(starfire_pci_tbl) = {
-	{ 0x9004, 0x6915, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CH_6915 },
+	{ PCI_VDEVICE(ADAPTEC, 0x6915), CH_6915 },
 	{ 0, }
 };
 MODULE_DEVICE_TABLE(pci, starfire_pci_tbl);