patch-2.4.22 linux-2.4.22/drivers/net/gmac.c
Next file: linux-2.4.22/drivers/net/hamradio/mkiss.c
Previous file: linux-2.4.22/drivers/net/eexpress.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
2003-08-25 04:44:42.000000000 -0700
- Orig file:
linux-2.4.21/drivers/net/gmac.c
- Orig date:
2002-11-28 15:53:13.000000000 -0800
diff -urN linux-2.4.21/drivers/net/gmac.c linux-2.4.22/drivers/net/gmac.c
@@ -1622,6 +1622,7 @@
gm->of_node = gmac;
if (!request_OF_resource(gmac, 0, " (gmac)")) {
printk(KERN_ERR "GMAC: can't request IO resource !\n");
+ gm->of_node = NULL;
goto out_unreg;
}
dev->base_addr = gmac->addrs[0].address;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)