summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-10-12 18:43:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-10-12 18:43:08 +0000
commit2bcc4edda2f3c93d0a1972f908c1408142aebf34 (patch)
treeb96fbc691d6c74595ce79fff47aefeaa24331279 /sys
parent8ac5bf546c1e38a8888578a01975058e7b591eec (diff)
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
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/if_wi_ieee.h11
1 files changed, 3 insertions, 8 deletions
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