summaryrefslogtreecommitdiffstats
path: root/misc/drivers
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-03-27 15:03:49 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-03-27 15:03:49 +0000
commit2def459068f655a0a343ea11be4c86443d37e4c0 (patch)
treedad89d8ac9b2ac797623e2869cf729612fa2ae3a /misc/drivers
parent40134c8dd051c084965b037916353d156eae01b5 (diff)
Updates from Uros
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3424 7fd9a85b-ad96-42d3-883c-3090e2eb8679
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