lkml.org 
[lkml]   [1997]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectPatch to PCI stuff for Intergraphics VGA card
Date
It has been mentioned on the list that the email address for
amendments to the PCI stuff appears to be a fancy equivalent of
/dev/null. Someone else said that we should take matters into our own
hands and post patches ourselves...

Anyway, here is a patch to add my graphics card. Can people let me
know if this is all that is required? If not, tell me what more needs
to be done, and I will do it.

This is my first kernel patch, and I don't think I've done anything
stupid, but if I have, please let me know gently. :-)

Yours,

Peter


diff -u -r linux-2.0.27/drivers/pci/pci.c linux-2.0.27.patched/drivers/pci/pci.c
--- linux-2.0.27/drivers/pci/pci.c Mon Nov 25 08:45:48 1996
+++ linux-2.0.27.patched/drivers/pci/pci.c Wed Jan 8 11:43:11 1997
@@ -162,6 +162,7 @@
DEVICE( TEKRAM2, TEKRAM2_690c, "DC690c"),
DEVICE( AMCC, AMCC_MYRINET, "Myrinet PCI (M2-PCI-32)"),
DEVICE( INTERG, INTERG_1680, "IGA-1680"),
+ DEVICE( INTERG, INTERG_1682, "IGA-1682"),
DEVICE( REALTEK, REALTEK_8029, "8029"),
DEVICE( INIT, INIT_320P, "320 P"),
DEVICE( VIA, VIA_82C505, "VT 82C505"),
diff -u -r linux-2.0.27/include/linux/pci.h linux-2.0.27.patched/include/linux/pci.h
--- linux-2.0.27/include/linux/pci.h Mon Nov 25 08:45:50 1996
+++ linux-2.0.27.patched/include/linux/pci.h Wed Jan 8 11:42:06 1997
@@ -439,6 +439,7 @@

#define PCI_VENDOR_ID_INTERG 0x10ea
#define PCI_DEVICE_ID_INTERG_1680 0x1680
+#define PCI_DEVICE_ID_INTERG_1682 0x1682

#define PCI_VENDOR_ID_REALTEK 0x10ec
#define PCI_DEVICE_ID_REALTEK_8029 0x8029


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:1.889 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site