Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ata Tidy quirk table and remove outdated quick from ...



details:   https://anonhg.NetBSD.org/src/rev/ffb79d6e2239
branches:  trunk
changeset: 467248:ffb79d6e2239
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sat Jan 18 11:24:40 2020 +0000

description:
Tidy quirk table and remove outdated quick from the quirk format string.

diffstat:

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

diffs (43 lines):

diff -r 4d47f1fae28c -r ffb79d6e2239 sys/dev/ata/wd.c
--- a/sys/dev/ata/wd.c  Sat Jan 18 11:22:49 2020 +0000
+++ b/sys/dev/ata/wd.c  Sat Jan 18 11:24:40 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wd.c,v 1.456 2020/01/18 11:22:49 simonb Exp $ */
+/*     $NetBSD: wd.c,v 1.457 2020/01/18 11:24:40 simonb Exp $ */
 
 /*
  * Copyright (c) 1998, 2001 Manuel Bouyer.  All rights reserved.
@@ -54,7 +54,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.456 2020/01/18 11:22:49 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.457 2020/01/18 11:24:40 simonb Exp $");
 
 #include "opt_ata.h"
 #include "opt_wd.h"
@@ -232,7 +232,7 @@
 
 #define        WD_QUIRK_SPLIT_MOD15_WRITE      0x0001  /* must split certain writes */
 
-#define        WD_QUIRK_FMT "\20\1SPLIT_MOD15_WRITE\2FORCE_LBA48"
+#define        WD_QUIRK_FMT "\20\1SPLIT_MOD15_WRITE"
 
 /*
  * Quirk table for IDE drives.  Put more-specific matches first, since
@@ -259,12 +259,9 @@
         * Seagate Barracuda Serial ATA V family.
         *
         */
-       { "ST3120023AS",
-         WD_QUIRK_SPLIT_MOD15_WRITE },
-       { "ST380023AS",
-         WD_QUIRK_SPLIT_MOD15_WRITE },
-       { "ST360015AS",
-         WD_QUIRK_SPLIT_MOD15_WRITE },
+       { "ST3120023AS", WD_QUIRK_SPLIT_MOD15_WRITE },
+       { "ST380023AS", WD_QUIRK_SPLIT_MOD15_WRITE },
+       { "ST360015AS", WD_QUIRK_SPLIT_MOD15_WRITE },
        { NULL,
          0 }
 };



Home | Main Index | Thread Index | Old Index