]> git.hungrycats.org Git - linux/commit
[libata promise] fix another ugly bug
authorJeff Garzik <jgarzik@redhat.com>
Wed, 17 Dec 2003 12:35:44 +0000 (07:35 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 17 Dec 2003 12:35:44 +0000 (07:35 -0500)
commit845937ba4b3b806e78d19f2d4ad82ffddede39df
tree728b326cb04f48fc4bcc1cc98abdbea552c25141
parent351244417be343ca4762e658807d18c2c69b5c50
[libata promise] fix another ugly bug

For the SX4, only one Host DMA (local DIMM) engine is on the hardware,
while there is an ATA engine for each SATA port.  This means that
Host DMA transactions must be queued.  When previously fixing this problem
(the driver had previously assumed an HDMA engine per port), I stored
the HDMA packet queue in a per-port data structure.

This was incorrect:  this patch changes it to correctly use a
per-host data structure, not a per-port structure.
drivers/scsi/sata_promise.c