=================================================================== RCS file: /cvs/funnyos/kern/kern_devconfig.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- funnyos/kern/kern_devconfig.c 2007/11/01 13:19:27 1.6 +++ funnyos/kern/kern_devconfig.c 2007/11/01 13:22:08 1.7 @@ -1,5 +1,5 @@ /* - * $Id: kern_devconfig.c,v 1.6 2007/11/01 13:19:27 init Exp $ + * $Id: kern_devconfig.c,v 1.7 2007/11/01 13:22:08 init Exp $ */ #include #include @@ -103,7 +103,7 @@ { /* * Attach device childs, if any. - * XXX Allocate space for struct device and its xxx_dd + * Allocate space for struct device and its xxx_dd */ int retval; struct device *cdevp; @@ -146,8 +146,6 @@ cdevp->dv_name = dip->di_dname; cdevp->dv_minor = dip->di_ninstances; - /* XXX what about locator (aip->ai_locator)? */ - printf("%s/%d at %s/%d loc 0x%x flags 0x%x: ", cdevp->dv_name, cdevp->dv_minor, pdevp->dv_name, pdevp->dv_minor, aip->ai_locator, aip->ai_flags); @@ -163,7 +161,7 @@ /* TODO kfree devdata and device */ - /* XXX next aip */ + /* next aip */ aip++; continue; @@ -176,8 +174,6 @@ /* activate device */ cdevp->dv_active = 1; - - /* XXX think about recursion */ /* recursive attach this child's children */ devconfig_attach_childs(cdevp);