linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] SET_NETDEV_DEV() in fec_mpc52xx.c
@ 2007-11-28 18:04 David Woodhouse
  2007-11-28 19:56 ` [PATCH] Stop phy code from returning success to unknown ioctls David Woodhouse
  2007-12-01 21:35 ` [PATCH] SET_NETDEV_DEV() in fec_mpc52xx.c Jeff Garzik
  0 siblings, 2 replies; 5+ messages in thread
From: David Woodhouse @ 2007-11-28 18:04 UTC (permalink / raw)
  To: jgarzik; +Cc: linuxppc-dev, Domen Puncer, netdev

This helps to allow the Fedora installer to use the built-in Ethernet on
the Efika for a network install.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>

--- a/drivers/net/fec_mpc52xx.c
+++ b/drivers/net/fec_mpc52xx.c
@@ -971,6 +971,8 @@ mpc52xx_fec_probe(struct of_device *op, const struct of_device_id *match)
 
 	mpc52xx_fec_reset_stats(ndev);
 
+	SET_NETDEV_DEV(ndev, &op->dev);
+
 	/* Register the new network device */
 	rv = register_netdev(ndev);
 	if (rv < 0)

-- 
dwmw2

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-12-04 20:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-28 18:04 [PATCH] SET_NETDEV_DEV() in fec_mpc52xx.c David Woodhouse
2007-11-28 19:56 ` [PATCH] Stop phy code from returning success to unknown ioctls David Woodhouse
2007-12-01 21:36   ` Jeff Garzik
2007-12-04 20:00   ` Andy Fleming
2007-12-01 21:35 ` [PATCH] SET_NETDEV_DEV() in fec_mpc52xx.c Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).