]> git.karo-electronics.de Git - karo-tx-linux.git/commit
e1000: Fix driver to be used on PA RISC C8000 workstations
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 31 Aug 2011 00:58:56 +0000 (20:58 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 17 Aug 2012 19:35:14 +0000 (15:35 -0400)
commitcbacf3dd3f2c453e3accaaa6743e27164943b030
tree30396de0e6782bf92e8663c2baf1af58c3b2412c
parent099baedd2737726de44404344a342b2ead1db5bc
e1000: Fix driver to be used on PA RISC C8000 workstations

commit e2faeec2de9e2c73958e6ea6065dde1e8cd6f3a2 upstream.

The checksum field in the EEPROM on HPPA is really not a
checksum but a signature (0x16d6).  So allow 0x16d6 as the
matching checksum on HPPA systems.

This issue is present on longterm/stable kernels, I have
verified that this patch is applicable back to at least
2.6.32.y kernels.

v2- changed ifdef to use CONFIG_PARISC instead of __hppa__

CC: Guy Martin <gmsoft@tuxicoman.be>
CC: Rolf Eike Beer <eike-kernel@sf-tec.de>
CC: Matt Turner <mattst88@gmail.com>
Reported-by: Mikulas Patocka <mikulas@artax.kerlin.mff.cuni.cz>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/net/e1000/e1000_hw.c