Messages in this thread Patch in this message | | | From | (Peter Hunter) | Subject | Patch to PCI stuff for Intergraphics VGA card | Date | 8 Jan 1997 12:26:21 GMT |
| |
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
| |