svn commit: r302462 - head/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Fri Jul 8 21:35:45 UTC 2016


Author: adrian
Date: Fri Jul  8 21:35:44 2016
New Revision: 302462
URL: https://svnweb.freebsd.org/changeset/base/302462

Log:
  [ath] include ath_hal accessor macro changes.
  
  I missed this in the previous commit.

Modified:
  head/sys/dev/ath/if_athvar.h

Modified: head/sys/dev/ath/if_athvar.h
==============================================================================
--- head/sys/dev/ath/if_athvar.h	Fri Jul  8 21:34:39 2016	(r302461)
+++ head/sys/dev/ath/if_athvar.h	Fri Jul  8 21:35:44 2016	(r302462)
@@ -1370,9 +1370,12 @@ void	ath_intr(void *);
 	0, NULL) == HAL_OK)
 #define	ath_hal_gtxto_supported(_ah) \
 	(ath_hal_getcapability(_ah, HAL_CAP_GTXTO, 0, NULL) == HAL_OK)
-#define	ath_hal_has_long_rxdesc_tsf(_ah) \
-	(ath_hal_getcapability(_ah, HAL_CAP_LONG_RXDESC_TSF, \
-	0, NULL) == HAL_OK)
+#define	ath_hal_get_rx_tsf_prec(_ah, _pr) \
+	(ath_hal_getcapability((_ah), HAL_CAP_RXTSTAMP_PREC, 0, (_pr)) \
+	    == HAL_OK)
+#define	ath_hal_get_tx_tsf_prec(_ah, _pr) \
+	(ath_hal_getcapability((_ah), HAL_CAP_TXTSTAMP_PREC, 0, (_pr)) \
+	    == HAL_OK)
 #define	ath_hal_setuprxdesc(_ah, _ds, _size, _intreq) \
 	((*(_ah)->ah_setupRxDesc)((_ah), (_ds), (_size), (_intreq)))
 #define	ath_hal_rxprocdesc(_ah, _ds, _dspa, _dsnext, _rs) \


More information about the svn-src-all mailing list