Quoting Reyk Floeter <[EMAIL PROTECTED]>:

> Hi,
>
> On Wed, May 24, 2006 at 06:01:21PM -0400, Bryan Chapman wrote:
> > I have been trying to get a wireless card that works on openbsd.  I bought
> the
> > dwl-g520 (revision B) because it should run under the ath driver.
> >
> > ath0 at pci1 dev 9 function 0 "Atheros AR5212" rev 0x01: irq 10
> > ath0: AR5213 7.9 phy 4.5 rf2112a 5.6: RF radio not supported
> >
> > The dmesg says that the radio is not supported, however this card is
> supported
> > with the ath driver provided in Freebsd 6.  Is there any chance that it is
> only
> > a trival change to allow this card to work?
> >
>
> You can try the attached diff and report the results. The rf2112 is an
> unsupported chipset, but please try if it works in 11b mode for you.
>
> > On a side note there is a page fault everytime the system is reboot:
> >
> > Syncing disks... done
> > uvm_fault(0xd69fd44c, 0x0, 0, 1) -> e
> > Kernel: page fault trap, code=0
> > Stopped at   ath_stop+0xe: movl 0xbb0(%esi),%edi
> >
>
> This should have been fixed in -current.
>
> > I would have provided the output of ps and trace but that is a lot of
> copying by
> > hand if no one wants to look at it.  If anyone wants it, I can include it.
> >
>
> reyk
>
> Index: ath.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/ic/ath.c,v
> retrieving revision 1.49
> diff -u -p -r1.49 ath.c
> --- ath.c     8 May 2006 18:32:11 -0000       1.49
> +++ ath.c     24 May 2006 23:08:57 -0000
> @@ -252,12 +252,14 @@ ath_attach(u_int16_t devid, struct ath_s
>                   ah->ah_radio_2ghz_revision & 0xf);
>       }
>
> +#if 0
>       if (ah->ah_radio_5ghz_revision >= AR5K_SREV_RAD_UNSUPP ||
>           ah->ah_radio_2ghz_revision >= AR5K_SREV_RAD_UNSUPP) {
>               printf(": RF radio not supported\n");
>               error = EOPNOTSUPP;
>               goto bad;
>       }
> +#endif
>
>       sc->sc_ah = ah;
>       sc->sc_invalid = 0;     /* ready to go, enable interrupt handling */
>

This diff changes the output of the dmesg to the following for ath0:

ath0 at pci1 dev 9 function 0 "Atheros AR5212" rev 0x01: irq 10
ath0: AR5213 7.9 phy 4.5 rf2112a 5.6, FCC1A, address 00:11:95:bd:f5:30

However I am not able to connect to any networks.  And on a side note, the
kernel panic goes away.

--
There are no stupid questions, but there are a lot of inquisitive idiots.

Reply via email to