Re: [PATCH 2.2.15+IDE] via82cxxx.c fix for "unknown partition table"...

From: Matthias Andree (ma@dt.e-technik.uni-dortmund.de)
Date: Mon May 29 2000 - 18:09:35 EST


Bartlomiej Zolnierkiewicz <dake@staszic.waw.pl> writes:

> Fixes problem with "hdc: unknown partition table" and VIA82CXXX_TUNING
> enabled.

Works for me, though I did not really look at the code. Thank you!

> This patch is against 2.4.0-test1-ac2, but should also apply to
> 2.2.15+ide.

No, it does not without hassle (it's drivers/block, not drivers/ide, in
2.2). Patch for 2.2.15+ide attached.

cd to /usr/src/linux, then APPLY WITH patch -p0

diff -u drivers/block/via82cxxx.c.orig drivers/block/via82cxxx.c
--- drivers/block/via82cxxx.c.orig Tue May 30 01:06:09 2000
+++ drivers/block/via82cxxx.c Tue May 30 01:08:29 2000
@@ -101,14 +101,14 @@
 struct chipset_bus_clock_list_entry {
        byte xfer_speed;
 
- byte chipset_settings_25;
        byte ultra_settings_25;
- byte chipset_settings_33;
+ byte chipset_settings_25;
        byte ultra_settings_33;
- byte chipset_settings_37;
+ byte chipset_settings_33;
        byte ultra_settings_37;
- byte chipset_settings_41;
+ byte chipset_settings_37;
        byte ultra_settings_41;
+ byte chipset_settings_41;
 };
 
 static struct chipset_bus_clock_list_entry * via82cxxx_table = NULL;

-- 
Matthias Andree

Where do you think you're going today?

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



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:22 EST