linux-stable-rt/drivers/net/ibm_newemac
Valentine Barshak d09e18bc19 ibm_newemac: Call dev_set_drvdata() before tah_reset()
The patch moves dev_set_drvdata(&ofdev->dev, dev) up before tah_reset(ofdev)
is called to avoid a NULL pointer dereference, since tah_reset uses drvdata.

Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-12-07 15:09:06 -05:00
..
Kconfig
Makefile
core.c ibm_newemac: Fix typo reading TAH channel info 2007-12-07 15:09:06 -05:00
core.h ibm_newemac: Cleanup/fix support for STACR register variants 2007-12-07 15:09:06 -05:00
debug.c
debug.h
emac.h
mal.c fix EMAC driver for proper napi_synchronize API 2007-10-17 20:17:34 -04:00
mal.h
phy.c ibm_newemac: Add ET1011c PHY support 2007-12-07 15:09:05 -05:00
phy.h
rgmii.c ibm_newemac: Cleanup/Fix RGMII MDIO support detection 2007-12-07 15:09:06 -05:00
rgmii.h ibm_newemac: Cleanup/Fix RGMII MDIO support detection 2007-12-07 15:09:06 -05:00
tah.c ibm_newemac: Call dev_set_drvdata() before tah_reset() 2007-12-07 15:09:06 -05:00
tah.h
zmii.c ibm_newemac: Fix ZMII refcounting bug 2007-12-07 15:09:05 -05:00
zmii.h