Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/dev Match "keylargo-ata".



details:   https://anonhg.NetBSD.org/src/rev/e872ba02de7e
branches:  trunk
changeset: 480843:e872ba02de7e
user:      tsubai <tsubai%NetBSD.org@localhost>
date:      Fri Jan 21 18:45:14 2000 +0000

description:
Match "keylargo-ata".

diffstat:

 sys/arch/macppc/dev/wdc_obio.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 49c2ca05c080 -r e872ba02de7e sys/arch/macppc/dev/wdc_obio.c
--- a/sys/arch/macppc/dev/wdc_obio.c    Fri Jan 21 17:52:29 2000 +0000
+++ b/sys/arch/macppc/dev/wdc_obio.c    Fri Jan 21 18:45:14 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wdc_obio.c,v 1.5 1999/10/04 22:58:10 tsubai Exp $      */
+/*     $NetBSD: wdc_obio.c,v 1.6 2000/01/21 18:45:14 tsubai Exp $      */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -102,7 +102,8 @@
 
        bzero(compat, sizeof(compat));
        OF_getprop(ca->ca_node, "compatible", compat, sizeof(compat));
-       if (strcmp(compat, "heathrow-ata") == 0)
+       if (strcmp(compat, "heathrow-ata") == 0 ||
+           strcmp(compat, "keylargo-ata") == 0)
                return 1;
 
        return 0;



Home | Main Index | Thread Index | Old Index