添加RNDIS定义

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2578 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
sc943313837@gmail.com 2012-12-31 15:38:35 +00:00
parent ecb226f9d4
commit 2a6ffa0ccd
1 changed files with 2 additions and 1 deletions

View File

@ -63,7 +63,7 @@ struct uendpoint
rt_bool_t is_stall; rt_bool_t is_stall;
}; };
typedef struct uendpoint* uep_t; typedef struct uendpoint* uep_t;
struct ualtsetting struct ualtsetting
{ {
rt_list_t list; rt_list_t list;
@ -186,6 +186,7 @@ uep_t rt_usbd_find_endpoint(udevice_t device, uclass_t* pcls, rt_uint8_t ep_addr
uclass_t rt_usbd_class_mstorage_create(udevice_t device); uclass_t rt_usbd_class_mstorage_create(udevice_t device);
uclass_t rt_usbd_class_cdc_create(udevice_t device); uclass_t rt_usbd_class_cdc_create(udevice_t device);
uclass_t rt_usbd_class_rndis_create(udevice_t device);
#ifdef RT_USB_DEVICE_COMPOSITE #ifdef RT_USB_DEVICE_COMPOSITE
rt_err_t rt_usbd_class_set_iad(uclass_t cls, uiad_desc_t iad_desc); rt_err_t rt_usbd_class_set_iad(uclass_t cls, uiad_desc_t iad_desc);