[ipxe-devel] struct net_device Vs. nic

Michael Brown mbrown at fensystems.co.uk
Thu Jul 14 11:54:00 UTC 2011


On Tuesday 12 Jul 2011 23:54:46 John Julien wrote:
> Can someone explain to me the relationship and history behind the
>  net_device (src/include/ipxe/netdevice.h) and the nic structure
>  (src/include/nic.h)?
> 
> Can either of these be used?  Is one preferred over the other?

struct net_device is the one to use for any new code.

struct nic is part of the old Etherboot API, which exists in iPXE only because 
many of the drivers have not yet been updated.

Michael



More information about the ipxe-devel mailing list