e1000: "fix" it on thinkpad x60

Pavel Machek
2006-07-20T15:59:23Z

e1000 in thinkpad x60 fails without this dirty hack. What to do with
it?

Signed-off-by: Pavel Machek <pavel@suse.cz>

---
commit 6414eba4f65ded35f3a8f2d61261d1134e292506
tree e6560bba2cc0d18b76075e6b5db415d6c0c31db3
parent fa6f216422f9020c06dd1137aec8c72224cbe440
author <pavel@amd.ucw.cz> Fri, 21 Jul 2006 02:16:52 +0200
committer <pavel@amd.ucw.cz> Fri, 21 Jul 2006 02:16:52 +0200

drivers/net/e1000/e1000_main.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
index 6e7d31b..808c442 100644
--- a/drivers/net/e1000/e1000_main.c
+++ b/drivers/net/e1000/e1000_main.c
@@ -842,8 +842,10 @@ e1000_probe(struct pci_dev *pdev,

if (e1000_validate_eeprom_checksum(&adapter->hw) < 0) {
DPRINTK(PROBE, ERR, "The EEPROM Checksum Is Not Valid\n");
+/*
err = -EIO;
goto err_eeprom;
+*/
}

/* copy the MAC address out of the EEPROM */

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html