diff options
| author | Michael Brown | 2022-08-10 13:27:19 +0200 |
|---|---|---|
| committer | Michael Brown | 2022-08-10 13:29:45 +0200 |
| commit | 1b61c2118ca54a8d9ad71cc402e7c9f6094f4ec6 (patch) | |
| tree | d918a4946b552541ed41b9f39df5f5bdd2dc8b3c /src/drivers | |
| parent | [intelxl] Use function-level reset instead of PFGEN_CTRL.PFSWR (diff) | |
| download | ipxe-1b61c2118ca54a8d9ad71cc402e7c9f6094f4ec6.tar.gz ipxe-1b61c2118ca54a8d9ad71cc402e7c9f6094f4ec6.tar.xz ipxe-1b61c2118ca54a8d9ad71cc402e7c9f6094f4ec6.zip | |
[intelxl] Fix invocation of intelxlvf_admin_queues()
The second parameter to intelxlvf_admin_queues() is a boolean used to
select the VF opcode, rather than the raw VF opcode itself.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers')
| -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 e0e7dc610..d9922a7c6 100644 --- a/src/drivers/net/intelxlvf.c +++ b/src/drivers/net/intelxlvf.c @@ -510,7 +510,7 @@ static int intelxlvf_open ( struct net_device *netdev ) { return 0; err_promisc: - intelxlvf_admin_queues ( netdev, INTELXL_ADMIN_VF_DISABLE ); + intelxlvf_admin_queues ( netdev, 0 ); err_enable: err_irq_map: err_configure: |
