pata_legacy: fix access to control register for QDI6580
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 3 Dec 2009 19:32:11 +0000 (20:32 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 3 Dec 2009 21:06:14 +0000 (16:06 -0500)
commit6809e7301fba4f9fa446ead5167faed115690fc4
tree473bbf46a8c92a31f44162fa7cf66f64545809b7
parent43c7d17ee7e03433c57dc4ce457d34110108455a
pata_legacy: fix access to control register for QDI6580

We need to mask out the port offset from the port number
cached in ld_qdi->timing.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_legacy.c