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 [EMAIL PROTECTED]
# [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 [EMAIL PROTECTED] +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));