From owner-cvs-all@FreeBSD.ORG Sun Jul 24 05:11:40 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7198616A41F; Sun, 24 Jul 2005 05:11:40 +0000 (GMT) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2809E43D45; Sun, 24 Jul 2005 05:11:40 +0000 (GMT) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j6O5BdV5078662; Sun, 24 Jul 2005 05:11:40 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j6O5Bd07078661; Sun, 24 Jul 2005 05:11:39 GMT (envelope-from sam) Message-Id: <200507240511.j6O5Bd07078661@repoman.freebsd.org> From: Sam Leffler Date: Sun, 24 Jul 2005 05:11:39 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/ath if_ath.c if_athvar.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jul 2005 05:11:40 -0000 sam 2005-07-24 05:11:39 UTC FreeBSD src repository Modified files: sys/dev/ath if_ath.c if_athvar.h Log: o fix setup of sc_diversity; the hal does not give us reliable status after attach, only after a reset o when setting diversity via the sysctl don't update sc_diversity until we know the hal requested worked o while here eliminate sc_hasdiversity and sc_hastpc; just query the hal each time since these are the only places we need to know MFC after: 3 days Revision Changes Path 1.98 +15 -10 src/sys/dev/ath/if_ath.c 1.28 +0 -2 src/sys/dev/ath/if_athvar.h