Date: Mon, 21 Mar 2011 17:12:03 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r219839 - head/sys/dev/ath/ath_hal/ar5416 Message-ID: <201103211712.p2LHC32P013314@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Mon Mar 21 17:12:03 2011 New Revision: 219839 URL: http://svn.freebsd.org/changeset/base/219839 Log: This CLKDRV workaround should only be for AR5416 v2.0/2.1; the check was too strict and enabled it for all non AR5416-v2.2 chipsets - including later ones. Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c ============================================================================== --- head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c Mon Mar 21 15:51:22 2011 (r219838) +++ head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c Mon Mar 21 17:12:03 2011 (r219839) @@ -277,7 +277,8 @@ ar5416Attach(uint16_t devid, HAL_SOFTC s HAL_INI_INIT(&AH5416(ah)->ah_ini_bank7, ar5416Bank7, 2); HAL_INI_INIT(&AH5416(ah)->ah_ini_addac, ar5416Addac, 2); - if (!IS_5416V2_2(ah)) { /* Owl 2.1/2.0 */ + if (! AR_SREV_OWL_22_OR_LATER(ah)) { /* Owl 2.1/2.0 */ + ath_hal_printf(ah, "[ath] Enabling CLKDRV workaround for AR5416 < v2.2\n"); struct ini { uint32_t *data; /* NB: !const */ int rows, cols;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103211712.p2LHC32P013314>