summaryrefslogtreecommitdiffstats
path: root/misc/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'misc/drivers')
-rwxr-xr-xmisc/drivers/rtl8187x/rtl8187x.c10
-rwxr-xr-xmisc/drivers/rtl8187x/rtl8187x.h4
2 files changed, 7 insertions, 7 deletions
diff --git a/misc/drivers/rtl8187x/rtl8187x.c b/misc/drivers/rtl8187x/rtl8187x.c
index 5e6d604ab1..59e06069a3 100755
--- a/misc/drivers/rtl8187x/rtl8187x.c
+++ b/misc/drivers/rtl8187x/rtl8187x.c
@@ -898,10 +898,10 @@ static inline int rtl8187x_cfgdesc(FAR struct rtl8187x_state_s *priv,
if (found != USBHOST_ALLFOUND)
{
- ulldbg("ERROR: Found IF:%s BIN:%s BOUT:%s\n",
- (found & USBHOST_IFFOUND) != 0 ? "YES" : "NO",
- (found & USBHOST_BINFOUND) != 0 ? "YES" : "NO",
- (found & USBHOST_BOUTFOUND) != 0 ? "YES" : "NO");
+ udbg("ERROR: Found IF:%s BIN:%s BOUT:%s\n",
+ (found & USBHOST_IFFOUND) != 0 ? "YES" : "NO",
+ (found & USBHOST_BINFOUND) != 0 ? "YES" : "NO",
+ (found & USBHOST_BOUTFOUND) != 0 ? "YES" : "NO");
return -EINVAL;
}
@@ -922,7 +922,7 @@ static inline int rtl8187x_cfgdesc(FAR struct rtl8187x_state_s *priv,
return ret;
}
- ullvdbg("Endpoints allocated\n");
+ uvdbg("Endpoints allocated\n");
return OK;
}
diff --git a/misc/drivers/rtl8187x/rtl8187x.h b/misc/drivers/rtl8187x/rtl8187x.h
index 02e46003d1..bd35e9cc65 100755
--- a/misc/drivers/rtl8187x/rtl8187x.h
+++ b/misc/drivers/rtl8187x/rtl8187x.h
@@ -229,8 +229,8 @@
/* Vendor-Specific Requests */
-#define RTL8187X_REQT_READ 0xc0
-#define RTL8187X_REQT_WRITE 0x40
+#define RTL8187X_REQT_READ 0xc0 /* DIR=IN TYPE=VENDOR RECIPIENT=DEVICE */
+#define RTL8187X_REQT_WRITE 0x40 /* DIR=OUT TYPE=VENDOR RECIPIENT=DEVICE */
#define RTL8187X_REQ_GETREG 0x05
#define RTL8187X_REQ_SETREG 0x05