From: Mandeep Singh Baines Date: Wed, 16 Apr 2008 02:24:17 +0000 (-0700) Subject: [ETHTOOL]: Add support for large eeproms X-Git-Tag: v2.6.26-rc1~1138^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b131dd5d659aaf287a3809473130c3ff5eddb71b;p=pandora-kernel.git [ETHTOOL]: Add support for large eeproms Currently, it is not possible to read/write to an eeprom larger than 128k in size because the buffer used for temporarily storing the eeprom contents is allocated using kmalloc. kmalloc can only allocate a maximum of 128k depending on architecture. Modified ethtool_get/set_eeprom to only allocate a page of memory and then copy the eeprom a page at a time. Updated original patch as per suggestions from Joe Perches. Signed-off-by: Mandeep Singh Baines Signed-off-by: David S. Miller --- Reading git-diff-tree failed