Deleted Added
full compact
35c35
< __FBSDID("$FreeBSD: stable/10/sys/dev/sfxge/sfxge.c 293946 2016-01-14 15:07:02Z arybchik $");
---
> __FBSDID("$FreeBSD: stable/10/sys/dev/sfxge/sfxge.c 293970 2016-01-14 15:41:03Z arybchik $");
104a105,111
> #define SFXGE_PARAM_RESTART_ATTEMPTS SFXGE_PARAM(restart_attempts)
> static int sfxge_restart_attempts = 3;
> TUNABLE_INT(SFXGE_PARAM_RESTART_ATTEMPTS, &sfxge_restart_attempts);
> SYSCTL_INT(_hw_sfxge, OID_AUTO, restart_attempts, CTLFLAG_RDTUN,
> &sfxge_restart_attempts, 0,
> "Maximum number of attempts to bring interface up after reset");
>
1021c1028
< for (attempt = 0; attempt < 3; ++attempt) {
---
> for (attempt = 0; attempt < sfxge_restart_attempts; ++attempt) {