Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Fix signature of capi_ll_control.
details: https://anonhg.NetBSD.org/src/rev/682b61c2ace4
branches: trunk
changeset: 787004:682b61c2ace4
user: martin <martin%NetBSD.org@localhost>
date: Wed May 29 09:26:02 2013 +0000
description:
Fix signature of capi_ll_control.
>From Wolfgang Stukenbrock in PR kern/47863.
diffstat:
sys/dev/ic/iavc.c | 6 +++---
sys/netisdn/i4b_capi.h | 4 ++--
sys/netisdn/i4b_capi_llif.c | 6 +++---
3 files changed, 8 insertions(+), 8 deletions(-)
diffs (72 lines):
diff -r 8ce1468785ef -r 682b61c2ace4 sys/dev/ic/iavc.c
--- a/sys/dev/ic/iavc.c Wed May 29 08:24:06 2013 +0000
+++ b/sys/dev/ic/iavc.c Wed May 29 09:26:02 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iavc.c,v 1.9 2012/10/27 17:18:20 chs Exp $ */
+/* $NetBSD: iavc.c,v 1.10 2013/05/29 09:26:02 martin 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.9 2012/10/27 17:18:20 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iavc.c,v 1.10 2013/05/29 09:26:02 martin 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));
diff -r 8ce1468785ef -r 682b61c2ace4 sys/netisdn/i4b_capi.h
--- a/sys/netisdn/i4b_capi.h Wed May 29 08:24:06 2013 +0000
+++ b/sys/netisdn/i4b_capi.h Wed May 29 09:26:02 2013 +0000
@@ -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.6 2013/05/29 09:26:02 martin 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 */
diff -r 8ce1468785ef -r 682b61c2ace4 sys/netisdn/i4b_capi_llif.c
--- a/sys/netisdn/i4b_capi_llif.c Wed May 29 08:24:06 2013 +0000
+++ b/sys/netisdn/i4b_capi_llif.c Wed May 29 09:26:02 2013 +0000
@@ -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.6 2013/05/29 09:26:02 martin 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.6 2013/05/29 09:26:02 martin 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:
Home |
Main Index |
Thread Index |
Old Index