From 331b7968c8606a58e5458d98559ac6366a767dd2 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 27 Mar 2011 15:03:49 +0000 Subject: Updates from Uros git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3424 42af7a65-404d-4744-a932-0658087f49c3 --- misc/drivers/rtl8187x/rtl8187x.c | 10 +++++----- misc/drivers/rtl8187x/rtl8187x.h | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'misc/drivers/rtl8187x') diff --git a/misc/drivers/rtl8187x/rtl8187x.c b/misc/drivers/rtl8187x/rtl8187x.c index 5e6d604ab..59e06069a 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 02e46003d..bd35e9cc6 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 -- cgit v1.2.3