[BACK]Return to subr_tftproot.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

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

Diff for /src/sys/kern/subr_tftproot.c between version 1.9 and 1.10

version 1.9, 2009/08/21 09:20:47 version 1.10, 2009/08/23 12:10:50
Line 129  tftproot_dhcpboot(struct device *bootdv)
Line 129  tftproot_dhcpboot(struct device *bootdv)
         struct device *dv;          struct device *dv;
         int error = -1;          int error = -1;
   
         if ((bootdv != NULL && device_class(bootdv) == DV_IFNET)) {          if (rootspec != NULL) {
                   IFNET_FOREACH(ifp)
                           if (strcmp(rootspec, ifp->if_xname) == 0)
                                   break;
           }
   
           if ((ifp == NULL) &&
               (bootdv != NULL && device_class(bootdv) == DV_IFNET)) {
                 IFNET_FOREACH(ifp)                  IFNET_FOREACH(ifp)
                         if (strcmp(device_xname(bootdv), ifp->if_xname) == 0)                          if (strcmp(device_xname(bootdv), ifp->if_xname) == 0)
                                 break;                                  break;

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

CVSweb <webmaster@jp.NetBSD.org>