=================================================================== RCS file: /cvs/funnyos/kern/kern_devconfig.c,v retrieving revision 1.1 retrieving revision 1.4 diff -u -r1.1 -r1.4 --- funnyos/kern/kern_devconfig.c 2007/10/16 09:41:04 1.1 +++ funnyos/kern/kern_devconfig.c 2007/10/16 15:02:23 1.4 @@ -1,5 +1,5 @@ /* - * $Id: kern_devconfig.c,v 1.1 2007/10/16 08:41:04 init Exp $ + * $Id: kern_devconfig.c,v 1.4 2007/10/16 14:02:23 init Exp $ */ #include #include @@ -8,7 +8,7 @@ #include #include -#define DEVCONFIG_DEBUG +/* #define DEVCONFIG_DEBUG */ #ifdef DEVCONFIG_DEBUG #define DPRINTF(x...) do { printf(x); } while (0) @@ -166,6 +166,9 @@ /* TODO kfree devdata and device */ + /* XXX next aip */ + aip++; + continue; /* NOTREACHED */ } @@ -180,7 +183,7 @@ /* XXX think about recursion */ /* recursive attach this child's children */ - //devconfig_attach_childs(cdevp); + devconfig_attach_childs(cdevp); }