mirror of
https://github.com/ipxe/ipxe
synced 2025-12-10 21:41:09 +03:00
[hermon] Stop firmware only once on shutdown
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -3739,7 +3739,6 @@ static void hermon_remove ( struct pci_device *pci ) {
|
|||||||
hermon_cmd_close_hca ( hermon );
|
hermon_cmd_close_hca ( hermon );
|
||||||
hermon_free_icm ( hermon );
|
hermon_free_icm ( hermon );
|
||||||
hermon_stop_firmware ( hermon );
|
hermon_stop_firmware ( hermon );
|
||||||
hermon_stop_firmware ( hermon );
|
|
||||||
for ( i = ( hermon->cap.num_ports - 1 ) ; i >= 0 ; i-- ) {
|
for ( i = ( hermon->cap.num_ports - 1 ) ; i >= 0 ; i-- ) {
|
||||||
netdev_nullify ( hermon->port[i].netdev );
|
netdev_nullify ( hermon->port[i].netdev );
|
||||||
netdev_put ( hermon->port[i].netdev );
|
netdev_put ( hermon->port[i].netdev );
|
||||||
|
|||||||
Reference in New Issue
Block a user