git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
02e4a74
)
More verbosity for remote wake up, pull low and suspend on dbus7
author
Uwe Bonnes
<bon@elektron.ikp.physik.tu-darmstadt.de>
Thu, 9 Sep 2010 22:25:06 +0000 (
00:25
+0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 20 Sep 2010 13:34:39 +0000 (15:34 +0200)
src/ftdi.c
patch
|
blob
|
blame
|
history
diff --git
a/src/ftdi.c
b/src/ftdi.c
index
5ab9bfc
..
7b96610
100644
(file)
--- a/
src/ftdi.c
+++ b/
src/ftdi.c
@@
-2698,6
+2698,12
@@
int ftdi_eeprom_decode(struct ftdi_context *ftdi, unsigned char *buf, int size,
if(eeprom->serial)
fprintf(stdout, "Serial: %s\n",eeprom->serial);
fprintf(stdout, "Checksum : %04x\n", checksum);
+ if(eeprom->suspend_dbus7)
+ fprintf(stdout, "Suspend on DBUS7\n");
+ if(eeprom->suspend_pull_downs)
+ fprintf(stdout, "Pull IO pins low during suspend\n");
+ if(eeprom->remote_wakeup)
+ fprintf(stdout, "Enable Remote Wake Up\n");
if (ftdi->type >= TYPE_2232C)
fprintf(stdout,"Channel A has Mode %s%s%s\n",
channel_mode[eeprom->channel_a_type],