]> xenbits.xensource.com Git - people/andrewcoop/seabios.git/commitdiff
megasas: Use outl() on MFI_IDB register
authorKevin O'Connor <kevin@koconnor.net>
Thu, 3 Sep 2015 14:00:57 +0000 (10:00 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Thu, 3 Sep 2015 14:00:57 +0000 (10:00 -0400)
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>
src/hw/megasas.c

index c0099514a99a7f4aa8a2ebc6e9c2a45474c76584..cb1a2a6536205a9cdde9925dab9941714929ec74 100644 (file)
@@ -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: