Correct some bInterval USB template descriptor values.

MFC after:	3 days
This commit is contained in:
Hans Petter Selasky 2011-12-06 08:08:52 +00:00
parent 677034d566
commit e6ee4f7d33
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228304
4 changed files with 10 additions and 10 deletions

View file

@ -260,7 +260,7 @@ usb_make_endpoint_desc(struct usb_temp_setup *temp,
ed->bInterval = 1; /* 1 ms */
break;
default:
ed->bInterval = 8; /* 8*125 us */
ed->bInterval = 4; /* 1 ms */
break;
}
break;

View file

@ -89,9 +89,9 @@ static const struct usb_temp_packet_size keyboard_intr_mps = {
};
static const struct usb_temp_interval keyboard_intr_interval = {
.bInterval[USB_SPEED_LOW] = 2, /* ms */
.bInterval[USB_SPEED_FULL] = 2,
.bInterval[USB_SPEED_HIGH] = 2 * 8,
.bInterval[USB_SPEED_LOW] = 2, /* 2 ms */
.bInterval[USB_SPEED_FULL] = 2, /* 2 ms */
.bInterval[USB_SPEED_HIGH] = 5, /* 2 ms */
};
/* The following HID descriptor was dumped from a HP keyboard. */

View file

@ -98,9 +98,9 @@ static const struct usb_temp_packet_size modem_intr_mps = {
};
static const struct usb_temp_interval modem_intr_interval = {
.bInterval[USB_SPEED_LOW] = 10,
.bInterval[USB_SPEED_FULL] = 10,
.bInterval[USB_SPEED_HIGH] = 10 * 8,
.bInterval[USB_SPEED_LOW] = 8, /* 8ms */
.bInterval[USB_SPEED_FULL] = 8, /* 8ms */
.bInterval[USB_SPEED_HIGH] = 7, /* 8ms */
};
static const struct usb_temp_endpoint_desc modem_ep_0 = {

View file

@ -101,9 +101,9 @@ static const struct usb_temp_packet_size mouse_intr_mps = {
};
static const struct usb_temp_interval mouse_intr_interval = {
.bInterval[USB_SPEED_LOW] = 2,
.bInterval[USB_SPEED_FULL] = 2,
.bInterval[USB_SPEED_HIGH] = 2 * 8,
.bInterval[USB_SPEED_LOW] = 2, /* 2ms */
.bInterval[USB_SPEED_FULL] = 2, /* 2ms */
.bInterval[USB_SPEED_HIGH] = 5, /* 2ms */
};
static const struct usb_temp_endpoint_desc mouse_ep_0 = {