diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2008-01-26 08:57:32 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2008-01-26 08:57:32 +0000 |
commit | b6aee8d034b2c2b9aa04c24b863d16b3ab1f95c3 (patch) | |
tree | dd10fbdd8a291632128c772c418b4f0fffd910d6 | |
parent | 3a2ba6baf80223cfa1b3e06b5c254d6f4ea02ed7 (diff) |
Set the return value instead of returning right away so that the DMA
memory is actually synched.
ok dlg@
-rw-r--r-- | sys/dev/ic/mfi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c index 5e42a129bdd..c3a68ca949a 100644 --- a/sys/dev/ic/mfi.c +++ b/sys/dev/ic/mfi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfi.c,v 1.77 2008/01/26 07:13:59 dlg Exp $ */ +/* $OpenBSD: mfi.c,v 1.78 2008/01/26 08:57:31 brad Exp $ */ /* * Copyright (c) 2006 Marco Peereboom <marco@peereboom.us> * @@ -735,7 +735,7 @@ mfi_poll(struct mfi_ccb *ccb) printf("%s: timeout on ccb %d\n", DEVNAME(sc), hdr->mfh_context); ccb->ccb_flags |= MFI_CCB_F_ERR; - return (1); + rv = 1; } if (ccb->ccb_direction != MFI_DATA_NONE) { |