diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2007-01-15 04:26:19 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2007-01-15 04:26:19 +0000 |
| commit | c5bebabde15c5f71a9c8244a95efe84753e89bbf (patch) | |
| tree | 09cfcab559c33dd2705eb02f7797d3abac956654 /sys/dev/ath | |
| parent | 9a71a3d5651538b745af2e8f84e3542c1ab67fac (diff) | |
Notes
Diffstat (limited to 'sys/dev/ath')
| -rw-r--r-- | sys/dev/ath/if_athvar.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/ath/if_athvar.h b/sys/dev/ath/if_athvar.h index 288a97724be9..25f6bf25074c 100644 --- a/sys/dev/ath/if_athvar.h +++ b/sys/dev/ath/if_athvar.h @@ -559,6 +559,11 @@ void ath_intr(void *); (((ah)->ah_regdomain == 0 && (ah)->ah_countryCode == 842) || \ (ah)->ah_regdomain == 0x12) #endif +#if HAL_ABI_VERSION < 0x06122400 +/* XXX yech, can't get to regdomain so just hack a compat shim */ +#define ath_hal_isgsmsku(ah) \ + ((ah)->ah_countryCode == 843) +#endif #define ath_hal_setuprxdesc(_ah, _ds, _size, _intreq) \ ((*(_ah)->ah_setupRxDesc)((_ah), (_ds), (_size), (_intreq))) |
