Messages in this thread | | | Date | Mon, 14 Aug 2000 01:27:29 +0200 | From | Michael Meding <> | Subject | [PATCH] to get AGP working and DRI working on KT-133 and KX-133 2.4.0-test6 was :Re: Is there any interest to get KX-133, KT-133 AGP support intothe kernel ? |
| |
Hi All,
here is a patch I made to get AGP and DRI working with kernel 2.4.0-test6. It should work with the KX-133 also, though I haven't checked that. It does work on my KT-133 based MSI 6330, I have checked that with AGPsupport compiled in and MGA compiled in.
Can somebody look into that for the KX-133 ?
Oh, and I am a beginner when it comes to using diff, hopefully I made everything correct :-) (I did a diff -r olddirectory newdirectory >&VIAKT133Patch is this correct by the way?).
Regards
Michael Medingdiff -r linux-2.4.0-test6/drivers/char/agp/agp.h /usr/src/linux-2.4.0-test6/drivers/char/agp/agp.h 159a160,171 > #ifndef PCI_DEVICE_ID_VIA_8371_0 > #define PCI_DEVICE_ID_VIA_8371_0 0x0391 > #endif > #ifndef PCI_DEVICE_ID_VIA_8371_1 > #define PCI_DEVICE_ID_VIA_8371_1 0x8391 > #endif > #ifndef PCI_DEVICE_ID_VIA_8363_0 > #define PCI_DEVICE_ID_VIA_8363_0 0x0305 > #endif > #ifndef PCI_DEVICE_ID_VIA_8363_1 > #define PCI_DEVICE_ID_VIA_8363_1 0x8305 > #endif diff -r linux-2.4.0-test6/drivers/char/agp/agpgart_be.c /usr/src/linux-2.4.0-test6/drivers/char/agp/agpgart_be.c 416c416 < * i810, 440lx, 440bx, 440gx, via vp3, via mvp3, --- > * i810, 440lx, 440bx, 440gx, via vp3, via mvp3, via kx133, via kt133, 2132c2132 < VIA_APOLLO_SUPER, --- > VIA_APOLLO_KXPRO, 2134c2134,2140 < "Apollo Super", --- > "Apollo Kx133", > via_generic_setup }, > { PCI_DEVICE_ID_VIA_8363_0, > PCI_VENDOR_ID_VIA, > VIA_APOLLO_KTPRO, > "Via", > "Apollo Kt133", diff -r linux-2.4.0-test6/drivers/char/drm/agpsupport.c /usr/src/linux-2.4.0-test6/drivers/char/drm/agpsupport.c 312c312,313 < case VIA_APOLLO_SUPER: head->chipset = "VIA Apollo Super"; --- > case VIA_APOLLO_KTPRO: head->chipset = "VIA Apollo Kt133"; > case VIA_APOLLO_KXPRO: head->chipset = "VIA Apollo Kx133"; diff -r linux-2.4.0-test6/drivers/pci/pci.ids /usr/src/linux-2.4.0-test6/drivers/pci/pci.ids 1967c1967 < 8305 VT8365 [KM133 AGP] --- > 8305 VT8305 [KM133 AGP] diff -r linux-2.4.0-test6/include/linux/agp_backend.h /usr/src/linux-2.4.0-test6/include/linux/agp_backend.h 53c53,54 < VIA_APOLLO_SUPER, --- > VIA_APOLLO_KXPRO, > VIA_APOLLO_KTPRO,
| |