summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--satasii.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/satasii.c b/satasii.c
index 8919d06..d971b24 100644
--- a/satasii.c
+++ b/satasii.c
@@ -64,7 +64,7 @@ int satasii_init(void)
sii_bar = physmap("SATA SIL registers", addr, 0x100) + reg_offset;
/* Check if ROM cycle are OK. */
- if ((id != 0x0680) && (!(mmio_readl(sii_bar)) & (1 << 26)))
+ if ((id != 0x0680) && (!(mmio_readl(sii_bar) & (1 << 26))))
printf("Warning: Flash seems unconnected.\n");
return 0;
OpenPOWER on IntegriCloud