Searched hist:219315 (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.2-release/sys/dev/ath/
H A Dah_osdep.cdiff 219315 Sat Mar 05 21:26:51 MST 2011 adrian Change HALDEBUG() to be a macro that conditionally calls the debug output routine.

The earlier way of doing debugging would evaluate the function parameters
before calling the HALDEBUG. In the case of detailed register debugging
would mean a -lot- of unneeded register IO and other stuff was going on.

This method evaluates the ath_hal_debug variable before the function
parameters are evaluated, drastically reducing the amount of overhead
enabling HAL debugging during compilation.
/freebsd-10.2-release/sys/dev/ath/ath_hal/
H A Dah_internal.hdiff 219315 Sat Mar 05 21:26:51 MST 2011 adrian Change HALDEBUG() to be a macro that conditionally calls the debug output routine.

The earlier way of doing debugging would evaluate the function parameters
before calling the HALDEBUG. In the case of detailed register debugging
would mean a -lot- of unneeded register IO and other stuff was going on.

This method evaluates the ath_hal_debug variable before the function
parameters are evaluated, drastically reducing the amount of overhead
enabling HAL debugging during compilation.

Completed in 139 milliseconds