version 1.1.1.1, 2007/10/16 09:41:04 |
version 1.4, 2007/10/16 15:02:23 |
|
|
#include <libkern/string.h> |
#include <libkern/string.h> |
#include <libkern/printf.h> |
#include <libkern/printf.h> |
|
|
#define DEVCONFIG_DEBUG |
/* #define DEVCONFIG_DEBUG */ |
|
|
#ifdef DEVCONFIG_DEBUG |
#ifdef DEVCONFIG_DEBUG |
#define DPRINTF(x...) do { printf(x); } while (0) |
#define DPRINTF(x...) do { printf(x); } while (0) |
|
|
|
|
/* TODO kfree devdata and device */ |
/* TODO kfree devdata and device */ |
|
|
|
/* XXX next aip */ |
|
aip++; |
|
|
continue; |
continue; |
/* NOTREACHED */ |
/* NOTREACHED */ |
} |
} |
|
|
/* XXX think about recursion */ |
/* XXX think about recursion */ |
|
|
/* recursive attach this child's children */ |
/* recursive attach this child's children */ |
//devconfig_attach_childs(cdevp); |
devconfig_attach_childs(cdevp); |
|
|
} |
} |
|
|