HEADS UP: Atheros 802.11 support
Sergey A. Osokin
osa at FreeBSD.org
Sat Jun 28 07:12:21 PDT 2003
On Sat, Jun 28, 2003 at 10:09:13AM -0400, Justin Ma wrote:
> This is what I did for a quick fix:
>
> In sys/dev/ray/if_ray.c, comment out the line:
>
> #include <net/if_ieee80211.h>
>
> and add the lines
>
> #include <net80211/ieee80211_var.h>
> #include <net80211/ieee80211_ioctl.h>
>
> Just like Sam did with the 'wi' and the 'an' drivers.
> sys/net/if_iee80211.h was removed from the tree, I think.
>
> On Sat, 28 Jun 2003, Arjan van Leeuwen wrote:
>
> > Same here.
> >
> > On Saturday 28 June 2003 14:21, Sergey A. Osokin wrote:
> > > Hmm, looks like make depends failed...
> > >
> > > ===> ray
> > > rm -f .depend
> > > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/dev
> > > -I@/. ./include /usr/src/sys/modules/ray/../../dev/ray/if_ray.c
> > > /usr/src/sys/dev/ray/if_ray.c:265:30: net/if_ieee80211.h: No such file or
> > > directory
> > >
> > > mkdep: compile failed
> > > *** Error code 1
> > >
> > > Stop in /usr/src/sys/modules/ray.
> > > *** Error code 1
> > >
> > > Stop in /usr/src/sys/modules.
> > > *** Error code 1
Yes, you right. Patch attached.
--
Rgdz, /"\ ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ, \ / AGAINST HTML MAIL
http://ozz.pp.ru/ X AND NEWS
/ \
-------------- next part --------------
Index: src/sys/dev/ray/if_ray.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/ray/if_ray.c,v
retrieving revision 1.64
diff -u -r1.64 if_ray.c
--- src/sys/dev/ray/if_ray.c 28 Jun 2003 06:14:57 -0000 1.64
+++ src/sys/dev/ray/if_ray.c 28 Jun 2003 14:07:22 -0000
@@ -262,8 +262,10 @@
#include <net/if_arp.h>
#include <net/if_dl.h>
#include <net/if_media.h>
-#include <net/if_ieee80211.h>
#include <net/if_llc.h>
+
+#include <net80211/ieee80211.h>
+#include <net80211/ieee80211_ioctl.h>
#include <dev/pccard/pccardvar.h>
#include "card_if.h"
More information about the freebsd-current
mailing list