[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>
This commit is contained in:
Michael Brown
2011-03-23 11:57:29 +00:00
parent b36882be34
commit 8482451812
13 changed files with 64 additions and 46 deletions

View File

@@ -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,