2003-02-14 17:17:14

by Toplica Tanaskovic

[permalink] [raw]
Subject: [PATCH] 2.4.18 KT400 support


Here is the patch that adds complete support for Via KT400 chipsets for
2.4.18 kernel
Don't forget to update yours pci.ids, before applying this patch don't forget
to update your pci.ids to the latest version.
--
Pozdrav,
Tanasković Toplica



Attachments:
(No filename) (253.00 B)
KT400.diff (3.00 kB)
Download all attachments

2003-02-14 17:35:57

by Dave Jones

[permalink] [raw]
Subject: Re: [PATCH] 2.4.18 KT400 support

On Fri, Feb 14, 2003 at 06:25:52PM +0100, Toplica Tanaskovic wrote:

> Here is the patch that adds complete support for Via KT400 chipsets for
> 2.4.18 kernel

Not complete. This will only work if you have an AGP2.0 card.
There is no code here to setup the bridge in AGP3.0 mode, or handling
what happens when it sees a x8 card. Fully working code is present in
2.5.60-bk if you have time to backport it (hint: I don't right now)

> Don't forget to update yours pci.ids, before applying this patch don't forget
> to update your pci.ids to the latest version.

Has no relevance to the patch. pci.ids is only used by pciutils, and
should not affect behaviour of this agp/ide patch.

Also..

> + { PCI_DEVICE_ID_VIA_8377_0,
> + PCI_VENDOR_ID_VIA,
> + VIA_APOLLO_KT400,
> + "Via",

Should be capitalised 'VIA'.

> --- orig/linux/drivers/ide/via82cxxx.c Wed Mar 27 13:57:19 2002
> +++ linux/drivers/ide/via82cxxx.c Tue Feb 11 22:39:28 2003
> @@ -105,8 +105,8 @@
> } via_isa_bridges[] = {
> #ifdef FUTURE_BRIDGES
> { "vt8237", PCI_DEVICE_ID_VIA_8237, 0x00, 0x2f, VIA_UDMA_133 },
> - { "vt8235", PCI_DEVICE_ID_VIA_8235, 0x00, 0x2f, VIA_UDMA_133 },
> #endif
> + { "vt8235", PCI_DEVICE_ID_VIA_8235, 0x00, 0x2f, VIA_UDMA_133 },

Already in 2.4-bk

Dave

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs