[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120719.105025.1954172029358314227.davem@davemloft.net>
Date: Thu, 19 Jul 2012 10:50:25 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: christian.riesch@...cron.at
Cc: netdev@...r.kernel.org, allan@...x.com.tw, kernel@...savvy.com,
grundler@...omium.org
Subject: Re: [PATCH net-next 1/2] asix: Rework reading from EEPROM
From: Christian Riesch <christian.riesch@...cron.at>
Date: Thu, 19 Jul 2012 12:23:06 +0200
> The current code for reading the EEPROM via ethtool in the asix
> driver has a few issues. It cannot handle odd length values
> (accesses must be aligned at 16 bit boundaries) and interprets the
> offset provided by ethtool as 16 bit word offset instead as byte offset.
>
> The new code for asix_get_eeprom() introduced by this patch is
> modeled after the code in
> drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c
> and provides read access to the entire EEPROM with arbitrary
> offsets and lengths.
>
> Signed-off-by: Christian Riesch <christian.riesch@...cron.at>
Applied.
--
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