ath(4) at boot time

Francis Gudin fgudin at nerim.net
Tue Jul 17 12:01:42 PDT 2007


Hello,

First of all: Thanks for the recent cardbus/pccard update ! Now, my
DLink DWL-G650 is functional (before that, it just kept saying "HAL
status 3", that's now fixed).

I've hit a small hurdle though: even if 'if_ath_load="YES"' is present
into /boot/loader.conf (and the loader indeed does its job, loading
if_ath.ko, wlan.ko, ath_hal.ko and ath_rate.ko), it seems cardbus(4)
doesn't handle the probe to ath(4) resulting in the following during
kernel init:

 cardbus0: <unknown card> (vendor=0x168c, dev=0x0013) at 0.0 irq 222

When logged in, I can issue "kldload if_ath", without behind insulted
("File exists"), and the kernel loads *again* those 4 modules and
detects the card properly:

 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
 ath0: <Atheros 5212> mem 0x88010000-0x8801ffff irq 10 at device 0.0 on cardbus0
 ath0: MAC address: 00:0f:3d:ab:ce:f4
 ath0: mac 5.9 phy 4.3 radio 4.6

I'm absolutely not a coder, but digging through src/sys/dev/ath, I
noticed there was no SYSINIT in there. Would it be simply a matter of
adding that macro ?

Thanks for any pointer.

Regards,

--
Francis





More information about the Users mailing list