CVS log for src/sys/dev/usb/controller/ehci.c
Up to [FreeBSD] / src / sys / dev / usb / controller
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.26.2.22: download - view: text, markup, annotated - select for diffs
Tue Jan 3 09:15:54 2012 UTC (5 weeks, 2 days ago) by hselasky
Branches: RELENG_8
Diff to: previous 1.26.2.21: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.2.21: +86 -166 lines
SVN rev 229370 on 2012-01-03 09:15:54Z by hselasky MFC r228483, r228640, r228709, r228711, r228723 and r229086: - Implement better support for USB controller suspend and resume. - Add code to wait for USB shutdown to be executed at system shutdown. - Add sysctl which can be used to skip this waiting. NOTE: All USB controller drivers needs to be re-compiled after this change due to changes in some USB controller only structures.
Revision 1.51.2.3: download - view: text, markup, annotated - select for diffs
Sat Dec 31 14:22:02 2011 UTC (5 weeks, 5 days ago) by hselasky
Branches: RELENG_9
Diff to: previous 1.51.2.2: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.2.2: +86 -166 lines
SVN rev 229096 on 2011-12-31 14:22:02Z by hselasky MFC r229086, r228483 and r228640: Implement better support for USB controller suspend and resume. Fix some build issues in avr32dci.c
Revision 1.51.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 31 13:07:09 2011 UTC (5 weeks, 5 days ago) by hselasky
Branches: RELENG_9
Diff to: previous 1.51.2.1: preferred, colored; branchpoint 1.51: preferred, colored
Changes since revision 1.51.2.1: +1 -1 lines
SVN rev 229080 on 2011-12-31 13:07:09Z by hselasky MFC r227461: Style change. Use memxxx() functions instead of bxxx() functions.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Dec 14 00:28:54 2011 UTC (8 weeks, 1 day ago) by hselasky
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +86 -166 lines
SVN rev 228483 on 2011-12-14 00:28:54Z by hselasky Implement better support for USB controller suspend and resume. This patch should remove the need for kldunload of USB controller drivers at suspend and kldload of USB controller drivers at resume. This patch also fixes some build issues in avr32dci.c MFC after: 2 weeks
Revision 1.26.2.21: download - view: text, markup, annotated - select for diffs
Sat Dec 3 14:38:54 2011 UTC (2 months, 1 week ago) by hselasky
Branches: RELENG_8
Diff to: previous 1.26.2.20: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.20: +1 -1 lines
SVN rev 228229 on 2011-12-03 14:38:54Z by hselasky MFC r227461: Style change. - Make it easier to port the USB code to other platforms by only using one set of memory functions for clearing and copying memory. None of the memory copies are overlapping. This means using bcopy() is not required. - Fix a compile warning when USB_HAVE_BUSDMA=0 - Add missing semicolon in avr32dci. - Update some comments.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat Nov 12 08:16:45 2011 UTC (2 months, 4 weeks ago) by hselasky
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +1 -1 lines
SVN rev 227461 on 2011-11-12 08:16:45Z by hselasky Style change. - Make it easier to port the USB code to other platforms by only using one set of memory functions for clearing and copying memory. None of the memory copies are overlapping. This means using bcopy() is not required. - Fix a compile warning when USB_HAVE_BUSDMA=0 - Add missing semicolon in avr32dci. - Update some comments. MFC after: 1 week
Revision 1.51.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (2 months, 4 weeks ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.51.2.1: preferred, colored; next MAIN 1.51.2.2: preferred, colored
Changes since revision 1.51.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Nov 7 15:43:11 2011 UTC (3 months ago) by ed
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +1 -1 lines
SVN rev 227309 on 2011-11-07 15:43:11Z by ed Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. The SYSCTL_NODE macro defines a list that stores all child-elements of that node. If there's no SYSCTL_DECL macro anywhere else, there's no reason why it shouldn't be static.
Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith Copy head to stable/9 as part of 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.26.2.20: download - view: text, markup, annotated - select for diffs
Thu Apr 28 06:54:38 2011 UTC (9 months, 1 week ago) by hselasky
Branches: RELENG_8
Diff to: previous 1.26.2.19: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.19: +2 -0 lines
SVN rev 221150 on 2011-04-28 06:54:38Z by hselasky MFC r221073. Fix for missing EHCI datatoggle change case. Approved by: thompsa
Revision 1.26.2.19: download - view: text, markup, annotated - select for diffs
Wed Apr 27 18:00:46 2011 UTC (9 months, 2 weeks ago) by jhb
Branches: RELENG_8
Diff to: previous 1.26.2.18: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.18: +0 -1 lines
SVN rev 221125 on 2011-04-27 18:00:46Z by jhb MFC 217265: Remove unneeded includes of <sys/linker_set.h>. Other headers that use it internally contain nested includes. Requested by: hselasky
Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Apr 26 18:50:35 2011 UTC (9 months, 2 weeks ago) by hselasky
Branches: MAIN
CVS tags: RELENG_9_BP
Branch point for: RELENG_9
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -0 lines
SVN rev 221073 on 2011-04-26 18:50:35Z by hselasky Fix for missing EHCI datatoggle change case. Reported by: Mike Tancsa MFC after: 3 days Approved by: thompsa (mentor)
Revision 1.26.2.18: download - view: text, markup, annotated - select for diffs
Sun Apr 3 22:15:00 2011 UTC (10 months, 1 week ago) by hselasky
Branches: RELENG_8
Diff to: previous 1.26.2.17: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.17: +27 -5 lines
SVN rev 220309 on 2011-04-03 22:15:00Z by hselasky MFC r219845, r219930, r219949 and r219983. - Use software to compute EHCI data toggle instead of hardware. - Fix EHCI initialisation order with regard to debug prints. Approved by: thompsa (mentor)
Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Mar 25 10:11:21 2011 UTC (10 months, 2 weeks ago) by hselasky
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -2 lines
SVN rev 219983 on 2011-03-25 10:11:21Z by hselasky Fix initialisation order with regard to debug prints. Reported by: Luiz Otavio O Souza MFC after: 14 days Approved by: thompsa (mentor)
Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Mar 24 07:59:21 2011 UTC (10 months, 2 weeks ago) by hselasky
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +1 -1 lines
SVN rev 219949 on 2011-03-24 07:59:21Z by hselasky Fix typo. Reported by: Garrett Cooper MFC after: 14 days Approved by: thompsa (mentor)
Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Mar 23 19:41:44 2011 UTC (10 months, 2 weeks ago) by hselasky
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -4 lines
SVN rev 219930 on 2011-03-23 19:41:44Z by hselasky Comply with style(9). Reported by: gavin MFC after: 14 days Approved by: thompsa (mentor)
Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Mar 21 21:16:25 2011 UTC (10 months, 2 weeks ago) by hselasky
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +25 -3 lines
SVN rev 219845 on 2011-03-21 21:16:25Z by hselasky - Bugfix: Fix a EHCI hardware race, where the hardware computed data toggle value is updated after that we read it in the queue-head. This patch can fix problems with BULK timeouts. The issue was found on a Nvidia chipset. MFC after: 14 days Approved by: thompsa (mentor)
Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Jan 11 13:59:06 2011 UTC (12 months, 4 weeks ago) by jhb
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +0 -1 lines
SVN rev 217265 on 2011-01-11 13:59:06Z by jhb Remove unneeded includes of <sys/linker_set.h>. Other headers that use it internally contain nested includes. Reviewed by: bde
Revision 1.26.2.17.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.26.2.17: preferred, colored; next MAIN 1.26.2.18: preferred, colored
Changes since revision 1.26.2.17: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release. Approved by: re (implicit)
Revision 1.26.2.17: download - view: text, markup, annotated - select for diffs
Sat Nov 27 19:47:58 2010 UTC (14 months, 1 week ago) by thompsa
Branches: RELENG_8
CVS tags: RELENG_8_2_BP
Branch point for: RELENG_8_2
Diff to: previous 1.26.2.16: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.16: +50 -42 lines
SVN rev 215949 on 2010-11-27 19:47:58Z by thompsa MFC r213857,213861,213864,213869,213871 EHCI fixes for register and TD handling.
Revision 1.26.2.16: download - view: text, markup, annotated - select for diffs
Fri Nov 19 01:48:47 2010 UTC (14 months, 3 weeks ago) by thompsa
Branches: RELENG_8
Diff to: previous 1.26.2.15: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.15: +1 -1 lines
SVN rev 215500 on 2010-11-19 01:48:47Z by thompsa MFC r212134 Change argument for usbd_get_dma_delay() from USB bus to USB device, some embedded hardware needs to know exactly which device is in question before it exactly can decide the required delay.
Revision 1.26.2.15: download - view: text, markup, annotated - select for diffs
Fri Nov 19 01:29:20 2010 UTC (14 months, 3 weeks ago) by thompsa
Branches: RELENG_8
Diff to: previous 1.26.2.14: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.14: +1 -3 lines
SVN rev 215482 on 2010-11-19 01:29:20Z by thompsa MFC r209443 Add support for LOW speed BULK transfers. This mode is not recommended by the USB 2.0 standard, though some USB devices use it anyway.
Revision 1.26.2.14: download - view: text, markup, annotated - select for diffs
Wed Nov 3 15:31:37 2010 UTC (15 months ago) by nwhitehorn
Branches: RELENG_8
Diff to: previous 1.26.2.13: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.13: +2 -2 lines
SVN rev 214745 on 2010-11-03 15:31:37Z by nwhitehorn MFC r214349: The EHCI_CAPLENGTH and EHCI_HCIVERSION registers are actually sub-registers within the first 4 bytes of the EHCI memory space. For controllers that use big-endian MMIO, reading them with 1- and 2-byte reads would then return the wrong values. Instead, read the combined register with a 4-byte read and mask out the interesting quantities. Requested by: marius
Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Oct 25 15:51:43 2010 UTC (15 months, 2 weeks ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2 lines
SVN rev 214349 on 2010-10-25 15:51:43Z by nwhitehorn The EHCI_CAPLENGTH and EHCI_HCIVERSION registers are actually sub-registers within the first 4 bytes of the EHCI memory space. For controllers that use big-endian MMIO, reading them with 1- and 2-byte reads would then return the wrong values. Instead, read the combined register with a 4-byte read and mask out the interesting quantities.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Oct 14 21:38:06 2010 UTC (15 months, 3 weeks ago) by hselasky
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +48 -40 lines
SVN rev 213869 on 2010-10-14 21:38:06Z by hselasky Revert most of r197682 (EHCI Hardware BUG workaround). Implement proper solution which is to not use the TERMINATE pointer, but rather link to a halted TD. The initial fix was due to a misunderstanding about how the EHCI hardware works. Thanks to Alan Stern for clearing this up. This patch can increase mass storage read performance significantly when the IRQ rate is less than 8000 IRQ/s. Approved by: thompsa (mentor)
Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Oct 14 21:26:06 2010 UTC (15 months, 3 weeks ago) by hselasky
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -1 lines
SVN rev 213864 on 2010-10-14 21:26:06Z by hselasky Avoid using endless retransmission at EHCI hardware level, hence this hide errors from the applications. Only use endless retransmission while in the non-addressed state on a High-Speed device. Approved by: thompsa (mentor)
Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Oct 14 21:18:18 2010 UTC (15 months, 3 weeks ago) by hselasky
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +1 -2 lines
SVN rev 213861 on 2010-10-14 21:18:18Z by hselasky Correct EHCI root HUB interface descriptor. Approved by: thompsa (mentor)
Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Oct 14 21:14:33 2010 UTC (15 months, 3 weeks ago) by hselasky
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +1 -1 lines
SVN rev 213857 on 2010-10-14 21:14:33Z by hselasky Correct EHCI port register read. Approved by: thompsa (mentor)
Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Sep 2 04:01:18 2010 UTC (17 months, 1 week ago) by thompsa
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +1 -1 lines
SVN rev 212134 on 2010-09-02 04:01:18Z by thompsa Change argument for usbd_get_dma_delay() from USB bus to USB device, some embedded hardware needs to know exactly which device is in question before it exactly can decide the required delay. Submitted by: Hans Petter Selasky
Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Jun 22 20:57:48 2010 UTC (19 months, 2 weeks ago) by thompsa
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +1 -3 lines
SVN rev 209443 on 2010-06-22 20:57:48Z by thompsa Add support for LOW speed BULK transfers. This mode is not recommended by the USB 2.0 standard, though some USB devices use it anyway. Submitted by: Hans Petter Selasky
Revision 1.26.2.13.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 3 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.26.2.13: preferred, colored; next MAIN 1.26.2.14: preferred, colored
Changes since revision 1.26.2.13: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith Copy stable/8 to releng/8.1 in preparation for 8.1-RC1. Approved by: re (implicit)
Revision 1.26.2.13: download - view: text, markup, annotated - select for diffs
Mon May 17 23:48:51 2010 UTC (20 months, 3 weeks ago) by thompsa
Branches: RELENG_8
CVS tags: RELENG_8_1_BP
Branch point for: RELENG_8_1
Diff to: previous 1.26.2.12: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.12: +20 -9 lines
SVN rev 208226 on 2010-05-17 23:48:51Z by thompsa MFC r208014 Back out r203140 which was causing problems when the first and the last microframe slot was not in the smask. The problem was that the EHCI driver was then thinking that the transfer was immediately complete in some cases. Which could lead to freeze-like situations, which can be recovered by unplugging the USB device.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed May 12 22:55:45 2010 UTC (20 months, 4 weeks ago) by thompsa
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +20 -9 lines
SVN rev 208014 on 2010-05-12 22:55:45Z by thompsa Back out r203140 which was causing problems when the first and the last microframe slot was not in the smask. The problem was that the EHCI driver was then thinking that the transfer was immediately complete in some cases. Which could lead to freeze-like situations, which can be recovered by unplugging the USB device. Reported by: Richard Kolkovich Submitted by: Hans Petter Selasky
Revision 1.26.2.12: download - view: text, markup, annotated - select for diffs
Thu Apr 29 22:44:04 2010 UTC (21 months, 1 week ago) by thompsa
Branches: RELENG_8
Diff to: previous 1.26.2.11: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.11: +19 -19 lines
SVN rev 207399 on 2010-04-29 22:44:04Z by thompsa MFC r207077 Change USB_DEBUG to #ifdef and allow it to be turned off. Previously this had the illusion of a tunable setting but was always turned on regardless.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Apr 22 21:31:34 2010 UTC (21 months, 2 weeks ago) by thompsa
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +19 -19 lines
SVN rev 207077 on 2010-04-22 21:31:34Z by thompsa Change USB_DEBUG to #ifdef and allow it to be turned off. Previously this had the illusion of a tunable setting but was always turned on regardless. MFC after: 1 week
Revision 1.26.2.11: download - view: text, markup, annotated - select for diffs
Tue Apr 6 23:21:06 2010 UTC (22 months ago) by thompsa
Branches: RELENG_8
Diff to: previous 1.26.2.10: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.10: +19 -0 lines
SVN rev 206302 on 2010-04-06 23:21:06Z by thompsa MFC r203693 Disable the use of the IAAD usb doorbell on NVidia controllers as it can cause the hardware to stall. Submitted by: Hans Petter Selasky
Revision 1.26.2.10: download - view: text, markup, annotated - select for diffs
Tue Apr 6 23:16:40 2010 UTC (22 months ago) by thompsa
Branches: RELENG_8
Diff to: previous 1.26.2.9: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.9: +7 -10 lines
SVN rev 206293 on 2010-04-06 23:16:40Z by thompsa MFC r203140 Optimise EHCI ISOC HS done check. Submitted by: Hans Petter Selasky
Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Feb 9 00:38:40 2010 UTC (2 years ago) by thompsa
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +19 -0 lines
SVN rev 203693 on 2010-02-09 00:38:40Z by thompsa Disable the use of the IAAD usb doorbell on NVidia controllers as it can cause the hardware to stall. Submitted by: Hans Petter Selasky
Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Jan 29 01:30:13 2010 UTC (2 years ago) by thompsa
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +7 -10 lines
SVN rev 203140 on 2010-01-29 01:30:13Z by thompsa Optimise EHCI ISOC HS done check. Submitted by: Hans Petter Selasky
Revision 1.26.2.9: download - view: text, markup, annotated - select for diffs
Wed Dec 9 22:41:11 2009 UTC (2 years, 2 months ago) by thompsa
Branches: RELENG_8
Diff to: previous 1.26.2.8: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.8: +1 -1 lines
SVN rev 200332 on 2009-12-09 22:41:11Z by thompsa MFC r199718 Actually disable interrupts in ehci_detach().
Revision 1.26.2.8: download - view: text, markup, annotated - select for diffs
Wed Dec 9 22:39:09 2009 UTC (2 years, 2 months ago) by thompsa
Branches: RELENG_8
Diff to: previous 1.26.2.7: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.7: +3 -0 lines
SVN rev 200330 on 2009-12-09 22:39:09Z by thompsa MFC r199675 Provide tunables for some of the usb sysctls that affect boot behaviour. Submitted by: Andriy Gapon
Revision 1.26.2.7: download - view: text, markup, annotated - select for diffs
Wed Dec 9 22:37:06 2009 UTC (2 years, 2 months ago) by thompsa
Branches: RELENG_8
Diff to: previous 1.26.2.6: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.6: +12 -47 lines
SVN rev 200328 on 2009-12-09 22:37:06Z by thompsa MFC r199672 Improve High Speed slot allocation mechanism by moving the computation to the endpoint rather than per xfer and provide functions around get/free of resources. Submitted by: Hans Petter Selasky
Revision 1.26.2.6: download - view: text, markup, annotated - select for diffs
Wed Dec 9 22:34:11 2009 UTC (2 years, 2 months ago) by thompsa
Branches: RELENG_8
Diff to: previous 1.26.2.5: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.5: +66 -27 lines
SVN rev 200325 on 2009-12-09 22:34:11Z by thompsa MFC r199059 improve support for high speed isochronous endpoints which does not run 1:1, but needs intervalling 1:2, 1:4 or 1:8 Submitted by: Hans Petter Selasky
Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Nov 23 18:12:09 2009 UTC (2 years, 2 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +1 -1 lines
SVN rev 199718 on 2009-11-23 18:12:09Z by thompsa Actually disable interrupts in ehci_detach(). Reviewed by: HPS
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Nov 22 21:21:22 2009 UTC (2 years, 2 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -0 lines
SVN rev 199675 on 2009-11-22 21:21:22Z by thompsa Provide tunables for some of the usb sysctls that affect boot behaviour. Submitted by: Andriy Gapon
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Nov 22 21:16:43 2009 UTC (2 years, 2 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +12 -47 lines
SVN rev 199672 on 2009-11-22 21:16:43Z by thompsa Improve High Speed slot allocation mechanism by moving the computation to the endpoint rather than per xfer and provide functions around get/free of resources. Submitted by: Hans Petter Selasky
Revision 1.26.2.5: download - view: text, markup, annotated - select for diffs
Wed Nov 11 01:33:06 2009 UTC (2 years, 2 months ago) by thompsa
Branches: RELENG_8
Diff to: previous 1.26.2.4: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.4: +36 -4 lines
SVN rev 199166 on 2009-11-11 01:33:06Z by thompsa MFC r199058 Integrate lost interrupts patch from the old USB stack. Some EHCI chips from VIA / ATI seem to trigger interrupts before writing back the qTD status, or miss signalling occasionally under heavy load. If the host machine is too fast, we can miss transaction completion - when we scan the active list the transaction still seems to be active. This generally exhibits itself as a umass stall that never recovers. We work around this behaviour by setting up this callback after any softintr that completes with transactions still pending, giving us another chance to check for completion after the writeback has taken place Submitted by: Alexander Nedotsuko
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Nov 8 20:54:03 2009 UTC (2 years, 3 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +66 -27 lines
SVN rev 199059 on 2009-11-08 20:54:03Z by thompsa improve support for high speed isochronous endpoints which does not run 1:1, but needs intervalling 1:2, 1:4 or 1:8 Submitted by: Hans Petter Selasky
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Nov 8 20:51:15 2009 UTC (2 years, 3 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +36 -4 lines
SVN rev 199058 on 2009-11-08 20:51:15Z by thompsa Integrate lost interrupts patch from the old USB stack. Some EHCI chips from VIA / ATI seem to trigger interrupts before writing back the qTD status, or miss signalling occasionally under heavy load. If the host machine is too fast, we can miss transaction completion - when we scan the active list the transaction still seems to be active. This generally exhibits itself as a umass stall that never recovers. We work around this behaviour by setting up this callback after any softintr that completes with transactions still pending, giving us another chance to check for completion after the writeback has taken place Submitted by: Alexander Nedotsuko MFC after: 3 days
Revision 1.26.2.4: download - view: text, markup, annotated - select for diffs
Thu Oct 29 23:25:52 2009 UTC (2 years, 3 months ago) by thompsa
Branches: RELENG_8
Diff to: previous 1.26.2.3: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.3: +1 -0 lines
SVN rev 198659 on 2009-10-29 23:25:52Z by thompsa MFC r198151 Workaround buggy BIOS code in USB regard. By doing the BIOS to OS handover for all host controllers at the same time, we avoid problems where the BIOS will actually write to the USB registers of all the USB host controllers every time we handover one of them, and consequently reset the OS programmed values.
Revision 1.26.2.3: download - view: text, markup, annotated - select for diffs
Thu Oct 29 23:16:00 2009 UTC (2 years, 3 months ago) by thompsa
Branches: RELENG_8
Diff to: previous 1.26.2.2: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.2: +15 -19 lines
SVN rev 198642 on 2009-10-29 23:16:00Z by thompsa MFC r197555 Simplify logic around setting EHCI_QH_DTC and expand some htohc32(temp.sc, 0) statements to zero.
Revision 1.26.2.2.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.26.2.2: preferred, colored; next MAIN 1.26.2.3: preferred, colored
Changes since revision 1.26.2.2: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure. Approved by: re (implicit)
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Oct 15 20:07:08 2009 UTC (2 years, 3 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +1 -0 lines
SVN rev 198151 on 2009-10-15 20:07:08Z by thompsa Workaround buggy BIOS code in USB regard. By doing the BIOS to OS handover for all host controllers at the same time, we avoid problems where the BIOS will actually write to the USB registers of all the USB host controllers every time we handover one of them, and consequently reset the OS programmed values. Submitted by: avg Reviewed by: jhb
Revision 1.26.2.2: download - view: text, markup, annotated - select for diffs
Sun Oct 4 19:03:32 2009 UTC (2 years, 4 months ago) by thompsa
Branches: RELENG_8
CVS tags: RELENG_8_0_BP
Branch point for: RELENG_8_0
Diff to: previous 1.26.2.1: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.1: +57 -21 lines
SVN rev 197751 on 2009-10-04 19:03:32Z by thompsa MFC r197682 EHCI Hardware BUG workaround The EHCI HW can use the qtd_next field instead of qtd_altnext when a short packet is received. This contradicts what is stated in the EHCI datasheet. Also the total-bytes field in the status field of the following TD gets corrupted upon reception of a short packet! We work this around in software by not queueing more than one job/TD at a time of up to 16Kbytes! The bug has been seen on multiple INTEL based EHCI chips. Other vendors have not been tested yet. - Applications using /dev/usb/X.Y.Z, where Z is non-zero are affected, but not applications using LibUSB v0.1, v1.2 and v2.0. - Mass Storage (umass) is affected. Approved by: re (kib)
Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Oct 1 18:37:16 2009 UTC (2 years, 4 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +57 -21 lines
SVN rev 197682 on 2009-10-01 18:37:16Z by thompsa EHCI Hardware BUG workaround The EHCI HW can use the qtd_next field instead of qtd_altnext when a short packet is received. This contradicts what is stated in the EHCI datasheet. Also the total-bytes field in the status field of the following TD gets corrupted upon reception of a short packet! We work this around in software by not queueing more than one job/TD at a time of up to 16Kbytes! The bug has been seen on multiple INTEL based EHCI chips. Other vendors have not been tested yet. - Applications using /dev/usb/X.Y.Z, where Z is non-zero are affected, but not applications using LibUSB v0.1, v1.2 and v2.0. - Mass Storage (umass) is affected. Submitted by: Hans Petter Selasky MFC after: 3 days
Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Sep 28 07:09:17 2009 UTC (2 years, 4 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +15 -19 lines
SVN rev 197555 on 2009-09-28 07:09:17Z by thompsa Simplify logic around setting EHCI_QH_DTC and expand some htohc32(temp.sc, 0) statements to zero. Submitted by: Hans Petter Selasky
Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith Copy head to stable/8 as part of 8.0 Release cycle. Approved by: re (Implicit)
Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Jul 30 00:14:34 2009 UTC (2 years, 6 months ago) by alfred
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +1 -0 lines
SVN rev 195960 on 2009-07-30 00:14:34Z by alfred USB CORE: - Add minimum polling support to drive UMASS and UKBD in case of panic. - Add extra check to ukbd probe to fix problem about mouse devices attaching like keyboards. - P4 ID: 166148 Submitted by: hps Approved by: re
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Jun 23 02:19:59 2009 UTC (2 years, 7 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +22 -3 lines
SVN rev 194677 on 2009-06-23 02:19:59Z by thompsa - Make struct usb_xfer opaque so that drivers can not access the internals - Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h
Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Jun 15 01:02:43 2009 UTC (2 years, 7 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +107 -107 lines
SVN rev 194228 on 2009-06-15 01:02:43Z by thompsa s/usb2_/usb_|usbd_/ on all function names for the USB stack.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Jun 7 19:41:11 2009 UTC (2 years, 8 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +58 -58 lines
SVN rev 193644 on 2009-06-07 19:41:11Z by thompsa Rename usb pipes to endpoints as it better represents what they are, and struct usb_pipe may be used for a different purpose later on.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri May 29 18:46:57 2009 UTC (2 years, 8 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +11 -11 lines
SVN rev 193045 on 2009-05-29 18:46:57Z by thompsa s/usb2_/usb_/ on all typedefs for the USB stack.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu May 28 17:36:36 2009 UTC (2 years, 8 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +85 -85 lines
SVN rev 192984 on 2009-05-28 17:36:36Z by thompsa s/usb2_/usb_/ on all C structs for the USB stack.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu May 21 17:43:35 2009 UTC (2 years, 8 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +0 -7 lines
SVN rev 192555 on 2009-05-21 17:43:35Z by thompsa Fix a failure to report failure on stalled status stage for control transactions. Submitted by: Hans Petter Selasky
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu May 21 01:48:42 2009 UTC (2 years, 8 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
SVN rev 192502 on 2009-05-21 01:48:42Z by thompsa Rename the usb sysctl tree from hw.usb2.* back to hw.usb.*. Submitted by: Hans Petter Selasky
Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu May 21 00:04:17 2009 UTC (2 years, 8 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
SVN rev 192499 on 2009-05-21 00:04:17Z by thompsa - rename usb2_mode to usb_mode [1] - change variable types to use the enum Submitted by: Hans Petter Selasky [1]
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed May 13 18:04:51 2009 UTC (2 years, 8 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -0 lines
SVN rev 192053 on 2009-05-13 18:04:51Z by thompsa Add debug lines for fullspeed and highspeed xfer completion. Submitted by: Hans Petter Selasky
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue May 5 15:36:23 2009 UTC (2 years, 9 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -1 lines
SVN rev 191824 on 2009-05-05 15:36:23Z by thompsa Revert part of r191494 which used the udev state to mark suspending, this needs to be set via two variables (peer_suspended and self_suspended) and can not be merged into one. Submitted by: Hans Petter Selasky Pointy hat: me
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Apr 25 21:10:06 2009 UTC (2 years, 9 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -1 lines
SVN rev 191494 on 2009-04-25 21:10:06Z by thompsa Track the usb device state as its powered on, addressed and configured. This helps to avoid touching the device when it is not going to respond and would otherwise timeout. Implement the suspend tracking as a udev state too.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Apr 22 17:08:16 2009 UTC (2 years, 9 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +55 -49 lines
SVN rev 191402 on 2009-04-22 17:08:16Z by thompsa MFp4 //depot/projects/usb@160930 Change the roothub exec functions to take the usb request and data pointers directly rather than placing them on the parent bus struct. Submitted by: Hans Petter Selasky
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Apr 22 17:07:53 2009 UTC (2 years, 9 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
SVN rev 191395 on 2009-04-22 17:07:53Z by thompsa MFp4 //depot/projects/usb@160413 Use direct reference to parent high-speed HUB instead of indirect, due to pointer clearing race at detach of parent USB HUB. Reported by: kientzle Submitted by: Hans Petter Selasky PR: usb/133545
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Apr 6 00:32:54 2009 UTC (2 years, 10 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +0 -1 lines
SVN rev 190755 on 2009-04-06 00:32:54Z by thompsa Remove usb_sw_transfer.[ch] which are now empty after r190735.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Apr 6 00:22:49 2009 UTC (2 years, 10 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -1 lines
SVN rev 190754 on 2009-04-06 00:22:49Z by thompsa Provide a better commit log for r190735, forced by making a whitespace change. Refactor how we interface with the root HUB. This is achieved by making a direct call from usb2_do_request to the host controller for root hub requests, this call will perform the controller specific register read/writes and return the error code. This cuts out a lot of code in the host controller files and saves one thread per USB bus. Submitted by: Hans Petter Selasky
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Apr 5 18:21:21 2009 UTC (2 years, 10 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +0 -10 lines
SVN rev 190738 on 2009-04-05 18:21:21Z by thompsa MFp4 //depot/projects/usb@159946 Some cancelable flags are always true. Substitute these away. These cancelable flags were mostly useful with the root HUB which is now handled differently. Submitted by: Hans Petter Selasky
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Apr 5 18:20:49 2009 UTC (2 years, 10 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +14 -162 lines
SVN rev 190735 on 2009-04-05 18:20:49Z by thompsa MFp4 //depot/projects/usb@159922 Refactor how we interface with the root HUB. This cuts around 1200 lines of code totally and saves one thread per USB bus. Submitted by: Hans Petter Selasky
Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Mar 20 21:57:54 2009 UTC (2 years, 10 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +33 -10 lines
SVN rev 190183 on 2009-03-20 21:57:54Z by thompsa MFp4 //depot/projects/usb @159479,159502,159516,159522,159529 Workaround for buggy USB hardware not handling new SETUP packet before STATUS stage is complete, this allows xfers to endpoint0 to return a short frame. Submitted by: Hans Petter Selasky Reported by: me
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Mar 20 21:50:54 2009 UTC (2 years, 10 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +7 -6 lines
SVN rev 190181 on 2009-03-20 21:50:54Z by thompsa MFp4 //depot/projects/usb @159431,159437,159438 - start using the new USB typedefs in the USB core - Remove usage of USB_ADD_BYTES() Submitted by: Hans Petter Selasky
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Mar 20 19:04:31 2009 UTC (2 years, 10 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -2 lines
SVN rev 190174 on 2009-03-20 19:04:31Z by thompsa MFp4 //depot/projects/usb @159430 - Move tunable defines into usb_core.h and dependancy towards usb_defs.h - Leave hardcoded defines in "usb_defs.h". - Allow overriding all tunable defines. - Add more customisable typedefs. - Correct maximum device number. Submitted by: Hans Petter Selasky
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Mar 7 19:49:47 2009 UTC (2 years, 11 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +195 -200 lines
SVN rev 189496 on 2009-03-07 19:49:47Z by thompsa (re)merge r186415,186416 from the old usb stack; o add Transaction Translator support (still missing ISOC xfers) o add EHCI_SCFLG_BIGEMMIO flag to force big-endian byte-select to be set in USBMODE o split reset work into new public routine ehci_reset so bus shim drivers can force big-endian byte-select before ehci_init o enable TT and big-endian MMIO o force a reset before ehci_init to get byte-select setup Also go back to using USB_EHCI_BIG_ENDIAN_DESC at compile time to enable the byteswapping and reduce diffs to the original commits. This fixes the new USB stack on the Cambria board.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Mar 7 18:08:59 2009 UTC (2 years, 11 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +8 -8 lines
SVN rev 189491 on 2009-03-07 18:08:59Z by thompsa Fix some missed htole32 conversions to htoehci32. Reviewed by: hps
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Mar 6 17:13:12 2009 UTC (2 years, 11 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +9 -0 lines
SVN rev 189453 on 2009-03-06 17:13:12Z by thompsa MFp4 //depot/projects/usb@158692 Workaround a EHCI performance problem by issuing a doorbell after queueing a bulk xfer. Submitted by: Hans Petter Selasky
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Feb 24 03:39:13 2009 UTC (2 years, 11 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +9 -33 lines
SVN rev 188983 on 2009-02-24 03:39:13Z by thompsa MFp4 //depot/projects/usb@157853 Clean up old way of polling the USB hardware. The existing polling support was a bit hackish. Submitted by: Hans Petter Selasky
Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Feb 23 18:31:00 2009 UTC (2 years, 11 months ago) by thompsa
Branches: MAIN
SVN rev 188942 on 2009-02-23 18:31:00Z by thompsa Move the new USB stack into its new home.
