[phantom] Skip command PEG initialisation if PEG is already running
authorMichael Brown <mcb30@etherboot.org>
Tue, 23 Sep 2008 22:36:55 +0000 (23:36 +0100)
committerMichael Brown <mcb30@etherboot.org>
Tue, 23 Sep 2008 22:36:55 +0000 (23:36 +0100)
commit4011f9d956e224ed245d54dcfcf5d152a5ca297d
tree69672ed63529c597155301d32b265f78dd770824
parent8b20e5d2b766dd6165a34b62f33a6bd92a68ed63
[phantom] Skip command PEG initialisation if PEG is already running

It is possible for the BIOS to use the UNDI API to bring up the NIC
prior to system boot.  If this happens, UNM_NIC_REG_CMDPEG_STATE will
contain the value 0xf00f (UNM_NIC_REG_CMDPEG_STATE_INITIALIZE_ACK),
and we should skip initialising the command PEG.
src/drivers/net/phantom/phantom.c