[En-Nut-Discussion] version 3.3 - Thread in nicrtl.c

Tyou tyou at i-da.co.jp
Tue Jul 29 09:30:44 CEST 2003


Hi, Frds,

In nicrtl.c, about 800s page, it should 
be like the following since default MAC 
is not all 00 anymore.(ALL 0xFF)

      /*
     * This is a temporary hack. Due to
 a change in initialization,     * we may
 not have got a MAC address yet. Wait 
until one has been
     * set.
     */
#if 1

#define  INVALID_MAC  ((ifn->if_mac[0] &\
 ifn->if_mac[3] & ifn->if_mac[5]) == 0xFF)
    if(INVALID_MAC) {
        while(INVALID_MAC)
            NutSleep(125);
        NicDisableInt();
        NicStart((u_char *) (dev->dev_base), 
ifn->if_mac);
        ni->ni_curr_page = NIC_START_PAGE + 
TX_PAGES;
        NicEnableInt();
    }

#else
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.egnite.de/pipermail/en-nut-discussion/attachments/20030729/1c794e8a/attachment.html>


More information about the En-Nut-Discussion mailing list