# /home/anton/tmp/robsd/src-sys-em.diff Increase timeouts preventing spurious EEPROM checksum errors. Values taken from Linux. diff --git sys/dev/pci/if_em_hw.h sys/dev/pci/if_em_hw.h index 78340f3fed3..753a5e27cc3 100644 --- sys/dev/pci/if_em_hw.h +++ sys/dev/pci/if_em_hw.h @@ -3542,8 +3542,10 @@ struct em_host_command_info { #define IFE_PSCL_PROBE_LEDS_OFF 0x0006 /* Force LEDs 0 and 2 off */ #define IFE_PSCL_PROBE_LEDS_ON 0x0007 /* Force LEDs 0 and 2 on */ -#define ICH_FLASH_COMMAND_TIMEOUT 5000 /* 5000 uSecs - adjusted */ -#define ICH_FLASH_ERASE_TIMEOUT 3000000 /* Up to 3 seconds - worst case */ +/* Requires up to 10 seconds when MNG might be accessing part. */ +#define ICH_FLASH_COMMAND_TIMEOUT 10000000 +#define ICH_FLASH_ERASE_TIMEOUT 10000000 + #define ICH_FLASH_CYCLE_REPEAT_COUNT 10 /* 10 cycles */ #define ICH_FLASH_SEG_SIZE_256 256 #define ICH_FLASH_SEG_SIZE_4K 4096