From owner-cvs-src-old@FreeBSD.ORG Thu Jan 27 09:26:52 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74B4E1065780 for ; Thu, 27 Jan 2011 09:26:52 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 62BDC8FC19 for ; Thu, 27 Jan 2011 09:26:52 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p0R9QqMj064040 for ; Thu, 27 Jan 2011 09:26:52 GMT (envelope-from adrian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p0R9Qq3t064039 for cvs-src-old@freebsd.org; Thu, 27 Jan 2011 09:26:52 GMT (envelope-from adrian@repoman.freebsd.org) Message-Id: <201101270926.p0R9Qq3t064039@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to adrian@repoman.freebsd.org using -f From: Adrian Chadd Date: Thu, 27 Jan 2011 09:26:37 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ath/ath_hal/ar5416 ar5416_reset.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2011 09:26:52 -0000 adrian 2011-01-27 09:26:37 UTC FreeBSD src repository Modified files: sys/dev/ath/ath_hal/ar5416 ar5416_reset.c Log: SVN rev 217930 on 2011-01-27 09:26:37Z by adrian Initialise the chainmask from the EEPROM rather than the hard-coded defaults. The defaults enabled three chains on the AR5416 even if the card has two chains. This restores that and ensures that only the correct TX/RX chainmasks are used. When HT modes are enabled, all TX chains will be correctly enabled. This should now enable analog chain swapping with 2-chain cards. I'm not sure if this is needed for just the AR5416 or whether it also applies to AR9160, AR9280 and AR9287 (later on); I'll have to get clarification. Revision Changes Path 1.24 +30 -0 src/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c