[PATCH] via82cxxx.c fix for "unknown partition table"...

From: Bartlomiej Zolnierkiewicz (dake@staszic.waw.pl)
Date: Sat May 27 2000 - 12:52:43 EST


REAL "brown paper bag" style :)
Do I have a chance for "patch of the month" award :)

Fixes problem with "hdc: unknown partition table" and VIA82CXXX_TUNING
enabled. This patch is against 2.4.0-test1-ac2, but should also apply to
2.2.15+ide.

--- linux.240t1ac2/drivers/ide/via82cxxx.c.orig Sat May 27 02:55:32 2000
+++ linux.240t1ac2/drivers/ide/via82cxxx.c Sat May 27 19:29:37 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;

--
Bartlomiej Zolnierkiewicz <bkz>

- 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:18 EST