mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
drivers: usb: gadget: ether/rndis: convert driver to adopt device driver model
Adopt usb ether gadget and rndis driver to adopt driver model Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
This commit is contained in:
committed by
Simon Glass
parent
a705ebc81b
commit
d4a3755368
@@ -254,6 +254,13 @@ int eth_setenv_enetaddr_by_index(const char *base_name, int index,
|
||||
uchar *enetaddr);
|
||||
|
||||
|
||||
/*
|
||||
* Initialize USB ethernet device with CONFIG_DM_ETH
|
||||
* Returns:
|
||||
* 0 is success, non-zero is error status.
|
||||
*/
|
||||
int usb_ether_init(void);
|
||||
|
||||
/*
|
||||
* Get the hardware address for an ethernet interface .
|
||||
* Args:
|
||||
|
Reference in New Issue
Block a user