HomeFreeBSD

Convert etherswitch to use the make_dev_s(9) KPI. This fix a possible race

Description

Convert etherswitch to use the make_dev_s(9) KPI. This fix a possible race
where si_drv1 can be accessed before it gets set.

MFC after: 3 days
Suggested by: kib
Sponsored by: Rubicon Communications, LLC (Netgate)

Details

Provenance
loosAuthored on
Parents
rS311699: Make sure the 'Always-one' bit is always set to one,
Branches
Unknown
Tags
Unknown