When registering the management character device node (/dev/mpi3mrN),
the driver previously created the device node first and then assigned its
internal adapter soft state pointer. Because creating the node publishes
it immediately to devfs, userland applications or monitoring daemons could
open and poll the device before the pointer was set, resulting in a null
pointer dereference.
Use make_dev_s() to atomically attach the driver's private state to the
device node before it is published to devfs. This eliminates the race
condition and ensures the driver state is always valid when opened.