diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2017-01-22 10:17:40 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2017-01-22 10:17:40 +0000 |
commit | f6129f414cbe94169beb11dd59307556f48ba33a (patch) | |
tree | e5c7e9e39df56a638f353df59c91293716e91790 /sys/dev/isa/if_ie.c | |
parent | dc8502d359a9b47a4fc9b0ee84cfd6ce8b1cd350 (diff) |
move counting if_opackets next to counting if_obytes in if_enqueue.
this means packets are consistently counted in one place, unlike the
many and various ways that drivers thought they should do it.
ok mpi@ deraadt@
Diffstat (limited to 'sys/dev/isa/if_ie.c')
-rw-r--r-- | sys/dev/isa/if_ie.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/isa/if_ie.c b/sys/dev/isa/if_ie.c index ade5ef6d876..388e868c278 100644 --- a/sys/dev/isa/if_ie.c +++ b/sys/dev/isa/if_ie.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ie.c,v 1.52 2016/04/13 10:49:26 mpi Exp $ */ +/* $OpenBSD: if_ie.c,v 1.53 2017/01/22 10:17:38 dlg Exp $ */ /* $NetBSD: if_ie.c,v 1.51 1996/05/12 23:52:48 mycroft Exp $ */ /*- @@ -940,7 +940,6 @@ ietint(sc) printf("ietint: command still busy!\n"); if (status & IE_STAT_OK) { - ifp->if_opackets++; ifp->if_collisions += status & IE_XS_MAXCOLL; } else { ifp->if_oerrors++; |