Message ID | alpine.DEB.1.10.1010240417160.30241@artax.karlin.mff.cuni.cz (mailing list archive) |
---|---|
State | Awaiting Upstream |
Delegated to: | Helge Deller |
Headers | show |
Index: linux-2.6.36-rc8/drivers/net/e1000/e1000_hw.c =================================================================== --- linux-2.6.36-rc8.orig/drivers/net/e1000/e1000_hw.c 2010-10-24 04:01:03.000000000 +0200 +++ linux-2.6.36-rc8/drivers/net/e1000/e1000_hw.c 2010-10-24 04:25:22.000000000 +0200 @@ -3840,6 +3840,12 @@ s32 e1000_validate_eeprom_checksum(struc checksum += eeprom_data; } +#ifdef __hppa__ + /* This seems to be a signature and not a checksum on HP c8000 */ + if (eeprom_data == 0x16d6) + return E1000_SUCCESS; +#endif + if (checksum == (u16) EEPROM_SUM) return E1000_SUCCESS; else {