aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/net/intelxl.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2022-03-17 13:45:31 +0000
committerMichael Brown <mcb30@ipxe.org>2022-08-08 16:43:36 +0100
commita202de385dcb9c15a1b2b3fd339abbe721ed5c86 (patch)
treea7f7f0f081af119b13c44f6940d8dc8d24c7a4e4 /src/drivers/net/intelxl.h
parent0965cec53c9e421f900bb050b1c83196a0a5687b (diff)
downloadipxe-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/intelxl.h')
-rw-r--r--src/drivers/net/intelxl.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/drivers/net/intelxl.h b/src/drivers/net/intelxl.h
index f3b81e6ad..f3588bd34 100644
--- a/src/drivers/net/intelxl.h
+++ b/src/drivers/net/intelxl.h
@@ -985,13 +985,6 @@ intelxl_init_ring ( struct intelxl_ring *ring, unsigned int count, size_t len,
INTELXL_QINT_TQCTL_NEXTQ_TYPE ( 0x1 ) /**< Transmit queue */
#define INTELXL_QINT_TQCTL_CAUSE_ENA 0x40000000UL /**< Enable */
-/** PF Control Register */
-#define INTELXL_PFGEN_CTRL 0x092400
-#define INTELXL_PFGEN_CTRL_PFSWR 0x00000001UL /**< Software Reset */
-
-/** Time to delay for device reset, in milliseconds */
-#define INTELXL_RESET_DELAY_MS 100
-
/** Function Requester ID Information Register */
#define INTELXL_PFFUNC_RID 0x09c000
#define INTELXL_PFFUNC_RID_FUNC_NUM(x) \