Module Name:    src
Committed By:   jdolecek
Date:           Mon Oct 16 05:52:43 UTC 2017

Modified Files:
        src/sys/dev/ic: wdc.c

Log Message:
fix comment - it's WDCTL_IDS which is supposed to disable interrupts


To generate a diff of this commit:
cvs rdiff -u -r1.285 -r1.286 src/sys/dev/ic/wdc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/ic/wdc.c
diff -u src/sys/dev/ic/wdc.c:1.285 src/sys/dev/ic/wdc.c:1.286
--- src/sys/dev/ic/wdc.c:1.285	Sun Oct 15 18:02:33 2017
+++ src/sys/dev/ic/wdc.c	Mon Oct 16 05:52:43 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: wdc.c,v 1.285 2017/10/15 18:02:33 jdolecek Exp $ */
+/*	$NetBSD: wdc.c,v 1.286 2017/10/16 05:52:43 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.285 2017/10/15 18:02:33 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.286 2017/10/16 05:52:43 jdolecek Exp $");
 
 #include "opt_ata.h"
 #include "opt_wdc.h"
@@ -890,7 +890,7 @@ ignore:
 	}
 
 	/*
-	 * On some controllers (e.g. some PCI-IDE) setting the WDSD_IBM bit
+	 * On some controllers (e.g. some PCI-IDE) setting the WDCTL_IDS bit
 	 * actually has no effect, and interrupt is triggered regardless.
 	 * Ignore polled commands here, they are processed separately.
 	 */

Reply via email to