[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: UDMA Problem mit VIA KT333 Chipsatz



Am Sonntag, 15. Dezember 2002 17:10 schrieb Adrian Bunk:
> On Sun, Dec 15, 2002 at 05:02:25PM +0100, Gil Breth wrote:
> > Das Mainboard hat Letzteren Chip, also den vt8235, dann muss sich wohl
> > den 2.4.20 nun kompilieren, oder gibt es auch einen Patch für den 2.4.19?
>
> Probiere es mit dem Patch unten in dieser Mail.
>
> > Gruß
> > 	Gil
>
> Gruss
> Adrian
>
>
> --- linux-2.4.19/drivers/ide/via82cxxx.c	2002-08-03 00:39:44.000000000
> +0000 +++ linux-2.4.20/drivers/ide/via82cxxx.c	2002-11-26
> 12:25:19.000000000 +0000 @@ -92,6 +55,10 @@
>  #define VIA_NO_UNMASK		0x080	/* Doesn't work with IRQ unmasking on */
>  #define VIA_BAD_ID		0x100	/* Has wrong vendor ID (0x1107) */
>
> +#ifndef PCI_DEVICE_ID_VIA_8235
> +#define PCI_DEVICE_ID_VIA_8235 0x3177
> +#endif
> +
>  /*
>   * VIA SouthBridge chips.
>   */
> @@ -105,8 +72,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 },
>  	{ "vt8233a",	PCI_DEVICE_ID_VIA_8233A,    0x00, 0x2f, VIA_UDMA_133 },
>  	{ "vt8233c",	PCI_DEVICE_ID_VIA_8233C_0,  0x00, 0x2f, VIA_UDMA_100 },
>  	{ "vt8233",	PCI_DEVICE_ID_VIA_8233_0,   0x00, 0x2f, VIA_UDMA_100 },
> @@ -163,7 +130,7 @@
>
>  	via_print("----------VIA BusMastering IDE
> Configuration----------------");
>
> -	via_print("Driver Version:                     3.34");
> +	via_print("Driver Version:                     3.35");
>  	via_print("South Bridge:                       VIA %s",
> via_config->name);
>
>  	pci_read_config_byte(isa_dev, PCI_REVISION_ID, &t);


sorry für die Frage, aber wie spielt man ein Patch für den Kernel ein ;-)

Gruß
	Gil



Reply to: