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

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

Diff for /src/sys/dev/usb/if_cdce.c between version 1.25 and 1.26

version 1.25, 2009/09/23 19:07:19 version 1.26, 2009/12/06 20:20:12
Line 790  cdce_activate(device_t self, enum devact
Line 790  cdce_activate(device_t self, enum devact
         struct cdce_softc *sc = device_private(self);          struct cdce_softc *sc = device_private(self);
   
         switch (act) {          switch (act) {
         case DVACT_ACTIVATE:  
                 return (EOPNOTSUPP);  
                 break;  
   
         case DVACT_DEACTIVATE:          case DVACT_DEACTIVATE:
                 if_deactivate(GET_IFP(sc));                  if_deactivate(GET_IFP(sc));
                 sc->cdce_dying = 1;                  sc->cdce_dying = 1;
                 break;                  return 0;
           default:
                   return EOPNOTSUPP;
         }          }
         return (0);  
 }  }
   
   

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

CVSweb <webmaster@jp.NetBSD.org>