[Settings] Implement simple_settings backed with extensible DHCP options

This commit is contained in:
Michael Brown
2008-03-22 00:31:08 +00:00
parent a462c96ffc
commit e5cea13e51
4 changed files with 72 additions and 26 deletions
+2 -2
View File
@@ -245,7 +245,7 @@ struct net_device {
struct net_device_stats stats;
/** Configuration settings applicable to this device */
struct settings settings;
struct simple_settings settings;
/** Driver private data */
void *priv;
@@ -349,7 +349,7 @@ netdev_priv ( struct net_device *netdev ) {
*/
static inline __attribute__ (( always_inline )) struct settings *
netdev_settings ( struct net_device *netdev ) {
return &netdev->settings;
return &netdev->settings.settings;
}
extern int netdev_tx ( struct net_device *netdev, struct io_buffer *iobuf );