]> sigrok.org Git - sigrok-firmware-fx2lafw.git/blobdiff - dscr.a51
Various cosmetics and bugfixes.
[sigrok-firmware-fx2lafw.git] / dscr.a51
index 3a5e9dcc8f0b22eb323a3276530ac1aca6ba7785..76b3401f59d9274c7bebb0cbf4c562abd20dae8c 100644 (file)
--- a/dscr.a51
+++ b/dscr.a51
@@ -103,19 +103,19 @@ highspd_dscr_end:
        .db     0xff                    ; Protocol (vendor specific)
        .db     0                       ; String index (none)
 
-       ; Endpoint 1 (OUT)
+       ; Endpoint 2 (IN)
        .db     DSCR_ENDPOINT_LEN
        .db     DSCR_ENDPOINT_TYPE
-       .db     0x01                    ; EP number (1), direction (OUT)
+       .db     0x82                    ; EP number (2), direction (IN)
        .db     ENDPOINT_TYPE_BULK      ; Endpoint type (bulk)
        .db     0x00                    ; Max. packet size, LSB (512 bytes)
        .db     0x02                    ; Max. packet size, MSB (512 bytes)
        .db     0x00                    ; Polling interval
 
-       ; Endpoint 2 (IN)
+       ; Endpoint 6 (IN)
        .db     DSCR_ENDPOINT_LEN
        .db     DSCR_ENDPOINT_TYPE
-       .db     0x82                    ; EP number (2), direction (IN)
+       .db     0x86                    ; EP number (6), direction (IN)
        .db     ENDPOINT_TYPE_BULK      ; Endpoint type (bulk)
        .db     0x00                    ; Max. packet size, LSB (512 bytes)
        .db     0x02                    ; Max. packet size, MSB (512 bytes)
@@ -152,19 +152,19 @@ fullspd_dscr_end:
        .db     0xff                    ; Protocol (vendor specific)
        .db     0                       ; String index (none)
 
-       ; Endpoint 1 (OUT)
+       ; Endpoint 2 (IN)
        .db     DSCR_ENDPOINT_LEN
        .db     DSCR_ENDPOINT_TYPE
-       .db     0x01                    ; EP number (1), direction (OUT)
+       .db     0x82                    ; EP number (2), direction (IN)
        .db     ENDPOINT_TYPE_BULK      ; Endpoint type (bulk)
        .db     0x40                    ; Max. packet size, LSB (64 bytes)
        .db     0x00                    ; Max. packet size, MSB (64 bytes)
        .db     0x00                    ; Polling interval
 
-       ; Endpoint 2 (IN)
+       ; Endpoint 6 (IN)
        .db     DSCR_ENDPOINT_LEN
        .db     DSCR_ENDPOINT_TYPE
-       .db     0x82                    ; EP number (2), direction (IN)
+       .db     0x86                    ; EP number (6), direction (IN)
        .db     ENDPOINT_TYPE_BULK      ; Endpoint type (bulk)
        .db     0x40                    ; Max. packet size, LSB (64 bytes)
        .db     0x00                    ; Max. packet size, MSB (64 bytes)
@@ -180,10 +180,11 @@ fullspd_dscr_realend:
 
 _dev_strings:
 
+; See http://www.usb.org/developers/docs/USB_LANGIDs.pdf for the full list.
 _string0:
        .db     string0end - _string0
        .db     DSCR_STRING_TYPE
-       .db     0x09, 0x04              ; Language code 0x0409 (English)
+       .db     0x09, 0x04              ; Language code 0x0409 (English, US)
 string0end:
 
 _string1: