drivers/block/ahci: Fix pci mapping bug
authorBecky Bruce <beckyb@kernel.crashing.org>
Wed, 4 Feb 2009 00:10:55 +0000 (18:10 -0600)
committerWolfgang Denk <wd@denx.de>
Mon, 9 Feb 2009 23:31:05 +0000 (00:31 +0100)
commit1785dbeed43599eed1d8875673c96912cd770141
treef9c23e25ad9dcda073b714d8e64c922dc063c421
parentd591a80e74091e7a0658d165721e6c7de2ef0bcd
drivers/block/ahci: Fix pci mapping bug

The code assumes that the pci bus address and the virtual
address used to access a region are the same, but they might
not be.  Fix this assumption.

Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
drivers/block/ahci.c