aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2008-11-30 21:59:44 +0000
committerSam Leffler <sam@FreeBSD.org>2008-11-30 21:59:44 +0000
commitfe7432d7f0b7f8af5092bc1eb579f7dca55600c3 (patch)
tree88047736938b68a83d5093e2e7fa586fe7c9fe86 /sys/dev/ath
parent1a2bea865bbee8672d7fe123e81115c1fbdc3298 (diff)
Notes
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/ath_rate/sample/sample.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/ath/ath_rate/sample/sample.c b/sys/dev/ath/ath_rate/sample/sample.c
index 05d4381f019f..15c88db48014 100644
--- a/sys/dev/ath/ath_rate/sample/sample.c
+++ b/sys/dev/ath/ath_rate/sample/sample.c
@@ -405,6 +405,9 @@ static const struct txschedule series_half[] = {
};
#undef H
+#ifdef Q
+#undef Q /* sun4v bogosity */
+#endif
#define Q(_r) \
(((_r) == 1.5) ? 0 : (((_r) ==2.25) ? 1 : (((_r) == 3) ? 2 : \
(((_r) == 4.5) ? 3 : (((_r) == 6) ? 4 : (((_r) == 9) ? 5 : \