diff options
author | mdf <mdf@FreeBSD.org> | 2011-01-12 19:53:56 +0000 |
---|---|---|
committer | mdf <mdf@FreeBSD.org> | 2011-01-12 19:53:56 +0000 |
commit | 8045b08e4df0219c258a95afc6a654c8ba4f3494 (patch) | |
tree | 8a1b3ef398eb3f730dd98cd8346c8e47be7d3821 /sys/dev/txp | |
parent | 5e41205b166387321bf83101cb158e537c71dc58 (diff) | |
download | FreeBSD-src-8045b08e4df0219c258a95afc6a654c8ba4f3494.zip FreeBSD-src-8045b08e4df0219c258a95afc6a654c8ba4f3494.tar.gz |
sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.
Commit the rest of the devices.
Diffstat (limited to 'sys/dev/txp')
-rw-r--r-- | sys/dev/txp/if_txp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/txp/if_txp.c b/sys/dev/txp/if_txp.c index 9396f4d..52d5c5f 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 |