diff options
author | Mandeep Singh Baines <msb@google.com> | 2008-04-16 02:24:17 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-16 02:29:17 (GMT) |
commit | b131dd5d659aaf287a3809473130c3ff5eddb71b (patch) | |
tree | a65425bc2a4119b0e668dafa528d1f4e0286ff40 /init/noinitramfs.c | |
parent | 73e87e02ec484ac459c4be262ab76960b89dc019 (diff) | |
download | linux-b131dd5d659aaf287a3809473130c3ff5eddb71b.tar.xz |
[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 <msb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init/noinitramfs.c')
0 files changed, 0 insertions, 0 deletions