Also check the number of interfaces for the GT-6816 to avoid conflicts with

other GT chips.
merge-requests/1/head
Henning Geinitz 2004-07-10 14:33:56 +00:00
rodzic 1e15afbfb9
commit 4102847b52
2 zmienionych plików z 15 dodań i 0 usunięć

Wyświetl plik

@ -1,3 +1,8 @@
2004-07-10 Henning Meier-Geinitz <henning@meier-geinitz.de>
* tools/check-usb-chip.c: Also check the number of interfaces for
the GT-6816 to avoid conflicts with other GT chips.
2004-07-09 Henning Meier-Geinitz <henning@meier-geinitz.de>
* doc/descriptions-external/brother.desc: New file. Added the

Wyświetl plik

@ -241,6 +241,16 @@ check_gt6816 (struct usb_device *dev)
return 0;
}
if (dev->config[0].bNumInterfaces != 0x01)
{
if (verbose > 2)
printf (" this is not a GT-6816 (bNumInterfaces = 0x%x)\n",
dev->config[0].bNumInterfaces);
return 0;
}
/* Check endpoints */
if (dev->config[0].interface[0].altsetting[0].bNumEndpoints != 2)
{