add GL845 detection

merge-requests/1/head
Stphane Voltz 2013-05-13 16:43:48 +02:00
rodzic 9a8b640d8d
commit ac5f65e7b1
1 zmienionych plików z 10 dodań i 10 usunięć

Wyświetl plik

@ -1729,14 +1729,14 @@ check_gl660_gl646 (struct usb_device *dev)
/* the various incarnations could be distinguished by the /* the various incarnations could be distinguished by the
* bcdDevice entry: * bcdDevice entry:
* 0x701 --> GL124 * 0x701 --> GL124
* > 0x700 --> GL848+? * 0x700 --> ?
* >= 0x603 --> GL847 * 0x605 --> GL845
* >= 0x600 --> GL846 * 0x603 --> GL847
* >= 0x500 --> GL845 * 0x601 --> GL846
* >= 0x400 --> GL843 * 0x500 --> GL843
* >= 0x300 --> GL842 (perhaps only >= 0x303 ?) * 0x300 --> GL842 (perhaps only >= 0x303 ?)
* >= 0x200 --> GL841 * 0x200 --> GL841
*/ */
static char * static char *
check_gl841 (struct usb_device *dev) check_gl841 (struct usb_device *dev)
@ -1914,13 +1914,13 @@ check_gl841 (struct usb_device *dev)
return "GL124"; return "GL124";
if (dev->descriptor.bcdDevice >= 0x700) if (dev->descriptor.bcdDevice >= 0x700)
return "GL848+"; return "GL848+";
if (dev->descriptor.bcdDevice >= 0x605)
return "GL845";
if (dev->descriptor.bcdDevice >= 0x603) if (dev->descriptor.bcdDevice >= 0x603)
return "GL847"; return "GL847";
if (dev->descriptor.bcdDevice >= 0x600) if (dev->descriptor.bcdDevice >= 0x600)
return "GL846"; return "GL846";
if (dev->descriptor.bcdDevice >= 0x500) if (dev->descriptor.bcdDevice >= 0x500)
return "GL845";
if (dev->descriptor.bcdDevice >= 0x400)
return "GL843"; return "GL843";
if (dev->descriptor.bcdDevice >= 0x300) if (dev->descriptor.bcdDevice >= 0x300)
return "GL842"; return "GL842";