public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Rex Tsai <chihchun@kalug.linux.org.tw>
To: linux-kernel@vger.kernel.org, "Kevin P. Fleming" <kevin@labsysgrp.com>
Subject: [PATCH] Lost interrupt with HPT372A patch
Date: Thu, 11 Apr 2002 09:15:54 +0800	[thread overview]
Message-ID: <3CB4E3CA.7D108CBB@kalug.linux.org.tw> (raw)

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



                 reply	other threads:[~2002-04-11  1:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CB4E3CA.7D108CBB@kalug.linux.org.tw \
    --to=chihchun@kalug.linux.org.tw \
    --cc=kevin@labsysgrp.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox