diff options
Diffstat (limited to 'src/include/gpxe/netdevice.h')
-rw-r--r-- | src/include/gpxe/netdevice.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/gpxe/netdevice.h b/src/include/gpxe/netdevice.h index 5d5e05bd..6f5c06f9 100644 --- a/src/include/gpxe/netdevice.h +++ b/src/include/gpxe/netdevice.h @@ -11,6 +11,7 @@ #include <gpxe/list.h> #include <gpxe/tables.h> #include <gpxe/refcnt.h> +#include <gpxe/settings.h> struct io_buffer; struct net_device; @@ -243,6 +244,9 @@ struct net_device { /** Device statistics */ struct net_device_stats stats; + /** Configuration settings applicable to this device */ + struct settings settings; + /** Driver private data */ void *priv; }; @@ -360,6 +364,8 @@ extern int net_tx ( struct io_buffer *iobuf, struct net_device *netdev, extern int net_rx ( struct io_buffer *iobuf, struct net_device *netdev, uint16_t net_proto, const void *ll_source ); +extern struct settings_operations netdev_settings_operations; + /** * Complete network transmission * |