mirror of
https://github.com/ipxe/ipxe
synced 2026-02-14 02:31:26 +03:00
[intelxl] Use function-level reset instead of PFGEN_CTRL.PFSWR
Remove knowledge of the PFGEN_CTRL register (which changes location between XL710 and E810 register maps), and instead use PCIe FLR to reset the physical function. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -122,7 +122,7 @@ static int intelxlvf_reset_admin ( struct intelxl_nic *intelxl ) {
|
||||
goto err_command;
|
||||
|
||||
/* Wait for minimum reset time */
|
||||
mdelay ( INTELXL_RESET_DELAY_MS );
|
||||
mdelay ( INTELXLVF_RESET_DELAY_MS );
|
||||
|
||||
/* Wait for reset to take effect */
|
||||
if ( ( rc = intelxlvf_reset_wait_teardown ( intelxl ) ) != 0 )
|
||||
|
||||
Reference in New Issue
Block a user