]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'davinci_emac'
authorDavid S. Miller <davem@davemloft.net>
Mon, 24 Mar 2014 19:32:34 +0000 (15:32 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Mar 2014 19:32:34 +0000 (15:32 -0400)
commit7e15e4a0969779502e82146bbc0f057df40f3c41
tree06ca0a0ed579d0e8aaab3a7b0f2921f3c9c20855
parent8e5e22c2b505ab46469eb93f1b7592eca37dec1e
parente5252b9d261a33bd1ea66022e2f9d9beaf97cf16
Merge branch 'davinci_emac'

Christian Riesch says:

====================
net: davinci_emac: Fix interrupt requests and error handling

since commit 40c4b0a29b8a6ceb8b04ba76d3271dd00cebcd17 (Linux 3.11) the
davinci_emac driver is broken. After doing ifconfig down, ifconfig up,
requesting the interrupts for the driver fails. The interface remains dead
until the board is rebooted.

The first patch in this patchset reverts commit
40c4b0a29b8a6ceb8b04ba76d3271dd00cebcd17 partially and makes the driver
useable again.

During the work on the first patch, a number of bugs in the error handling
of the driver's ndo_open code were found. The second patch fixes these bugs.

I believe the first patch meets the rules for stable kernels, I therefore added
the stable tag to this patch. The second patch is just cleanup, the code
that is fixed by this patch is only executed in case of an error.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>