mirror of https://github.com/ipxe/ipxe.git
[arbel] Stop firmware only once on shutdown
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/5/head
parent
935df352e6
commit
08f122ae42
|
|
@ -2819,7 +2819,6 @@ static void arbel_remove ( struct pci_device *pci ) {
|
||||||
arbel_cmd_close_hca ( arbel );
|
arbel_cmd_close_hca ( arbel );
|
||||||
arbel_free_icm ( arbel );
|
arbel_free_icm ( arbel );
|
||||||
arbel_stop_firmware ( arbel );
|
arbel_stop_firmware ( arbel );
|
||||||
arbel_stop_firmware ( arbel );
|
|
||||||
free_dma ( arbel->mailbox_out, ARBEL_MBOX_SIZE );
|
free_dma ( arbel->mailbox_out, ARBEL_MBOX_SIZE );
|
||||||
free_dma ( arbel->mailbox_in, ARBEL_MBOX_SIZE );
|
free_dma ( arbel->mailbox_in, ARBEL_MBOX_SIZE );
|
||||||
for ( i = ( ARBEL_NUM_PORTS - 1 ) ; i >= 0 ; i-- )
|
for ( i = ( ARBEL_NUM_PORTS - 1 ) ; i >= 0 ; i-- )
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue