1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Fix ixgbe flow control autoneg reporting

Fix ixgbe reporting of flow control autoneg when running under DBG 1

Reviewed by:	erj
MFC after:	2 days
Sponsored by:	Multiplay
Differential Revision:	https://reviews.freebsd.org/D5089
This commit is contained in:
Steven Hartland 2016-01-31 15:18:03 +00:00
parent 1ebf555beb
commit 0e872751df
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295094

View File

@ -199,9 +199,12 @@ bool ixgbe_device_supports_autoneg_fc(struct ixgbe_hw *hw)
break;
}
ERROR_REPORT2(IXGBE_ERROR_UNSUPPORTED,
if (!supported) {
ERROR_REPORT2(IXGBE_ERROR_UNSUPPORTED,
"Device %x does not support flow control autoneg",
hw->device_id);
}
return supported;
}