From ea7edc3e47075908fbc209e54c638b773f7dc404 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sun, 3 Mar 2019 15:41:48 +0100 Subject: [PATCH] kernel/ixgbe: Fix buildkernel, re-apply 9e2814118aabe1f24cf00485. --- sys/dev/netif/ix/ixgbe_api.c | 2 ++ sys/dev/netif/ix/ixgbe_api.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sys/dev/netif/ix/ixgbe_api.c b/sys/dev/netif/ix/ixgbe_api.c index bd346db6aa..d98eaebbec 100644 --- a/sys/dev/netif/ix/ixgbe_api.c +++ b/sys/dev/netif/ix/ixgbe_api.c @@ -1361,6 +1361,7 @@ s32 ixgbe_bypass_rw(struct ixgbe_hw *hw, u32 cmd, u32 *status) IXGBE_NOT_IMPLEMENTED); } +#if 0 /** * ixgbe_bypass_valid_rd - Verify valid return from bit-bang. * @@ -1378,6 +1379,7 @@ bool ixgbe_bypass_valid_rd(struct ixgbe_hw *hw, u32 in_reg, u32 out_reg) return ixgbe_call_func(hw, hw->mac.ops.bypass_valid_rd, (in_reg, out_reg), IXGBE_NOT_IMPLEMENTED); } +#endif /** * ixgbe_bypass_set - Set a bypass field in the FW CTRL Regiter. diff --git a/sys/dev/netif/ix/ixgbe_api.h b/sys/dev/netif/ix/ixgbe_api.h index 6d89ddc7ad..a802b0ae9e 100644 --- a/sys/dev/netif/ix/ixgbe_api.h +++ b/sys/dev/netif/ix/ixgbe_api.h @@ -199,7 +199,9 @@ s32 ixgbe_get_fcoe_boot_status(struct ixgbe_hw *hw, u16 *bs); s32 ixgbe_bypass_rw(struct ixgbe_hw *hw, u32 cmd, u32 *status); s32 ixgbe_bypass_set(struct ixgbe_hw *hw, u32 cmd, u32 event, u32 action); s32 ixgbe_bypass_rd_eep(struct ixgbe_hw *hw, u32 addr, u8 *value); +#if 0 bool ixgbe_bypass_valid_rd(struct ixgbe_hw *hw, u32 in_reg, u32 out_reg); +#endif s32 ixgbe_dmac_config(struct ixgbe_hw *hw); s32 ixgbe_dmac_update_tcs(struct ixgbe_hw *hw); s32 ixgbe_dmac_config_tcs(struct ixgbe_hw *hw); -- 2.41.0