net/e1000: don't use the eeprom word size as timeout to get a semaphore
Nothing in the documentation suggests that the time to get a semaphore
depends on the size of the (optional) eeprom and I doubt there is a
relation. Given that 2048 is the maximal value for word_size unless a
flash is used to emulate the eeprom, pick 2049 as alternative arbitrary
value that probably doesn't result in regressions.

This drops the only user of ->word_size outside of eeprom.c which allows
easier restructurings there in the future.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 162ee2c commit eed09e73f335dc4ceb809a783b6be3fe78225257
@Uwe Kleine-König Uwe Kleine-König authored on 22 Nov 2017
Sascha Hauer committed on 24 Nov 2017
Showing 1 changed file
View
drivers/net/e1000/main.c