Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp700/dev PDC_CHASSIS_INFO needs a third parameter, ...



details:   https://anonhg.NetBSD.org/src/rev/de7cf587b386
branches:  trunk
changeset: 770033:de7cf587b386
user:      chs <chs%NetBSD.org@localhost>
date:      Sat Oct 01 15:51:17 2011 +0000

description:
PDC_CHASSIS_INFO needs a third parameter, the size of the LCD structure.

diffstat:

 sys/arch/hp700/dev/pdc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5096640b2b43 -r de7cf587b386 sys/arch/hp700/dev/pdc.c
--- a/sys/arch/hp700/dev/pdc.c  Sat Oct 01 15:50:46 2011 +0000
+++ b/sys/arch/hp700/dev/pdc.c  Sat Oct 01 15:51:17 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pdc.c,v 1.39 2011/04/24 16:26:55 rmind Exp $   */
+/*     $NetBSD: pdc.c,v 1.40 2011/10/01 15:51:17 chs Exp $     */
 
 /*     $OpenBSD: pdc.c,v 1.14 2001/04/29 21:05:43 mickey Exp $ */
 
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pdc.c,v 1.39 2011/04/24 16:26:55 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pdc.c,v 1.40 2011/10/01 15:51:17 chs Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -569,7 +569,7 @@
        int err;
 
        err = pdc_call((iodcio_t)pdc, 0, PDC_CHASSIS, PDC_CHASSIS_INFO,
-           &pdcret1, &pdcret2);
+           &pdcret1, &pdcret2 , sizeof(*pcl));
        if (err < 0)
                return err;
 



Home | Main Index | Thread Index | Old Index