Fix an issue initially reported by drahn@ with gem(4) where these
authorbrad <brad@openbsd.org>
Sat, 30 Aug 2008 07:39:12 +0000 (07:39 +0000)
committerbrad <brad@openbsd.org>
Sat, 30 Aug 2008 07:39:12 +0000 (07:39 +0000)
commitb081b93164b2fbffdd0b23fed9f434ebb94020a1
treef6953c26a3639288015698d69503809352b6f5d0
parent1e38a228c8910d10005e627b5665a22a0f520dc5
Fix an issue initially reported by drahn@ with gem(4) where these
drivers can report 2-3x times the number of actual packets being
transmitted by only incrementing the counter for descriptors with
buffers being freed.

ok kettenis@
sys/dev/ic/gem.c
sys/dev/pci/if_cas.c