Re:[PATCH] [2.4] AGP Support for VIA KT400

Nicolas Mailhot (nicolas.mailhot@laposte.net)
Tue, 26 Nov 2002 14:41:44 +0100


--_=__=_XaM3_Boundary.1038318104.2A.329634.42.29009.52.42.101010.20248
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

> Hello,=0D=0A> =0D=0A> Here is a small patch to support agp for the VIA =
KT400=0D=0Anorthbridge. It's=0D=0A> against 2.4.20-rc3 and is based on N=
icolas Mailhot's patch=0D=0Afor 2.5 which=0D=0A> was included in 2.5.49. =
It adds the PCI id and registers=0D=0Athe VIA generic=0D=0A> setup routi=
ne for the chipset. I've tested it successfully=0D=0Aon a Gigabyte=0D=0A=
> GA-7VAXP (KT400) with a Radeon 7500 using DRI and various GL=0D=0Aapps/=
games. =0D=0A> If this has already been submitted, just ignore it -- but=
I=0D=0Ahadn't seen a=0D=0A> patch for 2.4 appear on lkml or the BitKeepe=
r site yet.=0D=0A> =0D=0A> Nicolas' patch for 2.5 on lkml:=0D=0A>=0D=0Aht=
tp://marc.theaimsgroup.com/?l=3Dlinux-kernel&m=3D103786946803970&w=3D2=0D=
=0A> =0D=0A> Bugzilla entry for 2.5 is here:=0D=0A> http://bugme.osdl.org=
/show_bug.cgi?id=3D14=0D=0A=0D=0AIn fact I've been cleaning up a bit the =
2.4 version before=0D=0Asubmitting it -- the entries for other VIA chips =
are a bit=0D=0Amore convoluted and I suspect the first patch is not as=0D=
=0Acomplete as it should be. In fact I think I'll post a 2.5=0D=0Afollowu=
p soon.=0D=0A=0D=0APlease do not apply the first patch and use this one i=
nstead.=0D=0AI didn't tested it myself (not enough time) but Johannes=0D=0A=
Winkelmann reports it as ok. It's pretty straightforward=0D=0Aanyway, jus=
t id lists all over the place.=0D=0A=0D=0ABest regards,=0D=0A=0D=0A-- =0D=
=0ANicolas Mailhot=0A=0AAcc=E9dez au courrier =E9lectronique de La Poste =
: www.laposte.net ;=0A3615 LAPOSTENET (0,13 =80/mn) ; t=E9l : 08 92 68 13=
50 (0,34=80/mn)"=0A=0A
--_=__=_XaM3_Boundary.1038318104.2A.329634.42.29009.52.42.101010.20248
Content-Type: application/octet-stream;
name="kt400-2.4.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="kt400-2.4.patch"

ZGlmZiAtdU5yIGxpbnV4LTIuNC4yMC1yYzMub3JpZy9kcml2ZXJzL2NoYXIvYWdwL2FncGdh
cnRfYmUuYyBsaW51eC0yLjQuMjAtcmMzL2RyaXZlcnMvY2hhci9hZ3AvYWdwZ2FydF9iZS5j
DQotLS0gbGludXgtMi40LjIwLXJjMy5vcmlnL2RyaXZlcnMvY2hhci9hZ3AvYWdwZ2FydF9i
ZS5jCTIwMDItMTEtMjUgMjE6Mjg6MTIuMDAwMDAwMDAwICswMTAwDQorKysgbGludXgtMi40
LjIwLXJjMy9kcml2ZXJzL2NoYXIvYWdwL2FncGdhcnRfYmUuYwkyMDAyLTExLTI1IDIxOjQ0
OjIyLjAwMDAwMDAwMCArMDEwMA0KQEAgLTQ3MTQsNiArNDcxNCwxMiBAQA0KIAkJIlZpYSIs
DQogCQkiQXBvbGxvIFBybyBLVDI2NiIsDQogCQl2aWFfZ2VuZXJpY19zZXR1cCB9LA0KKyAg
ICAgICAgeyBQQ0lfREVWSUNFX0lEX1ZJQV84Mzc3XzAsDQorCQlQQ0lfVkVORE9SX0lEX1ZJ
QSwNCisJCVZJQV9BUE9MTE9fS1Q0MDAsDQorCQkiVmlhIiwNCisJCSJBcG9sbG8gUHJvIEtU
NDAwIiwNCisJCXZpYV9nZW5lcmljX3NldHVwIH0sDQogCXsgMCwNCiAJCVBDSV9WRU5ET1Jf
SURfVklBLA0KIAkJVklBX0dFTkVSSUMsDQpkaWZmIC11TnIgbGludXgtMi40LjIwLXJjMy5v
cmlnL2RyaXZlcnMvY2hhci9kcm0vZHJtX2FncHN1cHBvcnQuaCBsaW51eC0yLjQuMjAtcmMz
L2RyaXZlcnMvY2hhci9kcm0vZHJtX2FncHN1c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OjIzLjAwMDAwMDAwMCArMDEwMA0KKysrIGxpbnV4LTIuNC4yMC1yYzMvaW5jbHVk
ZS9saW51eC9wY2lfaWRzLmgJMjAwMi0xMS0yNSAyMzozMjoyNi4wMDAwMDAwMDAgKzAxMDAN
CkBAIC05ODYsNyArOTg2LDggQEANCiAjZGVmaW5lIFBDSV9ERVZJQ0VfSURfVklBXzgyMzND
XzAJMHgzMTA5DQogI2RlZmluZSBQQ0lfREVWSUNFX0lEX1ZJQV84MzYxCQkweDMxMTINCiAj
ZGVmaW5lIFBDSV9ERVZJQ0VfSURfVklBXzgyMzNBCQkweDMxNDcNCisjZGVmaW5lIFBDSV9E
RVZJQ0VfSURfVklBXzgzNzdfMAkweDMxODkNCiAjZGVmaW5lIFBDSV9ERVZJQ0VfSURfVklB
Xzg2QzEwMEEJMHg2MTAwDQogI2RlZmluZSBQQ0lfREVWSUNFX0lEX1ZJQV84MjMxCQkweDgy
MzENCiAjZGVmaW5lIFBDSV9ERVZJQ0VfSURfVklBXzgyMzFfNAkweDgyMzUNCi0tLSBsaW51
eC0yLjQuMjAtcmMzL2luY2x1ZGUvbGludXgvYWdwX2JhY2tlbmQuaC5vcmlnCTIwMDItMTEt
MjYgMTA6MDk6MDkuMDAwMDAwMDAwICswMTAwDQorKysgbGludXgtMi40LjIwLXJjMy9pbmNs
dWRlL2xpbnV4L2FncF9iYWNrZW5kLmgJMjAwMi0xMS0yNiAxMDowOTo0MC4wMDAwMDAwMDAg
KzAxMDANCkBAIC02MCw2ICs2MCw3IEBADQogCVZJQV9BUE9MTE9fUFJPLA0KIAlWSUFfQVBP
TExPX0tYMTMzLA0KIAlWSUFfQVBPTExPX0tUMTMzLA0KKwlWSUFfQVBPTExPX0tUNDAwLA0K
IAlTSVNfR0VORVJJQywNCiAJQU1EX0dFTkVSSUMsDQogCUFNRF9JUk9OR0FURSw=

--_=__=_XaM3_Boundary.1038318104.2A.329634.42.29009.52.42.101010.20248--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/