diff options
author | Michael Brown <mcb30@ipxe.org> | 2022-03-17 13:45:31 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2022-08-08 16:43:36 +0100 |
commit | a202de385dcb9c15a1b2b3fd339abbe721ed5c86 (patch) | |
tree | a7f7f0f081af119b13c44f6940d8dc8d24c7a4e4 /src/drivers/net/intelxlvf.c | |
parent | 0965cec53c9e421f900bb050b1c83196a0a5687b (diff) | |
download | ipxe-a202de385dcb9c15a1b2b3fd339abbe721ed5c86.tar.gz |
[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>
Diffstat (limited to 'src/drivers/net/intelxlvf.c')
-rw-r--r-- | src/drivers/net/intelxlvf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/net/intelxlvf.c b/src/drivers/net/intelxlvf.c index b5957a53b..e0e7dc610 100644 --- a/src/drivers/net/intelxlvf.c +++ b/src/drivers/net/intelxlvf.c @@ -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 ) |