diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-06-24 09:40:56 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-06-24 09:40:56 +0000 |
commit | ee49ce9ce8936e7fbb0ed99da45133d8fc372ef2 (patch) | |
tree | 6e68c8d10c737f74759fbbb728e59ba96772fdb4 /sys/dev/pci/if_stge.c | |
parent | 6f311cd2637c672a39862ca5d613b5a66dc6060b (diff) |
Increment if_ipackets in if_input().
Note that pseudo-drivers not using if_input() are not affected by this
conversion.
ok mikeb@, kettenis@, claudio@, dlg@
Diffstat (limited to 'sys/dev/pci/if_stge.c')
-rw-r--r-- | sys/dev/pci/if_stge.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/pci/if_stge.c b/sys/dev/pci/if_stge.c index 5afbe346e44..8b4672db272 100644 --- a/sys/dev/pci/if_stge.c +++ b/sys/dev/pci/if_stge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_stge.c,v 1.60 2015/04/30 07:51:07 mpi Exp $ */ +/* $OpenBSD: if_stge.c,v 1.61 2015/06/24 09:40:54 mpi Exp $ */ /* $NetBSD: if_stge.c,v 1.27 2005/05/16 21:35:32 bouyer Exp $ */ /*- @@ -1035,9 +1035,6 @@ stge_stats_update(struct stge_softc *sc) (void) CSR_READ_4(sc, STGE_OctetRcvOk); - ifp->if_ipackets += - CSR_READ_4(sc, STGE_FramesRcvdOk); - ifp->if_ierrors += (u_int) CSR_READ_2(sc, STGE_FramesLostRxErrors); |