Add NETIF_FLAG_ETHARP flag and comments in this skeleton.

This commit is contained in:
fbernon 2007-03-30 10:32:57 +00:00
parent f1412f5e5a
commit f75be85eea

View File

@ -78,8 +78,9 @@ low_level_init(struct netif *netif)
/* maximum transfer unit */
netif->mtu = 1500;
/* broadcast capability */
netif->flags = NETIF_FLAG_BROADCAST;
/* device capabilities */
/* don't set NETIF_FLAG_ETHARP if this device is not an ethernet one */
netif->flags = NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP;
/* Do whatever else is needed to initialize interface. */
}