version 1.1, 2007/10/16 09:41:04 |
version 1.2, 2007/10/25 21:04:12 |
|
|
#include <sys/device.h> |
#include <sys/device.h> |
#include <libkern/printf.h> |
#include <libkern/printf.h> |
|
|
|
/* |
|
* System root device. |
|
* All other will be created/destroyed dynamically with devconfig. |
|
*/ |
|
struct device *rootdev; |
|
|
|
|
int root_attach(struct device *, uint32_t, uint8_t); |
int root_attach(struct device *, uint32_t, uint8_t); |
|
|
/* bogus root_dd */ |
/* bogus root_dd */ |
|
|
/* detach */ NULL |
/* detach */ NULL |
}; |
}; |
|
|
|
|
/* |
|
* System root device. |
|
* All other will be created/destroyed dynamically with devconfig. |
|
*/ |
|
struct device *rootdev; |
|
|
|
int |
int |
root_attach(struct device *self, uint32_t loc, uint8_t flags) |
root_attach(struct device *self, uint32_t loc, uint8_t flags) |