Bump the network interface cloning API to what is in 5.x with the following
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 30 Dec 2003 03:56:04 +0000 (03:56 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 30 Dec 2003 03:56:04 +0000 (03:56 +0000)
commitb7b982e2fe2a281ccbae6b6469160e979a6a59e8
tree98c7789cddea1d859b125cf0838e49ae24b678f5
parent59e0e737b05f53e9be14e85b59ccc3a611e8cd3f
Bump the network interface cloning API to what is in 5.x with the following
nice additions:

1) All if_unit allocations are handled in the cloner common case
removing a lot of (repetitive) code from callers as well as the rman.h
dependency.

2) Initial device instances are created when the cloner is attached.

Submitted-by: Max Laier <max@love2party.net>
Testing-by: David Rhodus <drhodus@machdep.com>
sys/net/faith/if_faith.c
sys/net/gif/if_gif.c
sys/net/gre/if_gre.c
sys/net/if.c
sys/net/if.h
sys/net/vlan/if_vlan.c