Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ata Fix typo.



details:   https://anonhg.NetBSD.org/src/rev/8f9e1844ec4c
branches:  trunk
changeset: 546389:8f9e1844ec4c
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sun Apr 27 14:33:20 2003 +0000

description:
Fix typo.

diffstat:

 sys/dev/ata/wd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 949e0d8e61ec -r 8f9e1844ec4c sys/dev/ata/wd.c
--- a/sys/dev/ata/wd.c  Sun Apr 27 14:27:36 2003 +0000
+++ b/sys/dev/ata/wd.c  Sun Apr 27 14:33:20 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wd.c,v 1.249 2003/04/27 14:27:36 bouyer Exp $ */
+/*     $NetBSD: wd.c,v 1.250 2003/04/27 14:33:20 bouyer Exp $ */
 
 /*
  * Copyright (c) 1998, 2001 Manuel Bouyer.  All rights reserved.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.249 2003/04/27 14:27:36 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.250 2003/04/27 14:33:20 bouyer Exp $");
 
 #ifndef WDCDEBUG
 #define WDCDEBUG
@@ -1704,7 +1704,7 @@
                return EIO;
 
        if (params.atap_cmd_set1 == 0x0000 ||
-           params.atap_cmd_set1 == 0xffff)
+           params.atap_cmd_set1 == 0xffff ||
            (params.atap_cmd_set1 & WDC_CMD1_CACHE) == 0)
                return EOPNOTSUPP;
 



Home | Main Index | Thread Index | Old Index