]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ibm_newemac: Fix ZMII refcounting bug
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 5 Dec 2007 00:14:27 +0000 (11:14 +1100)
committerJeff Garzik <jeff@garzik.org>
Fri, 7 Dec 2007 20:09:05 +0000 (15:09 -0500)
commit968530643a0685caced9dfd6f72f20d5e7bc8fbb
treea56c14b1c7df99569b5d3e6fbeb3e7433c9f2d72
parent8df4538e21f7313a29fa6c5af78c08a135d44738
ibm_newemac: Fix ZMII refcounting bug

When using ZMII for MDIO only (such as 440GX with RGMII for data and ZMII for
MDIO), the ZMII code would fail to properly refcount, thus triggering a
BUG_ON().

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Stefan Roese <sr@denx.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ibm_newemac/zmii.c