Diff for /src/sys/net/if_media.c between versions 1.5 and 1.6

version 1.5, 2004/01/06 03:17:25 version 1.6, 2004/04/22 04:21:29
Line 127  ifmedia_add(ifm, mword, data, aux) Line 127  ifmedia_add(ifm, mword, data, aux)
         }          }
 #endif  #endif
   
        entry = malloc(sizeof(*entry), M_IFADDR, M_NOWAIT);        entry = malloc(sizeof(*entry), M_IFADDR, M_INTWAIT);
        if (entry == NULL) 
                panic("ifmedia_add: can't malloc entry"); 
 
         entry->ifm_media = mword;          entry->ifm_media = mword;
         entry->ifm_data = data;          entry->ifm_data = data;
         entry->ifm_aux = aux;          entry->ifm_aux = aux;

Removed from v.1.5  
changed lines
  Added in v.1.6