The following reply was made to PR kern/146517; it has been noted by GNATS.
From: Rui Paulo <rpa...@freebsd.org> To: Alex Kozlov <s...@rm-rf.kiev.ua> Cc: bug-follo...@freebsd.org, vi...@unsane.co.uk Subject: Re: kern/146517: [ath] [wlan] device timeouts for ath wlan device on recent stable. Date: Sat, 26 Jun 2010 21:52:11 +0100 On 22 Jun 2010, at 14:35, Alex Kozlov wrote: > On Mon, Jun 21, 2010 at 05:30:30PM +0100, Rui Paulo wrote: >> On 21 Jun 2010, at 15:38, Alex Kozlov wrote: >>> On Mon, May 31, 2010 at 07:30:04PM +0000, Rui Paulo wrote: >>>>> I confirm this. Atheros 9280, work fine with 8.0R usb stick, >>>>> timeout after few pings with 8.1-BETA1. >>>>> I can try to find a particular commit, that causes this >>>>> regression, if its help. >>>> Yes, please. >>> Sorry for the delay. I think that the culprit is r203959. >> Please try this patch. > Patch does not help, but if I change line in AR_SREV_MERLIN_20 from > AH_PRIVATE((_ah))->ah_macRev == AR_XSREV_REVISION_MERLIN_20 > to > AH_PRIVATE((_ah))->ah_macRev >= AR_XSREV_REVISION_MERLIN_20 > net works again. I think this is the correct version. Can you try? Index: ar5416/ar5416reg.h =================================================================== --- ar5416/ar5416reg.h (revision 209522) +++ ar5416/ar5416reg.h (working copy) @@ -611,8 +611,8 @@ (AR_SREV_MERLIN(_ah) && \ AH_PRIVATE((_ah))->ah_macRev == AR_XSREV_REVISION_MERLIN_20) #define AR_SREV_MERLIN_20_OR_LATER(_ah) \ - (AR_SREV_MERLIN_20(_ah) || \ - AH_PRIVATE((_ah))->ah_macVersion > AR_XSREV_VERSION_MERLIN) + (AR_SREV_MERLIN(_ah) || \ + AH_PRIVATE((_ah))->ah_macVersion >= AR_XSREV_VERSION_MERLIN_20) #define AR_SREV_KITE(_ah) \ (AH_PRIVATE((_ah))->ah_macVersion == AR_XSREV_VERSION_KITE) Regards, -- Rui Paulo _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"