On Thu, May 18, 2017 at 01:19:18PM +0800, Kevin Lo wrote:
> On Thu, May 18, 2017 at 02:40:49AM +0200, Stefan Sperling wrote:
> > athn0 at pci1 dev 0 function 0 "Atheros AR9300" rev 0x01: apic 2 int 16
> > athn0: AR9380 rev 3 (3T3R), ROM rev 0, address xx:xx:xx:xx:xx:xx

> Can't receive packets with my AR9382 card.

That is interesting, but there is no reason to reject my diff, I think.

> athn0: AR9380 rev 3 (2T2R), ROM rev 0, address 00:0e:8e:75:16:9a

My device is 3T3R, and yours is 2T2R.

It is unclear which rxchains are disabled on your device.
The rxchain mask could 0x5 or 0x03.

The driver has a few special cases for devices with less than 3 chains.
I think it we would be better try to fix this in-tree, after my diff
gets committed.

Note that it looks like Damien did not have hardware when he wrote this
driver. The log message of ar9003.c r1.1 says "AR9380 part is not tested
(hardware is not available to the general public yet)." and when the
first devices showed up in people's machines the kernel attached and
then crashed immediately (see r1.72 of athn.c) which is why this part
of the driver was eventually disabled (if_athn_pci.c r1.17).
So there remain quite a few bugs which need to be fixed.

It would be interesting to know how the FreeBSD driver handles your card.

Reply via email to