Bug #1360
Atheros HAL update
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Low | Due 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).
Related todos
History
Updated by hasso about 4 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!
Updated by hasso about 4 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
Updated by polachok about 4 years ago
Sorry, forgot to check on clean sources (and change paths to relative). Try this
one.
Updated by hasso about 4 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
Updated by polachok about 4 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.
Updated by hasso about 4 years ago
Committed, thanks!