Re: vt8235 fix, hopefully last variant

Patrick Petermair (black666@inode.at)
Fri, 20 Dec 2002 21:12:58 +0100


Hi!

Sorry for not replying this week, but I was not at home...now back to
business:

I tried the last patch, but it didn't work - I got Hunk messages:

starbase:/usr/src/linux-2.4.20# patch -p1 < vt8235-atapi
patching file drivers/ide/via82cxxx.c
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 141.
Hunk #3 succeeded at 283 (offset -57 lines).
2 out of 3 hunks FAILED -- saving rejects to file
drivers/ide/via82cxxx.c.rej
starbase:/usr/src/linux-2.4.20# cat drivers/ide/via82cxxx.c.rej
***************
*** 1,16 ****
/*
- * $Id: via82cxxx.c,v 3.35-ac2 2002/09/111 Alan Exp $
- *
- * Copyright (c) 2000-2001 Vojtech Pavlik
- *
- * Based on the work of:
- * Michel Aubry
- * Jeff Garzik
- * Andre Hedrick
- */
-
- /*
- * Version 3.35
*
* VIA IDE driver for Linux. Supported southbridges:
*
--- 1,5 ----
/*
+ * Version 3.36
*
* VIA IDE driver for Linux. Supported southbridges:
*
***************
*** 152,158 ****
via_print("----------VIA BusMastering IDE Configuration"
"----------------");

- via_print("Driver Version: 3.35-ac");
via_print("South Bridge: VIA %s",
via_config->name);

--- 141,147 ----
via_print("----------VIA BusMastering IDE Configuration"
"----------------");

+ via_print("Driver Version: 3.36");
via_print("South Bridge: VIA %s",
via_config->name);

starbase:/usr/src/linux-2.4.20#

MSI KT3Ultra2, TOSHIBA DVD-ROM SD-M1302
So far my kernel is running your first patch and it works fine. Would
love to get the final patch running too, but I don't know what that
messages in via82cxxx.c.rej mean and how to modify the patch so that it
works - ah, btw: I tried to apply it to a clean 2.4.20 kernel source.

Thanks so far for your great work.

Patrick

-
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/