libusb10.c (c98bb15d01876b54224f52232cee5ba1b5b0ce6f) | libusb10.c (f355a4ddf71bd8a983a618fe0db2acb5dc4aafca) |
---|---|
1/* $FreeBSD$ */ 2/*- 3 * Copyright (c) 2009 Sylvestre Gallon. All rights reserved. 4 * Copyright (c) 2009 Hans Petter Selasky. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 921 unchanged lines hidden (view full) --- 930 default: 931 switch (usb_speed) { 932 case LIBUSB20_SPEED_LOW: 933 ret = 256; 934 break; 935 case LIBUSB20_SPEED_FULL: 936 ret = 4096; 937 break; | 1/* $FreeBSD$ */ 2/*- 3 * Copyright (c) 2009 Sylvestre Gallon. All rights reserved. 4 * Copyright (c) 2009 Hans Petter Selasky. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 921 unchanged lines hidden (view full) --- 930 default: 931 switch (usb_speed) { 932 case LIBUSB20_SPEED_LOW: 933 ret = 256; 934 break; 935 case LIBUSB20_SPEED_FULL: 936 ret = 4096; 937 break; |
938 case LIBUSB20_SPEED_SUPER: 939 ret = 65536; 940 break; |
|
938 default: 939 ret = 16384; 940 break; 941 } 942 break; 943 } 944 return (ret); 945} --- 631 unchanged lines hidden --- | 941 default: 942 ret = 16384; 943 break; 944 } 945 break; 946 } 947 return (ret); 948} --- 631 unchanged lines hidden --- |