[BACK]Return to if_dmc.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / qbus

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/qbus/if_dmc.c between version 1.24 and 1.25

version 1.24, 2016/04/20 09:01:04 version 1.25, 2016/07/07 09:32:02
Line 313  dmcinit(struct ifnet *ifp)
Line 313  dmcinit(struct ifnet *ifp)
          * Check to see that an address has been set           * Check to see that an address has been set
          * (both local and destination for an address family).           * (both local and destination for an address family).
          */           */
         IFADDR_FOREACH(ifa, ifp)          IFADDR_READER_FOREACH(ifa, ifp)
                 if (ifa->ifa_addr->sa_family && ifa->ifa_dstaddr->sa_family)                  if (ifa->ifa_addr->sa_family && ifa->ifa_dstaddr->sa_family)
                         break;                          break;
         if (ifa == (struct ifaddr *) 0)          if (ifa == NULL)
                 return 0;                  return 0;
   
         if ((DMC_RBYTE(DMC_BSEL1) & DMC_RUN) == 0) {          if ((DMC_RBYTE(DMC_BSEL1) & DMC_RUN) == 0) {

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

CVSweb <webmaster@jp.NetBSD.org>