version 1.2, 2007/10/16 19:43:23 |
version 1.3, 2007/10/16 19:51:45 |
|
|
/* device drivers */ |
/* device drivers */ |
extern struct driver root_dr; |
extern struct driver root_dr; |
extern struct driver cpu_dr; |
extern struct driver cpu_dr; |
|
extern struct driver obio_dr; |
|
|
|
|
extern void(*putchar)(char); |
extern void(*putchar)(char); |
|
|
*/ |
*/ |
struct attachinfo config_attachinfo[] = { |
struct attachinfo config_attachinfo[] = { |
/* child, parent, pminor, loc, flags */ |
/* child, parent, pminor, loc, flags */ |
// { "obio", "root", 0, 0, 0 }, |
{ "obio", "root", 0, 0, 0 }, |
{ "cpu" , "root", 0, 0, 0 }, |
{ "cpu" , "root", 0, 0, 0 }, |
// { "tacons", "obio", 0, 0x10000000, 0 }, |
// { "tacons", "obio", 0, 0x10000000, 0 }, |
// { "tartc", "obio", 0, 0x15000000, 0x01 }, |
// { "tartc", "obio", 0, 0x15000000, 0x01 }, |
|
|
*/ |
*/ |
struct driverinfo config_driverinfo[] = { |
struct driverinfo config_driverinfo[] = { |
{ "root", &root_dr, -1 }, |
{ "root", &root_dr, -1 }, |
// { "obio", &obio_dr, -1 }, |
{ "obio", &obio_dr, -1 }, |
{ "cpu" , &cpu_dr, -1 }, |
{ "cpu" , &cpu_dr, -1 }, |
// { "tacons", &tacons_dr, -1 }, |
// { "tacons", &tacons_dr, -1 }, |
// { "tartc", &tartc_dr, -1 }, |
// { "tartc", &tartc_dr, -1 }, |