Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ebus add struct ebus_mainbus_ranges. from openbsd.



details:   https://anonhg.NetBSD.org/src/rev/7eba0fd53ca6
branches:  trunk
changeset: 763273:7eba0fd53ca6
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Mar 16 02:34:10 2011 +0000

description:
add struct ebus_mainbus_ranges.  from openbsd.

diffstat:

 sys/dev/ebus/ebusreg.h |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 642e00a303b3 -r 7eba0fd53ca6 sys/dev/ebus/ebusreg.h
--- a/sys/dev/ebus/ebusreg.h    Wed Mar 16 01:47:19 2011 +0000
+++ b/sys/dev/ebus/ebusreg.h    Wed Mar 16 02:34:10 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ebusreg.h,v 1.8 2008/05/29 14:51:27 mrg Exp $  */
+/*     $NetBSD: ebusreg.h,v 1.9 2011/03/16 02:34:10 mrg Exp $  */
 
 /*
  * Copyright (c) 1999 Matthew R. Green
@@ -88,6 +88,14 @@
        uint32_t        size;
 };
 
+struct ebus_mainbus_ranges {
+       u_int32_t       child_hi;
+       u_int32_t       child_lo;
+       u_int32_t       phys_hi;
+       u_int32_t       phys_lo;
+       u_int32_t       size;
+};
+
 
 /* NB: ms-IIep PROMs lack these interrupt-related properties */
 struct ebus_interrupt_map {



Home | Main Index | Thread Index | Old Index