linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arne Brutschy <abrutschy@xylon.de>
To: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] ide driver 2.4.21-rc6
Date: Mon, 2 Jun 2003 20:51:53 +0200	[thread overview]
Message-ID: <515243431.20030602205153@xylon.de> (raw)

Using the Promise 20276 IDE controller without raid function
doesn't work with 2.4.21*.

If you want to use the IDE controller just as plain controller without
Promise software raid (i.e. if you prefer to trust the linux software
raid), the kernel always reports this:

PDC20276: IDE controller at PCI slot 02:02.0
PDC20276: chipset revision 1
PDC20276: not 100% native mode: will probe irqs later
PDC20276: neither IDE port enabled (BIOS)

Afterwards, the kernel disables the controller. This has been reported
by serveral other users. This small patch solves the problem.

Arne


--- linux-2.4.21-rc6/drivers/ide/setup-pci.c.orig       2003-06-01 11:38:23.000000000 +0200
+++ linux-2.4.21-rc6/drivers/ide/setup-pci.c    2003-06-01 11:40:12.000000000 +0200
@@ -640,7 +640,8 @@
                 */
                if (((d->vendor == PCI_VENDOR_ID_PROMISE) &&
                     ((d->device == PCI_DEVICE_ID_PROMISE_20262) ||
-                     (d->device == PCI_DEVICE_ID_PROMISE_20265))) &&
+                     (d->device == PCI_DEVICE_ID_PROMISE_20265) ||
+                     (d->device == PCI_DEVICE_ID_PROMISE_20276))) &&
                    (secondpdc++==1) && (port==1))
                        goto controller_ok;


             reply	other threads:[~2003-06-02 18:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-02 18:51 Arne Brutschy [this message]
2003-06-02 19:41 ` [PATCH] ide driver 2.4.21-rc6 Bartlomiej Zolnierkiewicz
2003-06-03 13:22   ` Re[2]: " Arne Brutschy
2003-06-03 23:49     ` Bartlomiej Zolnierkiewicz
2003-06-26 22:01       ` Re[4]: " Arne Brutschy

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=515243431.20030602205153@xylon.de \
    --to=abrutschy@xylon.de \
    --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;
as well as URLs for NNTP newsgroup(s).