summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-06-22 20:51:02 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-06-22 20:51:02 +0000
commit12d7d15b77cdbebe0a12ec25c6ab8b05a5cefcc8 (patch)
tree92f3570dea1b8174149c6d7b82572401b7d12f0f /sys
parent25bfb4d3212b393aff8cc46715ab41e05edcc42f (diff)
Use SIOCSIFGENERIC and SIOCGIFGENERIC for SIOCSWAVELAN and SIOCGWAVELAN
instead of SIOCSIFASYNCMAP and SIOCGIFASYNCMAP. Needed for upcoming 802.11 framework. OK deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/if_wi_ieee.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/ic/if_wi_ieee.h b/sys/dev/ic/if_wi_ieee.h
index e1181f4dd97..ba194905e84 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.23 2004/06/22 20:48:00 millert Exp $ */
+/* $OpenBSD: if_wi_ieee.h,v 1.24 2004/06/22 20:51:01 millert Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -46,19 +46,11 @@
*/
#ifndef SIOCSWAVELAN
-#ifdef __FreeBSD__
#define SIOCSWAVELAN SIOCSIFGENERIC
-#else /* !__FreeBSD__ */
-#define SIOCSWAVELAN SIOCSIFASYNCMAP
-#endif /* __FreeBSD__ */
#endif
#ifndef SIOCGWAVELAN
-#ifdef __FreeBSD__
#define SIOCGWAVELAN SIOCGIFGENERIC
-#else /* !__FreeBSD__ */
-#define SIOCGWAVELAN SIOCGIFASYNCMAP
-#endif /* __FreeBSD__ */
#endif
/*