diff options
author | hselasky <hselasky@FreeBSD.org> | 2013-10-24 07:38:32 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2013-10-24 07:38:32 +0000 |
commit | 110ec3f7e38eb87529f8a17b5e5a207378bce219 (patch) | |
tree | dde87ec7a20808212dcf43014af42946a6963e7e /sys/dev/usb/controller/musb_otg.h | |
parent | be939ca962d3012cea3d32385af7527e0ce5c525 (diff) | |
download | FreeBSD-src-110ec3f7e38eb87529f8a17b5e5a207378bce219.zip FreeBSD-src-110ec3f7e38eb87529f8a17b5e5a207378bce219.tar.gz |
MFC r256548:
Correct programming of XXX_MAXP register. This register is 16-bit wide
and not 8-bit. Fix support for isochronous transfers in USB host mode.
Fix a whitespace while at it.
PR: usb/181987
Approved by: re (Xin Li)
Diffstat (limited to 'sys/dev/usb/controller/musb_otg.h')
-rw-r--r-- | sys/dev/usb/controller/musb_otg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/musb_otg.h b/sys/dev/usb/controller/musb_otg.h index 649cab8..f8f3470 100644 --- a/sys/dev/usb/controller/musb_otg.h +++ b/sys/dev/usb/controller/musb_otg.h @@ -316,9 +316,9 @@ struct musbotg_td { uint32_t offset; uint32_t remainder; uint16_t max_frame_size; /* packet_size * mult */ + uint16_t reg_max_packet; uint8_t ep_no; uint8_t transfer_type; - uint8_t max_packet; uint8_t error:1; uint8_t alt_next:1; uint8_t short_pkt:1; |