alpha: Fix de2104x driver failing to readout MAC address correctly
authorMorten H. Larsen <m-larsen@post6.tele.dk>
Tue, 15 Jun 2010 17:24:58 +0000 (13:24 -0400)
committerMatt Turner <mattst88@gmail.com>
Tue, 15 Jun 2010 18:19:08 +0000 (14:19 -0400)
commit84cc1535cb9043ea1921b81cb086138c0f2dc2b9
treeecbd1c6f3a341863a33094dafc1a7f5fdecc0efd
parent932e0c201d28a728e25d3b641aa95bd28ceb08b4
alpha: Fix de2104x driver failing to readout MAC address correctly

This patch fixes a missing read memory barrier that is needed for the
driver to readout the MAC address correctly from the on-board ROM.
Also it replaces the use of the deprecated functions readl()/writel().

Signed-off-by: Morten H. Larsen <m-larsen@post6.tele.dk>
Signed-off-by: Matt Turner <mattst88@gmail.com>
drivers/net/tulip/de2104x.c