From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: jgarzik@pobox.com, linux-kernel@vger.kernel.org
Subject: PATCH: AMD pata fixes
Date: Sat, 19 Nov 2005 21:58:14 +0000 [thread overview]
Message-ID: <1132437495.19692.28.camel@localhost.localdomain> (raw)
I managed to send you the pata file versions before I did the last fix
(forgot to rsync them back off a build box). This corrects the obvious
problem for the AMD driver and fixes drive detection.
Signed-off-by: Alan Cox <alan@redhat.com>
diff -u --exclude-from /usr/src/exclude --new-file --recursive linux.vanilla-2.6.14-mm2/drivers/scsi/pata_amd.c linux-2.6.14-mm2/drivers/scsi/pata_amd.c
--- linux.vanilla-2.6.14-mm2/drivers/scsi/pata_amd.c 2005-11-19 17:28:03.000000000 +0000
+++ linux-2.6.14-mm2/drivers/scsi/pata_amd.c 2005-11-19 17:34:37.000000000 +0000
@@ -148,8 +148,8 @@
{
struct pci_dev *pdev = to_pci_dev(ap->host_set->dev);
static struct pci_bits amd_enable_bits[] = {
- { 0x40, 0x02, 0x02 },
- { 0x40, 0x01, 0x01 }
+ { 0x40, 1, 0x02, 0x02 },
+ { 0x40, 1, 0x01, 0x01 }
};
if (!pci_test_config_bits(pdev, &amd_enable_bits[ap->hard_port_no])) {
next reply other threads:[~2005-11-19 21:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-19 21:58 Alan Cox [this message]
2005-11-19 22:34 ` PATCH: AMD pata fixes Jeff Garzik
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=1132437495.19692.28.camel@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=jgarzik@pobox.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