[lkml]   [2002]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectHPT372 on KR7A-RAID

Hi there,

The HPT chipset on the KR7A-RAID is not detected. It comes through with a
revision 5, which crashes the Kernel (panic) on 2.4.16. The patch below
adds the revision for the HPT372 chipset which is the relevant one,
however this will break again when a new revision comes out. I would like
to be able to print a warning if the revision is higher than the one in
the array and if it is allow a parameter to fake the chipset as being a
lower one (at the users risk), but quite frankly my Kernel programming is
not that good!!

I don't know if this has been fixed in 2.4.17/18, if it has...sorry! :-)

--- linux-2.4.16/drivers/ide/hpt366.c Wed Feb 20 10:35:25 2002
+++ linux/drivers/ide/hpt366.c Wed Feb 20 10:37:37 2002
@@ -207,7 +207,7 @@
char *p = buffer;
u32 bibma = bmide_dev->resource[4].start;
u32 bibma2 = bmide2_dev->resource[4].start;
- char *chipset_names[] = {"HPT366", "HPT366", "HPT368", "HPT370", "HPT370A"};
+ char *chipset_names[] = {"HPT366", "HPT366", "HPT368", "HPT370", "HPT370A", "HPT372"};
u8 c0 = 0, c1 = 0;
u32 class_rev;

--- linux-2.4.16/drivers/ide/ide-pci.c Wed Feb 20 10:35:25 2002
+++ linux/drivers/ide/ide-pci.c Wed Feb 20 10:37:22 2002
@@ -828,7 +828,7 @@
ide_pci_device_t *d2;
unsigned char pin1 = 0, pin2 = 0;
unsigned int class_rev;
- char *chipset_names[] = {"HPT366", "HPT366", "HPT368", "HPT370", "HPT370A"};
+ char *chipset_names[] = {"HPT366", "HPT366", "HPT368", "HPT370", "HPT370A", "HPT372"};

if (PCI_FUNC(dev->devfn) & 1)

Andy Jeffries
Linux/PHP Programmer

- Windows Crash HOWTO: compile the code below in VC++ and run it!
main (){for(;;){printf("Hung up\t\b\b\b\b\b\b");}}
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2005-03-22 13:18    [W:0.089 / U:4.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site