diff options
author | mdf <mdf@FreeBSD.org> | 2011-01-19 23:00:25 +0000 |
---|---|---|
committer | mdf <mdf@FreeBSD.org> | 2011-01-19 23:00:25 +0000 |
commit | 6b5f615b7cc6c75f8c09d1c988fd88ffea2ac4e1 (patch) | |
tree | 018d5bd56f39f833a692fc5bf63ac3aa9faf2d3b /sys/dev/cxgb | |
parent | b9c3284acce37464aa09aa152e7b09ac335fb83e (diff) | |
download | FreeBSD-src-6b5f615b7cc6c75f8c09d1c988fd88ffea2ac4e1.zip FreeBSD-src-6b5f615b7cc6c75f8c09d1c988fd88ffea2ac4e1.tar.gz |
Introduce signed and unsigned version of CTLTYPE_QUAD, renaming
existing uses. Rename sysctl_handle_quad() to sysctl_handle_64().
Diffstat (limited to 'sys/dev/cxgb')
-rw-r--r-- | sys/dev/cxgb/cxgb_sge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cxgb/cxgb_sge.c b/sys/dev/cxgb/cxgb_sge.c index b6e5e1c..d08463a 100644 --- a/sys/dev/cxgb/cxgb_sge.c +++ b/sys/dev/cxgb/cxgb_sge.c @@ -3541,7 +3541,7 @@ sysctl_handle_macstat(SYSCTL_HANDLER_ARGS) t3_mac_update_stats(&p->mac); PORT_UNLOCK(p); - return (sysctl_handle_quad(oidp, parg, 0, req)); + return (sysctl_handle_64(oidp, parg, 0, req)); } void @@ -3741,7 +3741,7 @@ t3_add_configured_sysctls(adapter_t *sc) * all that here. */ #define CXGB_SYSCTL_ADD_QUAD(a) SYSCTL_ADD_OID(ctx, poidlist, OID_AUTO, #a, \ - (CTLTYPE_QUAD | CTLFLAG_RD), pi, offsetof(struct mac_stats, a), \ + (CTLTYPE_U64 | CTLFLAG_RD), pi, offsetof(struct mac_stats, a), \ sysctl_handle_macstat, "QU", 0) CXGB_SYSCTL_ADD_QUAD(tx_octets); CXGB_SYSCTL_ADD_QUAD(tx_octets_bad); |