Bug#317286: Processed: Re: Bug#317286: Please backport support for Promise SATAII TX2/TX4 cards (from 2.6.11)
- To: Chris Leigh <leighc@cc.umanitoba.ca>, 317286@bugs.debian.org
- Subject: Bug#317286: Processed: Re: Bug#317286: Please backport support for Promise SATAII TX2/TX4 cards (from 2.6.11)
- From: Horms <horms@debian.org>
- Date: Wed, 5 Oct 2005 16:29:07 +0900
- Message-id: <[🔎] 20051005072905.GA14501@verge.net.au>
- Reply-to: Horms <horms@debian.org>, 317286@bugs.debian.org
- In-reply-to: <4305E2B5.7040500@cc.umanitoba.ca>
- References: <20050707135652.GF6562@deprecation.cyrius.com> <handler.s.C.11207446094208.transcript@bugs.debian.org> <20050708014837.GE14688@verge.net.au> <42CE7DBF.6070907@cc.umanitoba.ca> <20050812041452.GE30095@verge.net.au> <20050812072228.GA2215@verge.net.au> <4305E2B5.7040500@cc.umanitoba.ca>
On Fri, Aug 19, 2005 at 08:46:29AM -0500, Chris Leigh wrote:
> I have tried the patched kernel, and although it was able to compile,
> it did not work correctly.
Sorry, its seems that I missed part of the patch, could
you please try the revised version that is attached.
Note that the first chunk is the original patch that I sent,
and the second chunk is the but I missed.
--
Horms
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2005/02/02 04:10:37-05:00 jgarzik@pobox.com
# [libata sata_promise] support Promise SATAII TX2/TX4 cards
#
# Originally from Peter Smith, with testing and additional
# contributions from Jens Axboe.
#
# drivers/scsi/sata_promise.c
# 2005/02/02 04:10:33-05:00 jgarzik@pobox.com +10 -2
# [libata sata_promise] support Promise SATAII TX2/TX4 cards
#
# Originally from Peter Smith, with testing and additional
# contributions from Jens Axboe.
#
diff -Nru a/drivers/scsi/sata_promise.c b/drivers/scsi/sata_promise.c
--- a/drivers/scsi/sata_promise.c 2005-02-07 13:04:37 -08:00
+++ b/drivers/scsi/sata_promise.c 2005-02-07 13:04:37 -08:00
@@ -158,10 +158,16 @@
board_2037x },
{ PCI_VENDOR_ID_PROMISE, 0x3376, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
board_2037x },
+ { PCI_VENDOR_ID_PROMISE, 0x3d75, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
+ board_2037x },
+
{ PCI_VENDOR_ID_PROMISE, 0x3318, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
board_20319 },
{ PCI_VENDOR_ID_PROMISE, 0x3319, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
board_20319 },
+ { PCI_VENDOR_ID_PROMISE, 0x3d18, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
+ board_20319 },
+
{ } /* terminate list */
};
@@ -408,9 +414,11 @@
return IRQ_NONE;
}
- spin_lock(&host_set->lock);
+ spin_lock(&host_set->lock);
+
+ writel(mask, mmio_base + PDC_INT_SEQMASK);
- for (i = 0; i < host_set->n_ports; i++) {
+ for (i = 0; i < host_set->n_ports; i++) {
VPRINTK("port %u\n", i);
ap = host_set->ports[i];
tmp = mask & (1 << (i + 1));
Reply to: