Re: HEADS UP: Atheros 802.11 support

From: Maxime Henrion <mux_at_freebsd.org>
Date: Sat, 28 Jun 2003 16:41:13 +0200
Sergey A. Osokin wrote:
> 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_at_ -I_at_/dev
> > > > -I_at_/. ./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
>                              / \

> 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
> _at__at_ -262,8 +262,10 _at__at_
>  #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"

Could you commit it please?  I'm pretty sure Sam will be happy to see
that people didn't wait for him to be online to fix such a trivial
compile fix.  If you really don't want to do it, I'll commit it myself.

Maxime
Received on Sat Jun 28 2003 - 05:41:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:13 UTC