Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/dev/ic Apply patch from revision 1.18 of sys/dev/at...



details:   https://anonhg.NetBSD.org/src/rev/606b21c2e89f
branches:  netbsd-1-6
changeset: 531347:606b21c2e89f
user:      jdc <jdc%NetBSD.org@localhost>
date:      Fri May 14 06:09:36 2004 +0000

description:
Apply patch from revision 1.18 of sys/dev/ata/atareg.h
(requested by bouyer in ticket #1691)

When using LBA48, use Flush cache extended command if supported.
>From Christos Zoulas in PR 25366, with minor adjustements from me.

diffstat:

 sys/dev/ic/wdcreg.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 0e858fa1112d -r 606b21c2e89f sys/dev/ic/wdcreg.h
--- a/sys/dev/ic/wdcreg.h       Fri May 14 06:07:34 2004 +0000
+++ b/sys/dev/ic/wdcreg.h       Fri May 14 06:09:36 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wdcreg.h,v 1.25.4.1 2003/06/30 02:58:34 grant Exp $    */
+/*     $NetBSD: wdcreg.h,v 1.25.4.2 2004/05/14 06:09:36 jdc Exp $      */
 
 /*-
  * Copyright (c) 1991 The Regents of the University of California.
@@ -125,6 +125,7 @@
 #define        WDCC_UNLOCK             0xdf    /* unlock drawer */
 
 #define        WDCC_FLUSHCACHE         0xe7    /* Flush cache */
+#define        WDCC_FLUSHCACHE_EXT     0xea    /* Flush cache ext */
 #define        WDCC_IDENTIFY           0xec    /* read parameters from controller */
 #define        SET_FEATURES            0xef    /* set features */
 



Home | Main Index | Thread Index | Old Index