git: pktgen - fix to work with devfs

看板DFBSD_commit作者時間16年前 (2009/08/17 17:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 4b3b3198a6c12789bdbe2a787e334ef09833420e Author: Alex Hornung <ahornung@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
文章代碼(AID): #1AYHnOeq (DFBSD_commit)