pata_atiixp: fix second channel support
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 6 Aug 2009 15:47:05 +0000 (17:47 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 12 Aug 2009 10:17:29 +0000 (06:17 -0400)
commit1fd4bbec8c0d6db96b02141f324066afa2e77e89
treea4609c1cd2ffa7829fd73c2cf00566e504ab2949
parentdf9eba8c9febf53782ef896518e7177999d98188
pata_atiixp: fix second channel support

PIO and MWDMA timings are never programmed for the second channel
because timing registers are treated as 16-bit long ones.

The bug is an attixp -> pata_atiixp regression and goes back to:

commit 669a5db411d85a14f86cd92bc16bf7ab5b8aa235
Author: Jeff Garzik <jeff@garzik.org>
Date:   Tue Aug 29 18:12:40 2006 -0400

    [libata] Add a bunch of PATA drivers.

Cc: Krystian Juskowiak <jusko@tlen.pl>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Borislav Petkov <bbpetkov@yahoo.de>
Cc: Robert Hancock <hancockrwd@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_atiixp.c