HomeFreeBSD

hyperv/hn: Move if_initname to an earlier place

Description

hyperv/hn: Move if_initname to an earlier place

So that functions shared w/ attach path could use if_printf().

While I'm here, remove unnecessary if_dunit and if_dname assignment.

MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D5576

Details

Provenance
sepheAuthored on
Differential Revision
D5576: hyperv/hn: Move if_initname to an earlier place
Parents
rS296592: Don't assume that bio_cmd is a bitfield.
Branches
Unknown
Tags
Unknown