summaryrefslogtreecommitdiff
path: root/misc/drivers
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-27 15:03:49 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-27 15:03:49 +0000
commit331b7968c8606a58e5458d98559ac6366a767dd2 (patch)
treedad89d8ac9b2ac797623e2869cf729612fa2ae3a /misc/drivers
parent23a7ea577bec1494adf24fe09cf9835bd717da3a (diff)
downloadnuttx-331b7968c8606a58e5458d98559ac6366a767dd2.tar.gz
nuttx-331b7968c8606a58e5458d98559ac6366a767dd2.tar.bz2
nuttx-331b7968c8606a58e5458d98559ac6366a767dd2.zip
Updates from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3424 42af7a65-404d-4744-a932-0658087f49c3
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 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