mirror of
https://github.com/ipxe/ipxe
synced 2026-01-08 05:01:44 +03:00
[ncm] Support setting MAC address
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -51,6 +51,11 @@ struct ncm_ntb_parameters {
|
||||
uint16_t max;
|
||||
} __attribute__ (( packed ));
|
||||
|
||||
/** Set MAC address */
|
||||
#define NCM_SET_NET_ADDRESS \
|
||||
( USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE | \
|
||||
USB_REQUEST_TYPE ( 0x82 ) )
|
||||
|
||||
/** Set NTB input size */
|
||||
#define NCM_SET_NTB_INPUT_SIZE \
|
||||
( USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE | \
|
||||
|
||||
Reference in New Issue
Block a user