Source-Changes-HG archive

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

[src/netbsd-3]: src/sys/dev/ata Pull up following revision(s) (requested by b...



details:   https://anonhg.NetBSD.org/src/rev/a8ef9f0430a8
branches:  netbsd-3
changeset: 577908:a8ef9f0430a8
user:      riz <riz%NetBSD.org@localhost>
date:      Tue Mar 28 22:53:48 2006 +0000

description:
Pull up following revision(s) (requested by bouyer in ticket #1227):
        sys/dev/ata/wd.c: revision 1.310
Use a pmatch(9) expression which should catch all present and future
seagate drives larger than 200GB for the WD_QUIRK_FORCE_LBA48 quirks.
Based on infos from
http://www.seagate.com/support/kb/disc/howto/interpret_model.html

diffstat:

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

diffs (37 lines):

diff -r f12836f9fa27 -r a8ef9f0430a8 sys/dev/ata/wd.c
--- a/sys/dev/ata/wd.c  Tue Mar 28 22:47:29 2006 +0000
+++ b/sys/dev/ata/wd.c  Tue Mar 28 22:53:48 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wd.c,v 1.298.2.8 2006/01/27 22:53:45 tron Exp $ */
+/*     $NetBSD: wd.c,v 1.298.2.9 2006/03/28 22:53:48 riz 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.298.2.8 2006/01/27 22:53:45 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.298.2.9 2006/03/28 22:53:48 riz Exp $");
 
 #ifndef ATADEBUG
 #define ATADEBUG
@@ -237,15 +237,11 @@
         */
        { "ST3160023A*",
          WD_QUIRK_FORCE_LBA48 },
-       { "ST3200822A*",
-         WD_QUIRK_FORCE_LBA48 },
-       { "ST3250823A*",
+       { "ST3160827A*",
          WD_QUIRK_FORCE_LBA48 },
-       { "ST3200826A*",
+       /* Attemp to catch all seagate drives larger than 200GB */
+       { "ST3[2-9][0-9][0-9][0-9][0-9][0-9]A*",
          WD_QUIRK_FORCE_LBA48 },
-       { "ST3300831A*",
-         WD_QUIRK_FORCE_LBA48 },
-
        { NULL,
          0 }
 };



Home | Main Index | Thread Index | Old Index