From c68c424c140f23d9942a1fb866d491a7eb342743 Mon Sep 17 00:00:00 2001 From: Andrew Rybchenko Date: Sat, 24 Nov 2018 15:23:46 +0000 Subject: sfxge(4): fix build issue with PHY LED control enabled Fixed build issue with the EFSYS_OPT_PHY_LED_CONTROL for Huntigton and Medford. Submitted by: Vijay Srivastava Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D18110 --- sys/dev/sfxge/common/ef10_phy.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/dev/sfxge/common/ef10_phy.c') diff --git a/sys/dev/sfxge/common/ef10_phy.c b/sys/dev/sfxge/common/ef10_phy.c index 2d4e5780d0c5..5f9ec43a316f 100644 --- a/sys/dev/sfxge/common/ef10_phy.c +++ b/sys/dev/sfxge/common/ef10_phy.c @@ -283,7 +283,9 @@ ef10_phy_reconfigure( uint8_t payload[MAX(MC_CMD_SET_LINK_IN_LEN, MC_CMD_SET_LINK_OUT_LEN)]; uint32_t cap_mask; +#if EFSYS_OPT_PHY_LED_CONTROL unsigned int led_mode; +#endif unsigned int speed; boolean_t supported; efx_rc_t rc; -- cgit v1.2.3