Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ata Use pmatch() metacharacters to match both SATA a...



details:   https://anonhg.NetBSD.org/src/rev/12def0ee018b
branches:  trunk
changeset: 582102:12def0ee018b
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Thu Jun 16 20:03:35 2005 +0000

description:
Use pmatch() metacharacters to match both SATA and PATA versions of seagate
drives in the quirk table.

diffstat:

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

diffs (32 lines):

diff -r f523bf043b66 -r 12def0ee018b sys/dev/ata/wd.c
--- a/sys/dev/ata/wd.c  Thu Jun 16 19:30:02 2005 +0000
+++ b/sys/dev/ata/wd.c  Thu Jun 16 20:03:35 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wd.c,v 1.302 2005/06/16 05:47:17 martti Exp $ */
+/*     $NetBSD: wd.c,v 1.303 2005/06/16 20:03:35 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.302 2005/06/16 05:47:17 martti Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.303 2005/06/16 20:03:35 bouyer Exp $");
 
 #ifndef ATADEBUG
 #define ATADEBUG
@@ -235,11 +235,9 @@
         * (aka LBA48_THRESHOLD) in LBA mode. The workaround is to force
         * LBA48
         */
-       { "ST3200822A",
+       { "ST3200822A*",
          WD_QUIRK_FORCE_LBA48 },
-       { "ST3200822AS",
-         WD_QUIRK_FORCE_LBA48 },
-       { "ST3250823AS",
+       { "ST3250823A*",
          WD_QUIRK_FORCE_LBA48 },
 
        { NULL,



Home | Main Index | Thread Index | Old Index