summaryrefslogtreecommitdiffstats
path: root/src/net/netdev_settings.c
diff options
context:
space:
mode:
authorMichael Brown2011-03-23 12:57:29 +0100
committerMichael Brown2011-03-23 12:57:29 +0100
commit8482451812d6b48e65a1016447f30591099ded62 (patch)
treebef63118eeba5e9435fd6c00ec9bf4995ff71499 /src/net/netdev_settings.c
parent[settings] Fix setting expansion (diff)
downloadipxe-8482451812d6b48e65a1016447f30591099ded62.tar.gz
ipxe-8482451812d6b48e65a1016447f30591099ded62.tar.xz
ipxe-8482451812d6b48e65a1016447f30591099ded62.zip
[settings] Impose a fixed order on settings
Improve the appearance of the "config" user interface by ensuring that settings appear in some kind of logical order. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/netdev_settings.c')
-rw-r--r--src/net/netdev_settings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/netdev_settings.c b/src/net/netdev_settings.c
index 220ffa9a..2ef3984d 100644
--- a/src/net/netdev_settings.c
+++ b/src/net/netdev_settings.c
@@ -34,13 +34,13 @@ FILE_LICENCE ( GPL2_OR_LATER );
*/
/** Network device named settings */
-struct setting mac_setting __setting = {
+struct setting mac_setting __setting ( SETTING_NETDEV ) = {
.name = "mac",
.description = "MAC address",
.type = &setting_type_hex,
.tag = NETDEV_SETTING_TAG_MAC,
};
-struct setting busid_setting __setting = {
+struct setting busid_setting __setting ( SETTING_NETDEV ) = {
.name = "busid",
.description = "Bus ID",
.type = &setting_type_hex,