Changeset 3626
- Timestamp:
- 05/12/08 04:01:57 (8 months ago)
- Files:
-
- madwifi/trunk/ath/if_ath.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
madwifi/trunk/ath/if_ath.c
r3623 r3626 165 165 static int ath_desc_alloc(struct ath_softc *); 166 166 static void ath_desc_free(struct ath_softc *); 167 static __inline void ath_desc_swap(struct ath_desc *);168 static __inline u_int32_t ath_ds_link_swap(u_int32_t);169 167 170 168 #ifdef IEEE80211_DEBUG_REFCNT … … 1772 1770 1773 1771 return result; 1772 } 1773 1774 /* Swap transmit descriptor pointer for HW. */ 1775 static __inline u_int32_t 1776 ath_ds_link_swap(u_int32_t dp) { 1777 #ifdef AH_NEED_DESC_SWAP 1778 return swab32(dp); 1779 #else 1780 return (dp); 1781 #endif 1774 1782 } 1775 1783 … … 2896 2904 ds->ds_hw[0] = cpu_to_le32(ds->ds_hw[0]); 2897 2905 ds->ds_hw[1] = cpu_to_le32(ds->ds_hw[1]); 2898 #endif2899 }2900 2901 /* Swap transmit descriptor pointer for HW. */2902 static __inline u_int32_t2903 ath_ds_link_swap(u_int32_t dp) {2904 #ifdef AH_NEED_DESC_SWAP2905 return swab32(dp);2906 #else2907 return (dp);2908 2906 #endif 2909 2907 }
