[PATCH] HPT374 kernel panic - regression in 2.6.8

From: Jindrich Makovicka
Date: Sat Aug 14 2004 - 06:15:58 EST


Hello,

HighPoint 374 driver in 2.6.8 can cause kernel panic on boot with non-33MHz timings because some lines from an older version have been included in the source again. After removing the check, HPT374 works just fine using internal PLL.

--- old/hpt366.c 2004-08-14 13:06:12.000000000 +0200
+++ new/hpt366.c 2004-08-14 12:59:25.000000000 +0200
@@ -991,11 +991,6 @@
if (pci_get_drvdata(dev))
goto init_hpt37X_done;

- if (hpt_minimum_revision(dev,8))
- {
- printk(KERN_ERR "HPT374: Only 33MHz PCI timings are supported.\n");
- return -EOPNOTSUPP;
- }
/*
* adjust PLL based upon PCI clock, enable it, and wait for
* stabilization.

Regards,
--
Jindrich Makovicka
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/