Source-Changes-HG archive

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

[src/trunk]: src/sys Rename ofb_softc to ofbus_softc. (XXX Is this good name?)



details:   https://anonhg.NetBSD.org/src/rev/1dd9103207f9
branches:  trunk
changeset: 510967:1dd9103207f9
user:      tsubai <tsubai%NetBSD.org@localhost>
date:      Sun Jun 10 11:36:03 2001 +0000

description:
Rename ofb_softc to ofbus_softc.  (XXX Is this good name?)

diffstat:

 sys/arch/powerpc/powerpc/ofw_machdep.c |  4 ++--
 sys/dev/ofw/openfirm.h                 |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 85ba96b2bb92 -r 1dd9103207f9 sys/arch/powerpc/powerpc/ofw_machdep.c
--- a/sys/arch/powerpc/powerpc/ofw_machdep.c    Sun Jun 10 11:09:28 2001 +0000
+++ b/sys/arch/powerpc/powerpc/ofw_machdep.c    Sun Jun 10 11:36:03 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ofw_machdep.c,v 1.7 2000/12/05 05:16:00 mycroft Exp $  */
+/*     $NetBSD: ofw_machdep.c,v 1.8 2001/06/10 11:36:03 tsubai Exp $   */
 
 /*
  * Copyright (C) 1996 Wolfgang Solfrank.
@@ -141,7 +141,7 @@
        struct device *dev;
 {
        struct ofb_disk *od;
-       struct ofb_softc *ofp = (void *)dev;
+       struct ofbus_softc *ofp = (void *)dev;
 
        MALLOC(od, struct ofb_disk *, sizeof *od, M_TEMP, M_NOWAIT);
        if (!od)
diff -r 85ba96b2bb92 -r 1dd9103207f9 sys/dev/ofw/openfirm.h
--- a/sys/dev/ofw/openfirm.h    Sun Jun 10 11:09:28 2001 +0000
+++ b/sys/dev/ofw/openfirm.h    Sun Jun 10 11:36:03 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: openfirm.h,v 1.15 2000/11/15 14:27:26 pk Exp $ */
+/*     $NetBSD: openfirm.h,v 1.16 2001/06/10 11:36:03 tsubai Exp $     */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -64,7 +64,7 @@
  * The softc structure for devices we might be booted from (i.e. we might
  * want to set root/swap to) needs to start with these fields:         XXX
  */
-struct ofb_softc {
+struct ofbus_softc {
        struct device sc_dev;
        int sc_phandle;
        int sc_unit;            /* Might be missing for non-disk devices */



Home | Main Index | Thread Index | Old Index