Skip to content

Commit

Permalink
Make machyp actually work (again, I know redundant with mac:hexhyp, b…
Browse files Browse the repository at this point in the history
…ut stuck with old syntax for seamless transition)
  • Loading branch information
Jarrod Johnson committed Sep 20, 2011
1 parent bd51f6f commit 84f57df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/include/ipxe/netdevice.h
Expand Up @@ -432,6 +432,9 @@ struct net_driver {
/** Bus ID setting tag */
#define NETDEV_SETTING_TAG_BUS_ID NETDEV_SETTING_TAG ( 0x02 )

/** MAC address setting tag */
#define NETDEV_SETTING_TAG_MACHYP NETDEV_SETTING_TAG ( 0x03 )

extern struct list_head net_devices;
extern struct net_device_operations null_netdev_operations;
extern struct settings_operations netdev_settings_operations;
Expand Down
2 changes: 1 addition & 1 deletion src/net/netdev_settings.c
Expand Up @@ -44,7 +44,7 @@ struct setting machyp_setting __setting ( SETTING_NETDEV ) = {
.name = "machyp",
.description = "MAC address",
.type = &setting_type_hexhyp,
.tag = NETDEV_SETTING_TAG_MAC,
.tag = NETDEV_SETTING_TAG_MACHYP,
};
struct setting busid_setting __setting ( SETTING_NETDEV ) = {
.name = "busid",
Expand Down

0 comments on commit 84f57df

Please sign in to comment.