From 2bcc4edda2f3c93d0a1972f908c1408142aebf34 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 12 Oct 2005 18:43:08 +0000 Subject: unconflict (one day legacy) wavelan ioctl's from the vlan ioctl's so that vlan's can be done on wavelan (if you are crazy enough to want to). spotted by fgs, but my fix, ok a few people --- sys/dev/ic/if_wi_ieee.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'sys/dev/ic') diff --git a/sys/dev/ic/if_wi_ieee.h b/sys/dev/ic/if_wi_ieee.h index ba194905e84..4a40a4c73b4 100644 --- a/sys/dev/ic/if_wi_ieee.h +++ b/sys/dev/ic/if_wi_ieee.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wi_ieee.h,v 1.24 2004/06/22 20:51:01 millert Exp $ */ +/* $OpenBSD: if_wi_ieee.h,v 1.25 2005/10/12 18:43:07 deraadt Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -45,13 +45,8 @@ * interface, didn't I. */ -#ifndef SIOCSWAVELAN -#define SIOCSWAVELAN SIOCSIFGENERIC -#endif - -#ifndef SIOCGWAVELAN -#define SIOCGWAVELAN SIOCGIFGENERIC -#endif +#define SIOCSWAVELAN _IOW('i', 249, struct ifreq) /* wavelan set op */ +#define SIOCGWAVELAN _IOWR('i', 250, struct ifreq) /* wavelan get op */ /* * Technically I don't think there's a limit to a record -- cgit v1.2.3