Thread (5 messages) 5 messages, 3 authors, 2007-12-04

Re: [PATCH] SET_NETDEV_DEV() in fec_mpc52xx.c

From: Jeff Garzik <hidden>
Date: 2007-12-01 21:36:03
Also in: netdev

David Woodhouse wrote:
quoted hunk ↗ jump to hunk
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);
applied
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help