Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/jdolecek-ncq]: src/sys/dev/ic fix condition for calling atastart() when ...
details: https://anonhg.NetBSD.org/src/rev/82d5932aa479
branches: jdolecek-ncq
changeset: 823015:82d5932aa479
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Mon Sep 11 22:19:23 2017 +0000
description:
fix condition for calling atastart() when command is done
diffstat:
sys/dev/ic/wdc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d2bba32edf70 -r 82d5932aa479 sys/dev/ic/wdc.c
--- a/sys/dev/ic/wdc.c Mon Sep 11 22:16:18 2017 +0000
+++ b/sys/dev/ic/wdc.c Mon Sep 11 22:19:23 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wdc.c,v 1.283.2.14 2017/09/10 19:31:15 jdolecek Exp $ */
+/* $NetBSD: wdc.c,v 1.283.2.15 2017/09/11 22:19:23 jdolecek Exp $ */
/*
* Copyright (c) 1998, 2001, 2003 Manuel Bouyer. All rights reserved.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.283.2.14 2017/09/10 19:31:15 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.283.2.15 2017/09/11 22:19:23 jdolecek Exp $");
#include "opt_ata.h"
#include "opt_wdc.h"
@@ -1589,7 +1589,7 @@
struct wdc_softc *wdc = CHAN_TO_WDC(chp);
struct wdc_regs *wdr = &wdc->regs[chp->ch_channel];
struct ata_command *ata_c = &xfer->c_ata_c;
- bool start = false;
+ bool start = true;
ATADEBUG_PRINT(("__wdccommand_done %s:%d:%d flags 0x%x\n",
device_xname(atac->atac_dev), chp->ch_channel, xfer->c_drive,
Home |
Main Index |
Thread Index |
Old Index