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) { |