title: About U-boot driver model
body: <p>I have a simple question regarding U-boot driver model. I wanted to know when and how function ops of a driver is triggered.</p>
  
  <p>For example for Ethernet driver these are the ops defined:</p>
  
  <pre><code>static const struct eth_ops designware_eth_ops = {
      .start                  = designware_eth_start,
      .send                   = designware_eth_send,
      .recv                   = designware_eth_recv,
      .free_pkt               = designware_eth_free_pkt,
      .stop                   = designware_eth_stop,
      .write_hwaddr           = designware_eth_write_hwaddr,
  };
  </code></pre>
  
  <p>Now , are these eth_ops are called at initialization stage after probe function or these are called only when some commands are run from u-boot prompt like ping , tftp etc?</p>
  
  <p>Initialization stage would only probe the device and move it next subsystem ?</p>