Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/powerpc Compile dk_* functions only when __...



details:   https://anonhg.NetBSD.org/src/rev/a196aea02f39
branches:  trunk
changeset: 486501:a196aea02f39
user:      tsubai <tsubai%NetBSD.org@localhost>
date:      Tue May 23 13:25:43 2000 +0000

description:
Compile dk_* functions only when __BROKEN_DK_ESTABLISH is defined.

diffstat:

 sys/arch/powerpc/powerpc/ofw_machdep.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 341821a02579 -r a196aea02f39 sys/arch/powerpc/powerpc/ofw_machdep.c
--- a/sys/arch/powerpc/powerpc/ofw_machdep.c    Tue May 23 13:20:58 2000 +0000
+++ b/sys/arch/powerpc/powerpc/ofw_machdep.c    Tue May 23 13:25:43 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ofw_machdep.c,v 1.4 1998/02/24 05:46:07 mycroft Exp $  */
+/*     $NetBSD: ofw_machdep.c,v 1.5 2000/05/23 13:25:43 tsubai Exp $   */
 
 /*
  * Copyright (C) 1996 Wolfgang Solfrank.
@@ -90,6 +90,7 @@
        OF_boot(str);
 }
 
+#ifdef __BROKEN_DK_ESTABLISH
 /*
  * Establish a list of all available disks to allow specifying the
  * root/swap/dump dev.
@@ -295,3 +296,4 @@
        }
        return ENODEV;
 }
+#endif /* __BROKEN_DK_ESTABLISH */



Home | Main Index | Thread Index | Old Index