[BACK]Return to config.c CVS log [TXT][DIR] Up to [local] / funnyos / arch / testarm

Diff for /funnyos/arch/testarm/config.c between version 1.4 and 1.8

version 1.4, 2007/10/16 21:29:50 version 1.8, 2007/10/29 12:43:46
Line 12 
Line 12 
 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 struct driver obio_dr;
   extern struct driver tacons_dr;
   extern struct driver fcons_dr;
   
   
 extern void(*putchar)(char);  extern void(*putchar)(char);
Line 25 
Line 27 
  */   */
 struct attachinfo config_attachinfo[] = {  struct attachinfo config_attachinfo[] = {
         /* child,   parent, pminor, loc, flags */          /* child,   parent, pminor, loc, flags */
         { "obio",       "root",         0, 0,   0 },  
         { "cpu" ,       "root",         0, 0,   0 },          { "cpu" ,       "root",         0, 0,   0 },
           { "obio",       "root",         0, 0,   0 },
         { "tacons",     "obio",         0, 0x10000000, 0 },          { "tacons",     "obio",         0, 0x10000000, 0 },
 //      { "tartc",      "obio",         0, 0x15000000, 0x01 },  //      { "tartc",      "obio",         0, 0x15000000, 0x01 },
 //      { "fcons",      "tacons",       0, 0,   0},          { "fcons",      "tacons",       0, 0,   0},
         { NULL,         NULL,           0, 0,   0}          { NULL,         NULL,           0, 0,   0}
 };  };
   
Line 38 
Line 40 
  * Link device names with their drivers.   * Link device names with their drivers.
  */   */
 struct driverinfo config_driverinfo[] = {  struct driverinfo config_driverinfo[] = {
   /* name, driverp, ninstances (should be -1) */
         { "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 },
 //      { "fcons", &fcons_dr, -1 },          { "fcons", &fcons_dr, -1 },
         { NULL, NULL, 0 }          { NULL, NULL, 0 }
 };  };
   

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.8

CVSweb