FreeBSD/sys/dev/nxge/xgehal/xgehal-device.c
/**
 * xge_hal_reinitialize_hw
 * @hldev: private member of the device structure.
 *
 * This function will soft reset the NIC and re-initalize all the
 * I/O registers to the values they had after it's inital initialization
 * through the probe function.
 */
xge_hal_reinitialize_hw
@hldev: private member of the device structure.

This function will soft reset the NIC and re-initalize all the
I/O registers to the values they had after it's inital initialization
through the probe function.
xge_hal_reinitialize_hw @hldev : private member of the device structure . This function will soft reset the NIC and re - initalize all the I / O registers to the values they had after it ' s inital initialization through the probe function .
int xge_hal_reinitialize_hw(xge_hal_device_t * hldev)
{
	(void) xge_hal_device_reset(hldev);
	if (__hal_device_hw_initialize(hldev) != XGE_HAL_OK) {
	    xge_hal_device_terminate(hldev);
	    (void) __hal_device_reset(hldev);
	    return 1;
	}
	return 0;
}
int xge_hal_reinitialize_hw ( xge_hal_device_t * hldev ) { ( void ) xge_hal_device_reset ( hldev ) ; if ( __hal_device_hw_initialize ( hldev ) != XGE_HAL_OK ) { xge_hal_device_terminate ( hldev ) ; ( void ) __hal_device_reset ( hldev ) ; return 1 ; } return 0 ; }
xge_hal_reinitialize_hw
 @hldev: private member of the device structure.
xge_hal_reinitialize_hw @hldev : private member of the device structure .