git: netmap: properly store private device data

Franco Fichtner franco at crater.dragonflybsd.org
Thu Jan 2 16:08:18 PST 2014


commit 3efed4582e1ebd0c8309207701e0147a6a9b66d2
Author: Franco Fichtner <franco at lastsummer.de>
Date:   Fri Jan 3 01:02:10 2014 +0100

    netmap: properly store private device data
    
    Yes, one could go through the trouble of redefining the cdevpriv
    functions as macros returning wild errors, but it looks a lot
    cleaner in native code.

Summary of changes:
 sys/net/netmap/netmap.c         | 14 ++------------
 sys/net/netmap/netmap_freebsd.c | 23 ++++-------------------
 2 files changed, 6 insertions(+), 31 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3efed4582e1ebd0c8309207701e0147a6a9b66d2


-- 
DragonFly BSD source repository



More information about the Commits mailing list