[BACK]Return to main.c CVS log [TXT][DIR] Up to [local] / prex-old / dev / core

Diff for /prex-old/dev/core/main.c between version 1.1 and 1.2

version 1.1, 2008/07/18 10:07:50 version 1.2, 2008/08/08 13:37:11
Line 36 
Line 36 
   
 #define MAXDRIVER       100  #define MAXDRIVER       100
   
   #ifndef CONFIG_AUTOCONF
 extern struct driver *driver_table[];  extern struct driver *driver_table[];
   #endif
   
 /*  /*
  * Entry point of driver module   * Entry point of driver module
Line 55 
Line 57 
         if (machine_init())          if (machine_init())
                 panic("driver_main: init failed");                  panic("driver_main: init failed");
   
   #ifndef CONFIG_AUTOCONF
         /*          /*
          * Call init routine for all device drivers with init order.           * Call init routine for all device drivers with init order.
          * Smaller value will be run first.           * Smaller value will be run first.
Line 73 
Line 76 
                         }                          }
                 }                  }
         }          }
   #else
           /*
            * Enter autoconfiguration machinery.
            * Attach 'root' pseudo device, which will then search for its children.
            */
           printk("Entering autoconfiguration phase.\n");
   
           config_attach_rootdev();
   
           printk("Exiting autoconfiguration phase.\n");
   
   #endif /* !CONFIG_AUTOCONF */
   
 }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb