Bug #1360

Atheros HAL update

Added by polachok about 5 years ago. Updated about 5 years ago.

Status:ClosedStart date:
Priority:LowDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Hi.
What do you think about updating hal part of the ath driver? It's about 2 years
old and it's binary. I got newer one from freebsd, it's open source and my
AR2423 is happy with it (couldn't find networks before).

ath.tgz (459 KB) polachok, 05/12/2009 10:36 AM

ath.tgz (459 KB) polachok, 05/12/2009 03:35 PM

History

#1 Updated by hasso about 5 years ago

Very positive. I'm sure that Sephe has comments as well, but I have been
waiting for free timeslot to do it myself from the moment it was open
sourced. I'm using newer binary hal at the moment:

ath0: <Atheros 5418> mem 0xf7f00000-0xf7f0ffff irq 11 at device 0.0 on pci3

I'll certainly give it a try later today. Thanks!

#2 Updated by hasso about 5 years ago

Mkay, doesn't work for me:

ath0: <Atheros 5416> mem 0xf7f00000-0xf7f0ffff irq 11 at device 0.0 on pci3
ath0: HAL ABI mismatch detected (HAL:0x8112800 != driver:0x7013100)
device_probe_and_attach: ath0 attach returned 6

#3 Updated by polachok about 5 years ago

Sorry, forgot to check on clean sources (and change paths to relative). Try this
one.

#4 Updated by hasso about 5 years ago

OK. Two questions to the submitter:

* How did you manage to make it compile and work with hal related includes
still pointing to the contrib/dev/ath ?

* And more important - where this hal is taken from? Tarball or repo? The
date? etc

After fixing includes it works for me, btw:

ath0: <Atheros 5416> mem 0xf7f00000-0xf7f0ffff irq 11 at device 0.0 on pci3
ath0: mac 12.10 phy 8.1 radio 12.0

#5 Updated by polachok about 5 years ago

> How did you manage to make it compile and work with hal related includes
still pointing to the contrib/dev/ath ?
I didn't. I moved new hal code to contrib/dev/ath and then forgot to check.

>* And more important - where this hal is taken from? Tarball or repo? The
date? etc
I got it straight from freebsd 7.2 kernel sources. It looks like the same code
as hosted at http://svn.freebsd.org/base/projects/ath_hal/ (seems like this repo
is official). Version is 08112800, so release date is 28.11.08.

#6 Updated by hasso about 5 years ago

Committed, thanks!

Also available in: Atom PDF