Thu Jun 13 07:22:45 2013 UTC ()
Pull up following revision(s) (requested by martin in ticket #896):
	sys/dev/ic/iavc.c: revision 1.10
	sys/netisdn/i4b_capi_llif.c: revision 1.6
	sys/netisdn/i4b_capi.h: revision 1.6
Fix signature of capi_ll_control.
From Wolfgang Stukenbrock in PR kern/47863.


(msaitoh)
diff -r1.8 -r1.8.20.1 src/sys/dev/ic/iavc.c
diff -r1.5 -r1.5.94.1 src/sys/netisdn/i4b_capi.h
diff -r1.5 -r1.5.18.1 src/sys/netisdn/i4b_capi_llif.c

cvs diff -r1.8 -r1.8.20.1 src/sys/dev/ic/Attic/iavc.c (expand / switch to context diff)
--- src/sys/dev/ic/Attic/iavc.c 2009/01/23 19:49:16 1.8
+++ src/sys/dev/ic/Attic/iavc.c 2013/06/13 07:22:44 1.8.20.1
@@ -1,4 +1,4 @@
-/*	$NetBSD: iavc.c,v 1.8 2009/01/23 19:49:16 christos Exp $	*/
+/*	$NetBSD: iavc.c,v 1.8.20.1 2013/06/13 07:22:44 msaitoh Exp $	*/
 
 /*
  * Copyright (c) 2001-2003 Cubical Solutions Ltd. All rights reserved.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iavc.c,v 1.8 2009/01/23 19:49:16 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iavc.c,v 1.8.20.1 2013/06/13 07:22:44 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -621,7 +621,7 @@
 		cardtype, serial, nbch, vers, prot);
 	aprint_verbose_dev(&sc->sc_dev, "%s\n", caps);
 
-        capi_ll_control(&sc->sc_capi, CAPI_CTRL_PROFILE, (int) profile);
+        capi_ll_control(&sc->sc_capi, CAPI_CTRL_PROFILE, (intptr_t) profile);
 
     } else {
 	printf("%s: no profile data in info response?\n", device_xname(&sc->sc_dev));

cvs diff -r1.5 -r1.5.94.1 src/sys/netisdn/Attic/i4b_capi.h (expand / switch to context diff)
--- src/sys/netisdn/Attic/i4b_capi.h 2006/10/16 13:03:03 1.5
+++ src/sys/netisdn/Attic/i4b_capi.h 2013/06/13 07:22:44 1.5.94.1
@@ -1,4 +1,4 @@
-/*	$NetBSD: i4b_capi.h,v 1.5 2006/10/16 13:03:03 pooka Exp $	*/
+/*	$NetBSD: i4b_capi.h,v 1.5.94.1 2013/06/13 07:22:44 msaitoh Exp $	*/
 
 /*
  * Copyright (c) 2001-2003 Cubical Solutions Ltd. All rights reserved.
@@ -119,7 +119,7 @@
 #define I4BCAPI_APPLID 1
 
 extern int capi_ll_attach(capi_softc_t *, const char *, const char *);
-extern int capi_ll_control(capi_softc_t *, int op, int arg);
+extern int capi_ll_control(capi_softc_t *, int op, intptr_t arg);
 extern int capi_ll_detach(capi_softc_t *);
 
 #define CAPI_CTRL_READY     0 /* ctrl ready, value=TRUE/FALSE */

cvs diff -r1.5 -r1.5.18.1 src/sys/netisdn/Attic/i4b_capi_llif.c (expand / switch to context diff)
--- src/sys/netisdn/Attic/i4b_capi_llif.c 2009/04/18 14:58:06 1.5
+++ src/sys/netisdn/Attic/i4b_capi_llif.c 2013/06/13 07:22:44 1.5.18.1
@@ -1,4 +1,4 @@
-/*	$NetBSD: i4b_capi_llif.c,v 1.5 2009/04/18 14:58:06 tsutsui Exp $	*/
+/*	$NetBSD: i4b_capi_llif.c,v 1.5.18.1 2013/06/13 07:22:44 msaitoh Exp $	*/
 
 /*
  * Copyright (c) 2001 Cubical Solutions Ltd. All rights reserved.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i4b_capi_llif.c,v 1.5 2009/04/18 14:58:06 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i4b_capi_llif.c,v 1.5.18.1 2013/06/13 07:22:44 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -57,7 +57,7 @@
 */
 
 int
-capi_ll_control(capi_softc_t *sc, int op, int arg)
+capi_ll_control(capi_softc_t *sc, int op, intptr_t arg)
 {
     switch (op) {
     case CAPI_CTRL_READY: