From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 3/4 v2] ks8851: companion eeprom access through ethtool Date: Thu, 06 May 2010 00:20:24 -0700 (PDT) Message-ID: <20100506.002024.191394263.davem@davemloft.net> References: <1273085155-1260-1-git-send-email-s-jan@ti.com> <1273085155-1260-4-git-send-email-s-jan@ti.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-omap@vger.kernel.org, x0066660@ti.com, ben-linux@fluff.org, Tristram.Ha@micrel.com To: s-jan@ti.com Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:47787 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755004Ab0EFHUR (ORCPT ); Thu, 6 May 2010 03:20:17 -0400 In-Reply-To: <1273085155-1260-4-git-send-email-s-jan@ti.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Sebastien Jan Date: Wed, 5 May 2010 20:45:54 +0200 > Accessing ks8851 companion eeprom permits modifying the ks8851 stored > MAC address. > > Example how to change the MAC address using ethtool, to set the > 01:23:45:67:89:AB MAC address: > $ echo "0:AB8976452301" | xxd -r > mac.bin > $ sudo ethtool -E eth0 magic 0x8870 offset 2 < mac.bin > > Signed-off-by: Sebastien Jan Applied.