Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/6cde23447258
branches:  netbsd-2-1
changeset: 564176:6cde23447258
user:      riz <riz%NetBSD.org@localhost>
date:      Tue Mar 28 23:11:30 2006 +0000

description:
Pull up following revision(s) (requested by bouyer in ticket #10396):
        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 ded84b7ee50a -r 6cde23447258 sys/dev/ata/wd.c
--- a/sys/dev/ata/wd.c  Fri Mar 24 21:57:10 2006 +0000
+++ b/sys/dev/ata/wd.c  Tue Mar 28 23:11:30 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wd.c,v 1.274.2.8.2.6 2005/09/06 16:28:33 riz Exp $ */
+/*     $NetBSD: wd.c,v 1.274.2.8.2.6.2.1 2006/03/28 23:11:30 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.274.2.8.2.6 2005/09/06 16:28:33 riz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.274.2.8.2.6.2.1 2006/03/28 23:11:30 riz Exp $");
 
 #ifndef WDCDEBUG
 #define WDCDEBUG
@@ -235,15 +235,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