summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2016-08-14 04:51:30 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2016-08-14 04:51:30 +0000
commitc8bad7398786039c9ef51020c5fffc2162bfd25b (patch)
tree685ef70c1888a02eff84a10a5015df2905231cce /sys
parent253670b1df694a861279cb3b7f5e4407fde7ef27 (diff)
u_quad_t -> uint64_t
de is amazing(tm). it really should be cut back and simplified a bit.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_devar.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/dev/pci/if_devar.h b/sys/dev/pci/if_devar.h
index a36ab4034cf..30c5585be33 100644
--- a/sys/dev/pci/if_devar.h
+++ b/sys/dev/pci/if_devar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_devar.h,v 1.37 2015/11/04 00:09:59 dlg Exp $ */
+/* $OpenBSD: if_devar.h,v 1.38 2016/08/14 04:51:29 dlg Exp $ */
/* $NetBSD: if_devar.h,v 1.13 1997/06/08 18:46:36 thorpej Exp $ */
/*-
@@ -568,15 +568,15 @@ struct _tulip_softc_t {
#define TULIP_PERF_TOTAL 2
#define TULIP_PERF_MAX 3
struct tulip_perfstats {
- u_quad_t perf_intr_cycles;
- u_quad_t perf_ifstart_cycles;
- u_quad_t perf_ifioctl_cycles;
- u_quad_t perf_ifwatchdog_cycles;
- u_quad_t perf_timeout_cycles;
- u_quad_t perf_txput_cycles;
- u_quad_t perf_txintr_cycles;
- u_quad_t perf_rxintr_cycles;
- u_quad_t perf_rxget_cycles;
+ uint64_t perf_intr_cycles;
+ uint64_t perf_ifstart_cycles;
+ uint64_t perf_ifioctl_cycles;
+ uint64_t perf_ifwatchdog_cycles;
+ uint64_t perf_timeout_cycles;
+ uint64_t perf_txput_cycles;
+ uint64_t perf_txintr_cycles;
+ uint64_t perf_rxintr_cycles;
+ uint64_t perf_rxget_cycles;
unsigned perf_intr;
unsigned perf_ifstart;
unsigned perf_ifioctl;
@@ -826,7 +826,7 @@ extern struct cfdriver de_cd;
(sc)->tulip_curperfstats.perf_ ## name++; \
} while (0)
#if defined(__i386__)
-typedef u_quad_t tulip_cycle_t;
+typedef uint64_t tulip_cycle_t;
static __inline__ tulip_cycle_t
TULIP_PERFREAD(
void)