lkml.org 
[lkml]   [2002]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Lost interrupt with HPT372A patch
Hi, I have a HighPoint RocketRAID 133 host adapter
with HPT372A chipset. (firmware revision is 2.31)

When booting with 2.4.19-pre5-ac3, I get "hde lost interrupt".
My HD drive is

hde: ST380021A, ATA DISK drive
hde: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63

The patch below turned out the problem.

--- linux/drivers/ide/hpt366.c.old Thu Apr 11 08:50:45 2002
+++ linux/drivers/ide/hpt366.c Thu Apr 11 08:57:18 2002
@@ -1326,7 +1326,11 @@
int adjust, i;
u16 freq;
u32 pll;
- byte reg5bh;
+ byte reg5bh, reg5ah;
+
+ /* turn on interrupts */
+ pci_read_config_byte(dev, 0x5a, &reg5ah);
+ pci_write_config_byte(dev, 0x5a, ( reg5ah & ~0x10));

/*
* default to pci clock. make sure MA15/16 are set to output
-Rex

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

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:1.033 / U:0.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site