[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:
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user