public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Lost interrupt with HPT372A patch
@ 2002-04-11  1:15 Rex Tsai
  0 siblings, 0 replies; only message in thread
From: Rex Tsai @ 2002-04-11  1:15 UTC (permalink / raw)
  To: linux-kernel, Kevin P. Fleming

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-04-11  1:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-11  1:15 [PATCH] Lost interrupt with HPT372A patch Rex Tsai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox