Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 533763d3 authored by Martin Gebert's avatar Martin Gebert Committed by Jeff Garzik
Browse files

[netdrvr] au1000_eth: Spinlock initialisation fix



Seems like the spinlock for the AU1x00 ethernet device is initialised too
late, as it is already used in enable_mac(), which is called via
mii_probe() before the init takes place.

The attached patch is working here for a Linux Au1100 2.6.22.6 kernel,
and as far as I checked should also be applicable to the current head
(just line numbers differ).

Signed-off-by: default avatarMartin Gebert <Martin.Gebert@alpha-bit.de>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 894d6276
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment