Commit a9651be7 authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by Martin K. Petersen

scsi: fdomain: use BCTL_RST in fdomain_reset()

Commit 1697c6a6 ("scsi: fdomain: Add register definitions") somehow
missed the use of BCTL_RST in fdomain_reset(), leaving the magic number
intact.  Fix this issue (with no change in the generated object file).

Fixes: 1697c6a6 ("scsi: fdomain: Add register definitions")
Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent b2175988
......@@ -166,7 +166,7 @@ static int fdomain_test_loopback(int base)
static void fdomain_reset(int base)
{
outb(1, base + REG_BCTL);
outb(BCTL_RST, base + REG_BCTL);
mdelay(20);
outb(0, base + REG_BCTL);
mdelay(1150);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment