diff options
author | adrian <adrian@FreeBSD.org> | 2012-05-25 05:01:27 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-05-25 05:01:27 +0000 |
commit | d6bb741dfb281f0bbb1d8e2e4c57dd471d1bf910 (patch) | |
tree | f58721e274825c623378bf926219031813fe4c79 /sys/dev/ath/ath_hal/ah_internal.h | |
parent | f162edc8256cdf933668ed8a30625452e0400359 (diff) | |
download | FreeBSD-src-d6bb741dfb281f0bbb1d8e2e4c57dd471d1bf910.zip FreeBSD-src-d6bb741dfb281f0bbb1d8e2e4c57dd471d1bf910.tar.gz |
oops - ath_hal_disablepcie is actually destined for another purpose,
not to disable the PCIe PHY in prepration for reset.
Extend the enablepci method to have a "poweroff" flag, which if equal
to true means the hardware is about to go to sleep.
Diffstat (limited to 'sys/dev/ath/ath_hal/ah_internal.h')
-rw-r--r-- | sys/dev/ath/ath_hal/ah_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ath/ath_hal/ah_internal.h b/sys/dev/ath/ath_hal/ah_internal.h index b34d925..0353a9c 100644 --- a/sys/dev/ath/ath_hal/ah_internal.h +++ b/sys/dev/ath/ath_hal/ah_internal.h @@ -355,8 +355,8 @@ struct ath_hal_private { AH_PRIVATE(_ah)->ah_getNfAdjust(_ah, _c) #define ath_hal_getNoiseFloor(_ah, _nfArray) \ AH_PRIVATE(_ah)->ah_getNoiseFloor(_ah, _nfArray) -#define ath_hal_configPCIE(_ah, _reset) \ - (_ah)->ah_configPCIE(_ah, _reset) +#define ath_hal_configPCIE(_ah, _reset, _poweroff) \ + (_ah)->ah_configPCIE(_ah, _reset, _poweroff) #define ath_hal_disablePCIE(_ah) \ (_ah)->ah_disablePCIE(_ah) #define ath_hal_setInterrupts(_ah, _mask) \ |