[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080415.192426.21456164.davem@davemloft.net>
Date: Tue, 15 Apr 2008 19:24:26 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: msb@...gle.com
Cc: netdev@...r.kernel.org, jeff@...zik.org, joe@...ches.com,
nil@...gle.com, thockin@...gle.com, matthew@....cx
Subject: Re: [PATCH] [ETHTOOL]: Add support for large eeproms
From: Mandeep Singh Baines <msb@...gle.com>
Date: Mon, 14 Apr 2008 11:03:38 -0700
> 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@...gle.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists