Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/dev ebus_ca needs to specify enough memory ...



details:   https://anonhg.NetBSD.org/src/rev/0d59cff5a879
branches:  trunk
changeset: 487783:0d59cff5a879
user:      eeh <eeh%NetBSD.org@localhost>
date:      Mon Jun 12 22:36:59 2000 +0000

description:
ebus_ca needs to specify enough memory to hold an ebus_softc, not a struct device.

diffstat:

 sys/arch/sparc64/dev/ebus.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e5be8864bad7 -r 0d59cff5a879 sys/arch/sparc64/dev/ebus.c
--- a/sys/arch/sparc64/dev/ebus.c       Mon Jun 12 22:33:41 2000 +0000
+++ b/sys/arch/sparc64/dev/ebus.c       Mon Jun 12 22:36:59 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ebus.c,v 1.10 2000/06/08 06:52:25 mrg Exp $    */
+/*     $NetBSD: ebus.c,v 1.11 2000/06/12 22:36:59 eeh Exp $    */
 
 /*
  * Copyright (c) 1999, 2000 Matthew R. Green
@@ -87,7 +87,7 @@
 void   ebus_attach __P((struct device *, struct device *, void *));
 
 struct cfattach ebus_ca = {
-       sizeof(struct device), ebus_match, ebus_attach
+       sizeof(struct ebus_softc), ebus_match, ebus_attach
 };
 
 int    ebus_setup_attach_args __P((struct ebus_softc *, int,



Home | Main Index | Thread Index | Old Index