sata_via: fix resource-managed iomap conversion
authorTejun Heo <htejun@gmail.com>
Tue, 20 Feb 2007 11:01:53 +0000 (20:01 +0900)
committerJeff Garzik <jeff@garzik.org>
Wed, 21 Feb 2007 09:58:19 +0000 (04:58 -0500)
commite1be5d73e07dd6015b6ea255a36aae3b61b7b054
treebb76780ea9cb95845460690b30d08ac4e5f34937
parentc3c70c443c2ef1fce31f201a93780c884b903993
sata_via: fix resource-managed iomap conversion

Conversion to resource-managed iomap was buggy causing init failures
on both vt6420 and 6421 - BAR5 wasn't mapped for both controllers
while on vt6420 sata_via tried to map BAR0-4 twice.  Fix it.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_via.c