netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.6.7-rc3-mm2 1/5] via-velocity: PCI ID move
@ 2004-06-18 20:10 Francois Romieu
  2004-06-18 20:11 ` [PATCH 2.6.7-rc3-mm2 2/5] via-velocity: uniformize use of OWNED_BY_NIC Francois Romieu
       [not found] ` <40D4AA3C.4090606@pobox.com>
  0 siblings, 2 replies; 9+ messages in thread
From: Francois Romieu @ 2004-06-18 20:10 UTC (permalink / raw)
  To: netdev; +Cc: alan, akpm, jgarzik

(Note: this serie requires a -mm based kernel as the via-velocity patches
are not included in Jeff's -netdev patches).



PCI ID moved from the driver to the kernel database. A change for the
pci.ids file project at souceforge has been submitted as well.

diff -puN drivers/net/via-velocity.c~via-velocity-20 drivers/net/via-velocity.c
--- linux-2.6.7-rc3/drivers/net/via-velocity.c~via-velocity-20	2004-06-18 21:24:53.000000000 +0200
+++ linux-2.6.7-rc3-fr/drivers/net/via-velocity.c	2004-06-18 21:32:01.000000000 +0200
@@ -290,8 +290,9 @@ static struct velocity_info_tbl chip_inf
  */
 
 static struct pci_device_id velocity_id_table[] __devinitdata = {
-	{0x1106, 0x3119, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (unsigned long) &chip_info_table[0]},
-	{0,}
+	{PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_612X,
+	 PCI_ANY_ID, PCI_ANY_ID, 0, 0, (unsigned long) chip_info_table},
+	{0, }
 };
 
 MODULE_DEVICE_TABLE(pci, velocity_id_table);
diff -puN include/linux/pci_ids.h~via-velocity-20 include/linux/pci_ids.h
--- linux-2.6.7-rc3/include/linux/pci_ids.h~via-velocity-20	2004-06-18 21:24:53.000000000 +0200
+++ linux-2.6.7-rc3-fr/include/linux/pci_ids.h	2004-06-18 21:24:53.000000000 +0200
@@ -1214,6 +1214,7 @@
 #define PCI_DEVICE_ID_VIA_8233C_0	0x3109
 #define PCI_DEVICE_ID_VIA_8361		0x3112
 #define PCI_DEVICE_ID_VIA_XM266		0x3116
+#define PCI_DEVICE_ID_VIA_612X		0x3119
 #define PCI_DEVICE_ID_VIA_862X_0	0x3123
 #define PCI_DEVICE_ID_VIA_8753_0	0x3128
 #define PCI_DEVICE_ID_VIA_8233A		0x3147
diff -puN drivers/net/via-velocity.h~via-velocity-20 drivers/net/via-velocity.h
--- linux-2.6.7-rc3/drivers/net/via-velocity.h~via-velocity-20	2004-06-18 21:24:53.000000000 +0200
+++ linux-2.6.7-rc3-fr/drivers/net/via-velocity.h	2004-06-18 21:32:00.000000000 +0200
@@ -37,7 +37,6 @@
 #define OPTION_DEFAULT      { [0 ... MAX_UNITS-1] = -1}
 
 #define REV_ID_VT6110       (0)
-#define DEVICE_ID           (0x3119)
 
 #define BYTE_REG_BITS_ON(x,p)       do { writeb(readb((p))|(x),(p));} while (0)
 #define WORD_REG_BITS_ON(x,p)       do { writew(readw((p))|(x),(p));} while (0)

_

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-06-20  8:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-18 20:10 [PATCH 2.6.7-rc3-mm2 1/5] via-velocity: PCI ID move Francois Romieu
2004-06-18 20:11 ` [PATCH 2.6.7-rc3-mm2 2/5] via-velocity: uniformize use of OWNED_BY_NIC Francois Romieu
2004-06-18 20:13   ` [PATCH 2.6.7-rc3-mm2 3/5] via-velocity: velocity_receive_frame diets Francois Romieu
2004-06-18 20:14     ` [PATCH 2.6.7-rc3-mm2 4/5] via-velocity: Rx buffers allocation rework Francois Romieu
2004-06-18 20:16       ` [PATCH 2.6.7-rc3-mm2 5/5] via-velocity: Rx copybreak Francois Romieu
2004-06-18 20:34         ` Alan Cox
2004-06-18 21:02   ` [PATCH 2.6.7-rc3-mm2 2/5] via-velocity: uniformize use of OWNED_BY_NIC Jeff Garzik
2004-06-18 21:42     ` Francois Romieu
     [not found] ` <40D4AA3C.4090606@pobox.com>
2004-06-20  8:51   ` [PATCH 2.6.7-rc3-mm2 1/5] via-velocity: PCI ID move Francois Romieu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).