aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/txp
diff options
context:
space:
mode:
authorMatthew D Fleming <mdf@FreeBSD.org>2011-01-12 19:53:56 +0000
committerMatthew D Fleming <mdf@FreeBSD.org>2011-01-12 19:53:56 +0000
commit6dc7dc9a3ece89691444e906783892ccaa77a192 (patch)
tree8a1b3ef398eb3f730dd98cd8346c8e47be7d3821 /sys/dev/txp
parentf88910cdf5394e5f09c3408ef49d9ee65119b651 (diff)
Notes
Diffstat (limited to 'sys/dev/txp')
-rw-r--r--sys/dev/txp/if_txp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/txp/if_txp.c b/sys/dev/txp/if_txp.c
index 9396f4d9ecb9..52d5c5f8546e 100644
--- a/sys/dev/txp/if_txp.c
+++ b/sys/dev/txp/if_txp.c
@@ -2859,7 +2859,10 @@ txp_stats_update(struct txp_softc *sc, struct txp_rsp_desc *rsp)
#define TXP_SYSCTL_STAT_ADD32(c, h, n, p, d) \
SYSCTL_ADD_UINT(c, h, OID_AUTO, n, CTLFLAG_RD, p, 0, d)
-#if __FreeBSD_version > 800000
+#if __FreeBSD_version >= 900030
+#define TXP_SYSCTL_STAT_ADD64(c, h, n, p, d) \
+ SYSCTL_ADD_UQUAD(c, h, OID_AUTO, n, CTLFLAG_RD, p, d)
+#elif __FreeBSD_version > 800000
#define TXP_SYSCTL_STAT_ADD64(c, h, n, p, d) \
SYSCTL_ADD_QUAD(c, h, OID_AUTO, n, CTLFLAG_RD, p, d)
#else