update log tag
This commit is contained in:
@@ -6,6 +6,10 @@
|
||||
#include "usbh_core.h"
|
||||
#include "usbh_audio.h"
|
||||
|
||||
#undef USB_DBG_TAG
|
||||
#define USB_DBG_TAG "usbh_audio"
|
||||
#include "usb_log.h"
|
||||
|
||||
#define DEV_FORMAT "/dev/audio%d"
|
||||
|
||||
/* general descriptor field offsets */
|
||||
|
||||
@@ -6,6 +6,10 @@
|
||||
#include "usbh_core.h"
|
||||
#include "usbh_cdc_acm.h"
|
||||
|
||||
#undef USB_DBG_TAG
|
||||
#define USB_DBG_TAG "usbh_cdc_acm"
|
||||
#include "usb_log.h"
|
||||
|
||||
#define DEV_FORMAT "/dev/ttyACM%d"
|
||||
|
||||
USB_NOCACHE_RAM_SECTION USB_MEM_ALIGNX struct cdc_line_coding g_cdc_line_coding;
|
||||
|
||||
@@ -6,6 +6,10 @@
|
||||
#include "usbh_core.h"
|
||||
#include "usbh_cdc_ecm.h"
|
||||
|
||||
#undef USB_DBG_TAG
|
||||
#define USB_DBG_TAG "usbh_cdc_ecm"
|
||||
#include "usb_log.h"
|
||||
|
||||
#define DEV_FORMAT "/dev/cdc_ether"
|
||||
|
||||
/* general descriptor field offsets */
|
||||
|
||||
@@ -6,6 +6,10 @@
|
||||
#include "usbh_core.h"
|
||||
#include "usbh_hid.h"
|
||||
|
||||
#undef USB_DBG_TAG
|
||||
#define USB_DBG_TAG "usbh_hid"
|
||||
#include "usb_log.h"
|
||||
|
||||
#define DEV_FORMAT "/dev/input%d"
|
||||
|
||||
USB_NOCACHE_RAM_SECTION USB_MEM_ALIGNX uint8_t g_hid_buf[128];
|
||||
|
||||
@@ -6,6 +6,10 @@
|
||||
#include "usbh_core.h"
|
||||
#include "usbh_hub.h"
|
||||
|
||||
#undef USB_DBG_TAG
|
||||
#define USB_DBG_TAG "usbh_hub"
|
||||
#include "usb_log.h"
|
||||
|
||||
#define DEV_FORMAT "/dev/hub%d"
|
||||
|
||||
#define HUB_DEBOUNCE_TIMEOUT 1500
|
||||
|
||||
@@ -7,6 +7,10 @@
|
||||
#include "usbh_msc.h"
|
||||
#include "usb_scsi.h"
|
||||
|
||||
#undef USB_DBG_TAG
|
||||
#define USB_DBG_TAG "usbh_msc"
|
||||
#include "usb_log.h"
|
||||
|
||||
#define DEV_FORMAT "/dev/sd%c"
|
||||
|
||||
USB_NOCACHE_RAM_SECTION USB_MEM_ALIGNX uint8_t g_msc_buf[32];
|
||||
|
||||
@@ -6,6 +6,10 @@
|
||||
#include "usbh_core.h"
|
||||
#include "usbh_video.h"
|
||||
|
||||
#undef USB_DBG_TAG
|
||||
#define USB_DBG_TAG "usbh_video"
|
||||
#include "usb_log.h"
|
||||
|
||||
#define DEV_FORMAT "/dev/video%d"
|
||||
|
||||
/* general descriptor field offsets */
|
||||
|
||||
@@ -6,6 +6,10 @@
|
||||
#include "usbh_core.h"
|
||||
#include "usbh_bluetooth.h"
|
||||
|
||||
#undef USB_DBG_TAG
|
||||
#define USB_DBG_TAG "usbh_bluetooth"
|
||||
#include "usb_log.h"
|
||||
|
||||
#define DEV_FORMAT "/dev/bluetooth"
|
||||
|
||||
static struct usbh_bluetooth g_bluetooth_class;
|
||||
|
||||
@@ -7,6 +7,10 @@
|
||||
#include "usbh_rndis.h"
|
||||
#include "rndis_protocol.h"
|
||||
|
||||
#undef USB_DBG_TAG
|
||||
#define USB_DBG_TAG "usbh_rndis"
|
||||
#include "usb_log.h"
|
||||
|
||||
#define DEV_FORMAT "/dev/rndis"
|
||||
|
||||
USB_NOCACHE_RAM_SECTION USB_MEM_ALIGNX uint8_t g_rndis_buf[4096];
|
||||
|
||||
@@ -5,6 +5,10 @@
|
||||
*/
|
||||
#include "usbh_core.h"
|
||||
|
||||
#undef USB_DBG_TAG
|
||||
#define USB_DBG_TAG "usbh_core"
|
||||
#include "usb_log.h"
|
||||
|
||||
struct usbh_class_info *usbh_class_info_table_begin = NULL;
|
||||
struct usbh_class_info *usbh_class_info_table_end = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user