From: Konstantin Volckov <goldhead@altlinux.ru>
To: Andre Hedrick <andre@linux-ide.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Patch for Promise PDC20267 FastTrack100 Controller
Date: Fri, 1 Jun 2001 09:08:46 +0400 [thread overview]
Message-ID: <20010601090846.13490f6f.goldhead@altlinux.ru> (raw)
[-- Attachment #1: Type: text/plain, Size: 265 bytes --]
Hi!
I've found that 2.4.5-ac kernels can't detect hdd's connected to
FastTrack100 Promise controller, but Ultra100 works fine. Here is the
patch, that solve this problem.
Controllers tested - FastTrack100, Ultra100. Kernel - 2.4.5-ac4.
--
Good luck,
Konstantin
[-- Attachment #2: linux-2.4.4-ac10-promise.patch --]
[-- Type: application/octet-stream, Size: 482 bytes --]
--- linux/drivers/ide/ide-pci.c_old Thu May 17 22:16:15 2001
+++ linux/drivers/ide/ide-pci.c Thu May 17 22:10:43 2001
@@ -655,6 +655,9 @@
if ((IDE_PCI_DEVID_EQ(d->devid, DEVID_PDC20265)) && (secondpdc++==1) && (port==1) )
goto controller_ok;
+ if (IDE_PCI_DEVID_EQ(d->devid, DEVID_PDC20267))
+ goto controller_ok;
+
if (e->reg && (pci_read_config_byte(dev, e->reg, &tmp) || (tmp & e->mask) != e->val))
continue; /* port not enabled */
controller_ok:
reply other threads:[~2001-06-01 5:08 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=20010601090846.13490f6f.goldhead@altlinux.ru \
--to=goldhead@altlinux.ru \
--cc=andre@linux-ide.org \
--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