]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/net.h
sandbox: config: Enable driver model
[karo-tx-uboot.git] / include / net.h
index 7673470046f596263e170d0facbdffba74540299..0802fad8761364d97f04a799e91d01ca4cd2eb06 100644 (file)
@@ -89,7 +89,7 @@ struct eth_device {
        int  (*recv) (struct eth_device *);
        void (*halt) (struct eth_device *);
 #ifdef CONFIG_MCAST_TFTP
-       int (*mcast) (struct eth_device *, u32 ip, u8 set);
+       int (*mcast) (struct eth_device *, const u8 *enetaddr, u8 set);
 #endif
        int  (*write_hwaddr) (struct eth_device *);
        struct eth_device *next;
@@ -357,7 +357,7 @@ struct icmp_hdr {
                } echo;
                ulong   gateway;
                struct {
-                       ushort  __unused;
+                       ushort  unused;
                        ushort  mtu;
                } frag;
                uchar data[0];