]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/uli526x.c
Merge branch 'master' of git://git.denx.de/u-boot-video
[u-boot] / drivers / net / uli526x.c
index 7145b722647e7c5db6e64d796f9fa316f7931b0f..9ea5ac2013b3e1d8c6900ca3a105a2a5d77aa447 100644 (file)
@@ -16,6 +16,7 @@
 #include <common.h>
 #include <malloc.h>
 #include <net.h>
+#include <netdev.h>
 #include <asm/io.h>
 #include <pci.h>
 #include <miiphy.h>
@@ -563,7 +564,7 @@ static int uli526x_rx_packet(struct eth_device *dev)
                        /* error summary bit check */
                        if (rdes0 & 0x8000) {
                                /* This is a error packet */
-                               printf("Eroor: rdes0: %lx\n", rdes0);
+                               printf("Error: rdes0: %x\n", rdes0);
                        }
 
                        if (!(rdes0 & 0x8000) ||