]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/ns8382x.c
net: dc2114x: Add initialized eth_device structure
[u-boot] / drivers / net / ns8382x.c
index bb5843815fc7bc46bbc622577005b5264a36a472..198f73dee695074486704523f365d5f4906212f7 100644 (file)
@@ -53,6 +53,7 @@
 #include <common.h>
 #include <malloc.h>
 #include <net.h>
+#include <netdev.h>
 #include <asm/io.h>
 #include <pci.h>
 
@@ -444,7 +445,7 @@ ns8382x_initialize(bd_t * bis)
        Read and write MII registers using software-generated serial MDIO
        protocol.  See the MII specifications or DP83840A data sheet for details.
 
-       The maximum data clock rate is 2.5 Mhz.  To meet minimum timing we
+       The maximum data clock rate is 2.5 MHz.  To meet minimum timing we
        must flush writes to the PCI bus with a PCI read. */
 #define mdio_delay(mdio_addr) INL(dev, mdio_addr)