From dfe15779f3cbbf660af67061a0a3a04a5a70f6c3 Mon Sep 17 00:00:00 2001 From: Ganesh Venkatesan Date: Tue, 13 Apr 2004 05:40:07 -0400 Subject: [PATCH] [PATCH] e1000: fix eeprom update to include e1000_standby_eeprom A Bug in e1000_spi_eeprom_ready where the Chip Select bit wasn't being toggled after every status register read (if the eeprom wasn't ready after the first status register read). The call to e1000_standby_eeprom manages the CS bit correctly --- drivers/net/e1000/e1000_hw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/e1000/e1000_hw.c b/drivers/net/e1000/e1000_hw.c index 8caff9745dab7..de1446ff1f017 100644 --- a/drivers/net/e1000/e1000_hw.c +++ b/drivers/net/e1000/e1000_hw.c @@ -3344,6 +3344,7 @@ e1000_spi_eeprom_ready(struct e1000_hw *hw) udelay(5); retry_count += 5; + e1000_standby_eeprom(hw); } while(retry_count < EEPROM_MAX_RETRY_SPI); /* ATMEL SPI write time could vary from 0-20mSec on 3.3V devices (and -- 2.53.0