aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sata_mv.c
diff options
context:
space:
mode:
authorDan Aloni <da-x@monatomic.org>2006-04-11 02:20:22 -0400
committerJeff Garzik <jeff@garzik.org>2006-04-12 18:05:56 -0400
commitd220c37e0a3c9a47ae00e87e044d963b3ea040bc (patch)
treef2a9dae41df1e2267ed1ffb2af1215e0fe35858c /drivers/scsi/sata_mv.c
parenta145410dccdb44f81d3b56763ef9b6f721f4e47c (diff)
[PATCH] sata_mv: properly print HC registers
Currently it crashes when trying to dump the registers. This is an obvious one-liner fix I suppose. Signed-off-by: Dan Aloni <da-x@monatomic.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/sata_mv.c')
-rw-r--r--drivers/scsi/sata_mv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sata_mv.c b/drivers/scsi/sata_mv.c
index b64b077573c2..d5fdcb9a8842 100644
--- a/drivers/scsi/sata_mv.c
+++ b/drivers/scsi/sata_mv.c
@@ -747,7 +747,7 @@ static void mv_dump_all_regs(void __iomem *mmio_base, int port,
747 mv_dump_mem(mmio_base+0xf00, 0x4); 747 mv_dump_mem(mmio_base+0xf00, 0x4);
748 mv_dump_mem(mmio_base+0x1d00, 0x6c); 748 mv_dump_mem(mmio_base+0x1d00, 0x6c);
749 for (hc = start_hc; hc < start_hc + num_hcs; hc++) { 749 for (hc = start_hc; hc < start_hc + num_hcs; hc++) {
750 hc_base = mv_hc_base(mmio_base, port >> MV_PORT_HC_SHIFT); 750 hc_base = mv_hc_base(mmio_base, hc);
751 DPRINTK("HC regs (HC %i):\n", hc); 751 DPRINTK("HC regs (HC %i):\n", hc);
752 mv_dump_mem(hc_base, 0x1c); 752 mv_dump_mem(hc_base, 0x1c);
753 } 753 }