PDP11, VAX: Allow Ethernet SET MAC arguments to have upper/lowe case values

This commit is contained in:
Mark Pizzolato 2016-05-24 11:58:58 -07:00
parent 451b53daeb
commit 8bc31af29c
2 changed files with 2 additions and 2 deletions

View file

@ -491,7 +491,7 @@ MTAB xq_mod[] = {
NULL, &show_addr, NULL, "Qbus address" }, NULL, &show_addr, NULL, "Qbus address" },
{ MTAB_XTD|MTAB_VDV, 0, "VECTOR", NULL, { MTAB_XTD|MTAB_VDV, 0, "VECTOR", NULL,
NULL, &show_vec, NULL, "Interrupt vector" }, NULL, &show_vec, NULL, "Interrupt vector" },
{ MTAB_XTD|MTAB_VDV|MTAB_VALR, 0, "MAC", "MAC=xx:xx:xx:xx:xx:xx", { MTAB_XTD|MTAB_VDV|MTAB_VALR|MTAB_NC, 0, "MAC", "MAC=xx:xx:xx:xx:xx:xx",
&xq_setmac, &xq_showmac, NULL, "MAC address" }, &xq_setmac, &xq_showmac, NULL, "MAC address" },
{ MTAB_XTD|MTAB_VDV|MTAB_NMO, 0, "ETH", NULL, { MTAB_XTD|MTAB_VDV|MTAB_NMO, 0, "ETH", NULL,
NULL, &eth_show, NULL, "Display attachable devices" }, NULL, &eth_show, NULL, "Display attachable devices" },

View file

@ -167,7 +167,7 @@ MTAB xu_mod[] = {
{ MTAB_XTD|MTAB_VDV, 0, "VECTOR", NULL, { MTAB_XTD|MTAB_VDV, 0, "VECTOR", NULL,
NULL, &show_vec, NULL, "Interrupt vector" }, NULL, &show_vec, NULL, "Interrupt vector" },
#endif #endif
{ MTAB_XTD|MTAB_VDV|MTAB_VALR, 0, "MAC", "MAC=xx:xx:xx:xx:xx:xx", { MTAB_XTD|MTAB_VDV|MTAB_VALR|MTAB_NC, 0, "MAC", "MAC=xx:xx:xx:xx:xx:xx",
&xu_setmac, &xu_showmac, NULL, "MAC address" }, &xu_setmac, &xu_showmac, NULL, "MAC address" },
{ MTAB_XTD |MTAB_VDV|MTAB_NMO, 0, "ETH", NULL, { MTAB_XTD |MTAB_VDV|MTAB_NMO, 0, "ETH", NULL,
NULL, &eth_show, NULL, "Display attachable devices" }, NULL, &eth_show, NULL, "Display attachable devices" },