Fix the initialization of the protocol: o  Query the state field of the protocol mode to determine whether    we need to start and/or initialize the protocol. When we're    loaded across the network, the protocol has already been started    and is already initialized. When no networking has happened yet,    we have to start and initialize the protocol ourselves. o  After initialization, we have to set the receive filters. Not    doing this results in a deaf interface. We set the unicast and    broadcast filters. Multicast may not be supported. This specific    change fixes the problem we had that we could not netboot if    the loader was started from the EFI shell. o  To help future debugging, add a function that dumps the current    mode of the interface. It's conditional on EFINET_DEBUG. o  To help in runtime problems, emit a diagnostic message when we    could not initialize the protocol properly.
Fix the initialization of the protocol:
o  Query the state field of the protocol mode to determine whether
   we need to start and/or initialize the protocol. When we're
   loaded across the network, the protocol has already been started
   and is already initialized. When no networking has happened yet,
   we have to start and initialize the protocol ourselves.
o  After initialization, we have to set the receive filters. Not
   doing this results in a deaf interface. We set the unicast and
   broadcast filters. Multicast may not be supported. This specific
   change fixes the problem we had that we could not netboot if
   the loader was started from the EFI shell.
o  To help future debugging, add a function that dumps the current
   mode of the interface. It's conditional on EFINET_DEBUG.
o  To help in runtime problems, emit a diagnostic message when we
   could not initialize the protocol properly.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase