]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - cpu/mpc8xx/fec.c
* Vince Husovsky, 7 Nov 2002:
[karo-tx-uboot.git] / cpu / mpc8xx / fec.c
index d43dcaafdb612ea308e9e6c9016b13ff270847b5..d2e84089976b0dab3eb142a1a10c411ee5c7c78e 100644 (file)
@@ -76,6 +76,7 @@ int fec_initialize(bd_t *bis)
        struct eth_device* dev;
 
        dev = (struct eth_device*) malloc(sizeof *dev);
+       memset(dev, 0, sizeof *dev);
 
        sprintf(dev->name, "FEC ETHERNET");
        dev->iobase = 0;