aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2015-09-03 10:00:57 -0400
committerKevin O'Connor <kevin@koconnor.net>2015-09-03 10:00:57 -0400
commitff28e3bb17b07baf8eac7be2c0aa958b7497f572 (patch)
tree15920e6649d1279f458fc45a292896edffc55dbe
parenta8c72eef4e510d4342b929b07410361d21b5d824 (diff)
downloadseabios-ff28e3bb17b07baf8eac7be2c0aa958b7497f572.zip
seabios-ff28e3bb17b07baf8eac7be2c0aa958b7497f572.tar.gz
seabios-ff28e3bb17b07baf8eac7be2c0aa958b7497f572.tar.bz2
megasas: Use outl() on MFI_IDB register
The outw() should be an outl(). Reported-by: Stefan Weil <sw@weilnetz.de> Reported-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r--src/hw/megasas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hw/megasas.c b/src/hw/megasas.c
index c009951..cb1a2a6 100644
--- a/src/hw/megasas.c
+++ b/src/hw/megasas.c
@@ -327,7 +327,7 @@ static int megasas_transition_to_ready(struct pci_device *pci, u32 ioaddr)
}
}
} else {
- outw(mfi_flags, ioaddr + MFI_IDB);
+ outl(mfi_flags, ioaddr + MFI_IDB);
}
break;
case MFI_STATE_READY: