Date: Thu, 5 Feb 2009 20:48:30 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r188191 - head/sys/dev/ath/ath_hal/ar5212 Message-ID: <200902052048.n15KmUvP038381@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sam Date: Thu Feb 5 20:48:30 2009 New Revision: 188191 URL: http://svn.freebsd.org/changeset/base/188191 Log: replace r/w idiom with OS_REG_SET_BIT (to match other code) Modified: head/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c Modified: head/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c ============================================================================== --- head/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c Thu Feb 5 20:44:06 2009 (r188190) +++ head/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c Thu Feb 5 20:48:30 2009 (r188191) @@ -990,9 +990,8 @@ ar5212PerCalibrationN(struct ath_hal *ah if (powerMeasI && powerMeasQ) break; /* Do we really need this??? */ - OS_REG_WRITE (ah, AR_PHY_TIMING_CTRL4, - OS_REG_READ(ah, AR_PHY_TIMING_CTRL4) | - AR_PHY_TIMING_CTRL4_DO_IQCAL); + OS_REG_SET_BIT(ah, AR_PHY_TIMING_CTRL4, + AR_PHY_TIMING_CTRL4_DO_IQCAL); } while (++i < IQ_CAL_TRIES); /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902052048.n15KmUvP038381>