File ipxe.igb_get_phy_id.patch of Package xen
From: Olaf Hering <olaf@aepfle.de>
Date: Wed, 24 Aug 2016 17:20:00 +0000
Subject: igb_get_phy_id
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
src/drivers/net/igb/igb_phy.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/src/drivers/net/igb/igb_phy.c
+++ b/src/drivers/net/igb/igb_phy.c
@@ -88,8 +88,8 @@ s32 igb_get_phy_id(struct e1000_hw *hw)
DEBUGFUNC("igb_get_phy_id");
- if (!(phy->ops.read_reg))
- goto out;
+ if (!(phy->ops.read_reg))
+ goto out;
ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id);
if (ret_val)