Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/netbsd32 get rid of the ASYNCMAP ioctls
details: https://anonhg.NetBSD.org/src/rev/dab3a3d66cbc
branches: trunk
changeset: 545619:dab3a3d66cbc
user: christos <christos%NetBSD.org@localhost>
date: Sat Apr 12 05:00:38 2003 +0000
description:
get rid of the ASYNCMAP ioctls
diffstat:
sys/compat/netbsd32/netbsd32_ioctl.c | 11 ++++-------
sys/compat/netbsd32/netbsd32_ioctl.h | 6 +++---
2 files changed, 7 insertions(+), 10 deletions(-)
diffs (52 lines):
diff -r 14978cacb755 -r dab3a3d66cbc sys/compat/netbsd32/netbsd32_ioctl.c
--- a/sys/compat/netbsd32/netbsd32_ioctl.c Sat Apr 12 04:32:54 2003 +0000
+++ b/sys/compat/netbsd32/netbsd32_ioctl.c Sat Apr 12 05:00:38 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_ioctl.c,v 1.17 2003/01/24 21:55:16 fvdl Exp $ */
+/* $NetBSD: netbsd32_ioctl.c,v 1.18 2003/04/12 05:00:38 christos Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_ioctl.c,v 1.17 2003/01/24 21:55:16 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_ioctl.c,v 1.18 2003/04/12 05:00:38 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -545,11 +545,8 @@
IOCTL_STRUCT_CONV_TO(SIOCSIFMTU, ifreq);
case SIOCGIFMTU32:
IOCTL_STRUCT_CONV_TO(SIOCGIFMTU, ifreq);
- case SIOCSIFASYNCMAP32:
- IOCTL_STRUCT_CONV_TO(SIOCSIFASYNCMAP, ifreq);
- case SIOCGIFASYNCMAP32:
- IOCTL_STRUCT_CONV_TO(SIOCGIFASYNCMAP, ifreq);
-/* IOCTL_STRUCT_CONV_TO(BIOCGETIF, ifreq); READ ONLY */
+ case BIOCGETIF32:
+ IOCTL_STRUCT_CONV_TO(BIOCGETIF, ifreq);
case BIOCSETIF32:
IOCTL_STRUCT_CONV_TO(BIOCSETIF, ifreq);
case SIOCPHASE132:
diff -r 14978cacb755 -r dab3a3d66cbc sys/compat/netbsd32/netbsd32_ioctl.h
--- a/sys/compat/netbsd32/netbsd32_ioctl.h Sat Apr 12 04:32:54 2003 +0000
+++ b/sys/compat/netbsd32/netbsd32_ioctl.h Sat Apr 12 05:00:38 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_ioctl.h,v 1.11 2003/01/24 21:55:16 fvdl Exp $ */
+/* $NetBSD: netbsd32_ioctl.h,v 1.12 2003/04/12 05:00:38 christos Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@@ -200,8 +200,8 @@
#define SIOCSIFMEDIA32 _IOWR('i', 53, struct netbsd32_ifreq) /* set net media */
#define SIOCSIFMTU32 _IOW('i', 127, struct netbsd32_ifreq) /* set ifnet mtu */
#define SIOCGIFMTU32 _IOWR('i', 126, struct netbsd32_ifreq) /* get ifnet mtu */
-#define SIOCSIFASYNCMAP32 _IOW('i', 125, struct netbsd32_ifreq) /* set ppp asyncmap */
-#define SIOCGIFASYNCMAP32 _IOWR('i', 124, struct netbsd32_ifreq) /* get ppp asyncmap */
+/* was 125 SIOCSIFASYNCMAP32 */
+/* was 124 SIOCGIFASYNCMAP32 */
/* from <net/bpf.h> */
#define BIOCGETIF32 _IOR('B',107, struct netbsd32_ifreq)
#define BIOCSETIF32 _IOW('B',108, struct netbsd32_ifreq)
Home |
Main Index |
Thread Index |
Old Index