Skip site navigation (1)Skip section navigation (2)

CVS log for src/sys/dev/usb/controller/ehci.h

[BACK] Up to [FreeBSD] / src / sys / dev / usb / controller

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.8.2.7: 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.8.2.6: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.6: +0 -5 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.13.2.2: 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.13.2.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.1: +0 -5 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.14: 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.13: preferred, colored
Changes since revision 1.13: +0 -5 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.13.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.13.2.1: preferred, colored; next MAIN 1.13.2.2: preferred, colored
Changes since revision 1.13.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.13.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.13: preferred, colored
Changes since revision 1.13: +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.8.2.6: download - view: text, markup, annotated - select for diffs
Sun Apr 3 22:01:26 2011 UTC (10 months, 1 week ago) by hselasky
Branches: RELENG_8
Diff to: previous 1.8.2.5: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.5: +0 -7 lines
SVN rev 220308 on 2011-04-03 22:01:26Z by hselasky

MFC r219048, r219004, r218475 and r204632.
- The NetBSD Foundation has granted permission to remove clause 3 and 4 from
  their software.
- use device_printf() instead of printf() to give more accurate warnings.
- use memcpy() instead of bcopy().
- add missing #if's for non-FreeBSD compilation.
- Add missing xhci(4) manual page.
- Minor update in some USB manual pages.
- Correct USB 3.0 wire-speed to 5.0Gbps

Approved by:	thompsa (mentor)

Revision 1.8.2.5.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.8.2.5: preferred, colored; next MAIN 1.8.2.6: preferred, colored
Changes since revision 1.8.2.5: +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.8.2.5: 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.8.2.4: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.4: +3 -0 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.13: 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
CVS tags: RELENG_9_BP
Branch point for: RELENG_9
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -0 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.8.2.4.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.8.2.4: preferred, colored; next MAIN 1.8.2.5: preferred, colored
Changes since revision 1.8.2.4: +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.8.2.4: download - view: text, markup, annotated - select for diffs
Tue Apr 6 23:21:06 2010 UTC (22 months ago) by thompsa
Branches: RELENG_8
CVS tags: RELENG_8_1_BP
Branch point for: RELENG_8_1
Diff to: previous 1.8.2.3: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.3: +1 -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.12: download - view: text, markup, annotated - select for diffs
Wed Mar 3 10:18:03 2010 UTC (23 months, 1 week ago) by joel
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +0 -7 lines
SVN rev 204632 on 2010-03-03 10:18:03Z by joel

The NetBSD Foundation has granted permission to remove clause 3 and 4 from
their software.

Obtained from:	NetBSD

Revision 1.11: 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.10: preferred, colored
Changes since revision 1.10: +1 -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.8.2.3: 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.8.2.2: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.2: +2 -0 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.10: 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.9: preferred, colored
Changes since revision 1.9: +2 -0 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.8.2.2: 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.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.1: +0 -133 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.8.2.1.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.8.2.1: preferred, colored; next MAIN 1.8.2.2: preferred, colored
Changes since revision 1.8.2.1: +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.9: 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.8: preferred, colored
Changes since revision 1.8: +0 -133 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.8.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
CVS tags: RELENG_8_0_BP
Branch point for: RELENG_8_0
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +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.8: 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
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 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.7: 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.6: preferred, colored
Changes since revision 1.6: +24 -24 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.6: 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.5: preferred, colored
Changes since revision 1.5: +0 -2 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.5: 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.4: preferred, colored
Changes since revision 1.4: +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.4: 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.3: preferred, colored
Changes since revision 1.3: +0 -2 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.3: 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.2: preferred, colored
Changes since revision 1.2: +1 -1 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.2: 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.1: preferred, colored
Changes since revision 1.1: +59 -0 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.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.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options