=================================================================== RCS file: /cvs/funnyos/arch/testarm/config.c,v retrieving revision 1.6 retrieving revision 1.8 diff -u -r1.6 -r1.8 --- funnyos/arch/testarm/config.c 2007/10/16 22:39:09 1.6 +++ funnyos/arch/testarm/config.c 2007/10/29 12:43:46 1.8 @@ -1,5 +1,5 @@ /* - * $Id: config.c,v 1.6 2007/10/16 21:39:09 init Exp $ + * $Id: config.c,v 1.8 2007/10/29 12:43:46 init Exp $ */ #include #include @@ -27,8 +27,8 @@ */ struct attachinfo config_attachinfo[] = { /* child, parent, pminor, loc, flags */ - { "obio", "root", 0, 0, 0 }, { "cpu" , "root", 0, 0, 0 }, + { "obio", "root", 0, 0, 0 }, { "tacons", "obio", 0, 0x10000000, 0 }, // { "tartc", "obio", 0, 0x15000000, 0x01 }, { "fcons", "tacons", 0, 0, 0}, @@ -40,6 +40,7 @@ * Link device names with their drivers. */ struct driverinfo config_driverinfo[] = { +/* name, driverp, ninstances (should be -1) */ { "root", &root_dr, -1 }, { "obio", &obio_dr, -1 }, { "cpu" , &cpu_dr, -1 },