svn commit: r356446 - stable/12/sys/contrib/dev/ath/ath_hal/ar9300

Bjoern A. Zeeb bz at FreeBSD.org
Tue Jan 7 16:44:20 UTC 2020


Author: bz
Date: Tue Jan  7 16:44:19 2020
New Revision: 356446
URL: https://svnweb.freebsd.org/changeset/base/356446

Log:
  MFC r351327:
  
    athhal: disable unused function (big endian only)
  
    Disable ar9300_swap_tx_desc() for the moment.  It is an unused
    function only tried to compile on big endian systems.

Modified:
  stable/12/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit_ds.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit_ds.c
==============================================================================
--- stable/12/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit_ds.c	Tue Jan  7 16:07:30 2020	(r356445)
+++ stable/12/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit_ds.c	Tue Jan  7 16:44:19 2020	(r356446)
@@ -26,9 +26,11 @@
 #include "ar9300/ar9300phy.h"
 #include "ah_devid.h"
 
+#if 0
 #if AH_BYTE_ORDER == AH_BIG_ENDIAN
 static void ar9300_swap_tx_desc(void *ds);
 #endif
+#endif
 
 void
 ar9300_tx_req_intr_desc(struct ath_hal *ah, void *ds)
@@ -174,6 +176,7 @@ ar9300_clear_dest_mask(struct ath_hal *ah, void *ds)
 }
 #endif
 
+#if 0
 #if AH_BYTE_ORDER == AH_BIG_ENDIAN
 /* XXX what words need swapping */
 /* Swap transmit descriptor */
@@ -192,6 +195,7 @@ ar9300_swap_tx_desc(void *dsp)
     ds->status7 = __bswap32(ds->status7);
     ds->status8 = __bswap32(ds->status8);
 }
+#endif
 #endif
 
 


More information about the svn-src-stable-12 mailing list