git: pktgen - fix to work with devfs
Alex Hornung
alexh at crater.dragonflybsd.org
Mon Aug 17 01:52:02 PDT 2009
commit 4b3b3198a6c12789bdbe2a787e334ef09833420e
Author: Alex Hornung <ahornung at gmail.com>
Date: Mon Aug 17 10:09:14 2009 +0100
pktgen - fix to work with devfs
* Remove usage of dev_ops_add
* Move make_dev from open to MOD_LOAD
* Change dev_ops_remove to dev_ops_remove_all
NOTE: This limits pktgen to only one device, but pktgenctl doesn't
seem to use more than one anyways, as it defaults to open
pktg0.
Summary of changes:
tools/tools/netrate/pktgen/pktgen.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4b3b3198a6c12789bdbe2a787e334ef09833420e
--
DragonFly BSD source repository
More information about the Commits
mailing list