Project

General

Profile

Actions

Bug #1360

closed

Atheros HAL update

Added by polachok over 15 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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).


Files

ath.tgz (459 KB) ath.tgz polachok, 05/12/2009 10:36 AM
ath.tgz (459 KB) ath.tgz polachok, 05/12/2009 03:35 PM
Actions #1

Updated by hasso over 15 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!

Actions #2

Updated by hasso over 15 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

Actions #3

Updated by polachok over 15 years ago

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

Actions #4

Updated by hasso over 15 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

Actions #5

Updated by polachok over 15 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.
Actions #6

Updated by hasso over 15 years ago

Committed, thanks!

Actions

Also available in: Atom PDF