Rename uip_driver_s net_driver_s

This commit is contained in:
Gregory Nutt
2014-06-27 16:48:12 -06:00
parent c9bd88a9a5
commit baa668f56c
7 changed files with 45 additions and 45 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

+2 -2
View File
@@ -2926,13 +2926,13 @@ void board_led_off(int led);
<p> <p>
<b><code>include/nuttx/net/netdev.h</code></b>. <b><code>include/nuttx/net/netdev.h</code></b>.
All structures and APIs needed to work with Ethernet drivers are provided in this header file. All structures and APIs needed to work with Ethernet drivers are provided in this header file.
The structure <code>struct uip_driver_s</code> defines the interface and is passed to uIP via The structure <code>struct net_driver_s</code> defines the interface and is passed to uIP via
<code>netdev_register()</code>. <code>netdev_register()</code>.
</p> </p>
</li> </li>
<li> <li>
<p> <p>
<b><code>int netdev_register(FAR struct uip_driver_s *dev);</code></b>. <b><code>int netdev_register(FAR struct net_driver_s *dev);</code></b>.
Each Ethernet driver registers itself by calling <code>netdev_register()</code>. Each Ethernet driver registers itself by calling <code>netdev_register()</code>.
</p> </p>
</li> </li>