Date: Wed, 23 Mar 2011 11:16:06 +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: r219901 - head/tools/tools/ath/ath_ee_v14_print Message-ID: <201103231116.p2NBG6rI091812@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Wed Mar 23 11:16:06 2011 New Revision: 219901 URL: http://svn.freebsd.org/changeset/base/219901 Log: Oops, fix badness i must've introduced earlier. Modified: head/tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c Modified: head/tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c ============================================================================== --- head/tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c Wed Mar 23 11:09:04 2011 (r219900) +++ head/tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c Wed Mar 23 11:16:06 2011 (r219901) @@ -146,12 +146,12 @@ eeprom_v14_modal_print(uint16_t *buf, in MODAL_EEP_HEADER *mh = &eep->ee_base.modalHeader[m]; int i; - printf("| antCtrlCommon: 0x%.4x |\n", mh->antCtrlCommon); + printf("| antCtrlCommon: 0x%.8x |\n", mh->antCtrlCommon); printf("| switchSettling: 0x%.2x |\n", mh->switchSettling); printf("| adcDesiredSize: %d |\n| pgaDesiredSize: %.2f dBm |\n", mh->adcDesiredSize, (float) mh->pgaDesiredSize / 2.0); - printf("| antCtrlChain: 0:0x%.4x 1:0x%.4x 2:0x%.4x |\n", + printf("| antCtrlChain: 0:0x%.8x 1:0x%.8x 2:0x%.8x |\n", mh->antCtrlChain[0], mh->antCtrlChain[1], mh->antCtrlChain[2]); printf("| antennaGainCh: 0:0x%.2x 1:0x%.2x 2:0x%.2x |\n", mh->antennaGainCh[0], mh->antennaGainCh[1], mh->antennaGainCh[2]); @@ -288,9 +288,9 @@ eeprom_v14_calfreqpiers_print(uint16_t * for (n = 0; n < AR5416_MAX_CHAINS; n++) { printf(" Chain %d:\n", n); if (eep->ee_base.baseEepHeader.openLoopPwrCntl) - eeprom_v14_print_caldata_perfreq_op_loop((void *) (&eep->ee_base.calPierData2G[n][i])); + eeprom_v14_print_caldata_perfreq_op_loop((void *) (&eep->ee_base.calPierData5G[n][i])); else - eeprom_v14_print_caldata_perfreq(&eep->ee_base.calPierData2G[n][i]); + eeprom_v14_print_caldata_perfreq(&eep->ee_base.calPierData5G[n][i]); } } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103231116.p2NBG6rI091812>