From 77683ab696f183c63e8695063c8107d26809ed99 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Wed, 29 Aug 2007 10:37:29 +0200 Subject: [PATCH] ignore bus-id on XILINX_USB_DEV setting missing a device-id --- usb-driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usb-driver.c b/usb-driver.c index 05ba48a..929c101 100644 --- a/usb-driver.c +++ b/usb-driver.c @@ -500,6 +500,7 @@ int do_wdioctl(int fd, unsigned int request, unsigned char *wdioctl) { } else { devnum = strtol(devstr, &remainder, 10); if (devstr == remainder) { + busnum = -1; devnum = -1; } else { fprintf(stderr,"Using XILINX platform cable USB at %03d:%03d\n", -- 2.39.5