get rid of the ASYNCMAP ioctls

This commit is contained in:
christos 2003-04-12 05:00:38 +00:00
parent a16e9fc559
commit c56f7f428b
2 changed files with 7 additions and 10 deletions

View File

@ -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 @@ printf("netbsd32_ioctl(%d, %x, %x): %s group %c base %d len %d\n",
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:

View File

@ -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 @@ struct netbsd32_ifreq {
#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)