]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide-pmac: fix drive->init_speed reporting
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 20 Aug 2007 20:42:55 +0000 (22:42 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 20 Aug 2007 20:42:55 +0000 (22:42 +0200)
commit59785c8fe23ca2f432bc41ef473a8933ab435812
tree99ac4bce8a4583dab32e248a61c2778ba7ea6dc4
parent1116fae5fdfa80c6744a9b5d75fb3ef687a69b19
ide-pmac: fix drive->init_speed reporting

pmac_ide_tune_chipset() don't set drive->init_speed.

Fix it by setting drive->{current,init}_speed in pmac_ide_do_setfeature()
and clean up pmac_ide_{tune_chipset,mdma_enable,udma_enable}().

Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ppc/pmac.c