#define NO_WINDRVR 1
-#ifdef DEBUG
void hexdump(unsigned char *buf, int len) {
int i;
}
fprintf(stderr,"\n");
}
-#endif
int usb_deviceinfo(unsigned char *buf) {
int i,j,k,l;
switch(request & ~(0xc0000000)) {
case VERSION:
version = (struct version_struct*)(wdheader->data);
- strcpy(version->version, "libusb-driver.so $Revision: 1.63 $");
+ strcpy(version->version, "libusb-driver.so $Revision: 1.65 $");
version->versionul = 802;
DPRINTF("VERSION\n");
break;
#ifndef NO_WINDRVR
ret = (*ioctl_func) (fd, request, wdioctl);
#else
+#ifdef JTAGKEY
+ if (cr->hCard == 0xff)
+ jtagkey_close();
+#endif
+
if (parportfd == cr->hCard && parportfd >= 0) {
ioctl(parportfd, PPRELEASE);
close(parportfd);