Subject: Re: atheros driver
To: David Young <>
From: Karl Janmar <>
List: tech-kern
Date: 05/16/2005 10:36:25
Aha, nice.

So you will update the sys/net80211 interface?
And any drivers?

I have already started transform freebsd if_ath.c to our ath.c by 
looking on your previous port. I think it feels a little bit awkward to 
manually do the ifdefing when the work needs to be done the next time 
they update their driver. ...or maybe it will be easier when the driver 
has stabilized a little bit more in the future.

Should I continue this work or are you already doing this?
- Karl

David Young wrote:
> On Thu, May 12, 2005 at 11:13:16PM +0200, Karl Janmar wrote:
>>I just purchased a new wlan card, a dlink DWL-G520 (PCI). When I boot I
>>get this message from the ath driver:
>>ath0 at pci2 dev 6 function 0
>>ath0: interrupting at irq 5
>>ath0: unable to attach hardware; HAL status 13
>>pcictl gives this:
>>002:06:0: Atheros Communications AR5212 Wireless LAN (ethernet network, 
>>revision 0x01)
>>I suspect that this have something to do with too old HAL version in the 
>>ath driver for this card?
>>So I have decided to take the bull by the horn and incooperate the 
>>newest changes from freebsd/madwifi.
>>Is it somebody who can give me some hints on how this is best/fastest 
>>done? Unfortunantly I have very limited time now and need a fast 
>>solution or I will use freebsd when doing my stuff with the card.
> Karl,
> I have imported net80211 from FreeBSD, resolved conflicts, and created
> some compatibility shims.  It was compiling when I ran out of time to
> work on it, and I put it aside.  By popular demand, I am going to pick
> it up again.
> Dave