[BACK]Return to kern_devconfig.c CVS log [TXT][DIR] Up to [local] / funnyos / kern

Diff for /funnyos/kern/kern_devconfig.c between version 1.7 and 1.8

version 1.7, 2007/11/01 13:22:08 version 1.8, 2007/11/02 13:17:39
Line 5 
Line 5 
 #include <sys/device.h>  #include <sys/device.h>
 #include <sys/kern_devconfig.h>  #include <sys/kern_devconfig.h>
 #include <sys/mem.h>  #include <sys/mem.h>
   #include <sys/kern_irq.h>
 #include <libkern/string.h>  #include <libkern/string.h>
 #include <libkern/printf.h>  #include <libkern/printf.h>
   
Line 174 
Line 175 
   
                         /* activate device */                          /* activate device */
                         cdevp->dv_active = 1;                          cdevp->dv_active = 1;
   
                           /* if device has interrupt handler, establish it */
                           if (drp->dr_interrupt != NULL && aip->ai_intrno != 0) {
                                   DPRINTF("devconfig_attach_childs: establishing interrupt %d for %s/%d\n",
                                                           aip->ai_intrno, cdevp->dv_name, cdevp->dv_minor);
                                   intr_establish(aip->ai_intrno, cdevp, drp->dr_interrupt);
                           }
   
                         /* recursive attach this child's children */                          /* recursive attach this child's children */
                         devconfig_attach_childs(cdevp);                          devconfig_attach_childs(cdevp);

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

CVSweb