]> git.hungrycats.org Git - linux/commit
[PATCH] sata_nv: fix CK804 support
authorAndrew Chew <achew@nvidia.com>
Sat, 28 Aug 2004 15:29:32 +0000 (11:29 -0400)
committerBartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Sat, 28 Aug 2004 15:29:32 +0000 (11:29 -0400)
commit7886439090aa0db95f3f422da3d26f62dcce9712
treebc5e256a663fde9f55de53485ddc4071bf1dc710
parent5b5e59f8d576dc2d3d54289448558db3172ceec9
[PATCH] sata_nv: fix CK804 support

This patch fixes a problem introduced when CK804 support was added.  mmio_base can only be set in the CK804 case,
else libata will attempt to iounmap mmio_base, which isn't iomapped for the non-CK804 case.  Still need the bar 5
address, so steal from host_set->ports[0]->ioaddr.scr_addr.  Jeff, let me know if this is a bad thing to do.
drivers/scsi/sata_nv.c