DragonFly BSD

CVS log for src/sys/bus/usb/ehcivar.h

[BACK] Up to [DragonFly] / src / sys / bus / usb

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Jun 10 10:04:06 2008 UTC (6 years, 3 months ago) by hasso
Branches: MAIN
CVS tags: HEAD, DragonFly_RELEASE_2_0_Slip, DragonFly_RELEASE_2_0, DragonFly_Preview
Diff to: previous 1.11: preferred, unified
Changes since revision 1.11: +0 -1 lines
Remove the code which disables port status change interrupts for 1 second
when one occured. It meant that event get lost or delayed until the next
change leaving the port dead under some circumstances.

Obtained-from: NetBSD

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Jun 30 20:39:22 2007 UTC (7 years, 2 months ago) by hasso
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_12_Slip, DragonFly_RELEASE_1_12, DragonFly_RELEASE_1_10_Slip, DragonFly_RELEASE_1_10
Diff to: previous 1.10: preferred, unified
Changes since revision 1.10: +2 -2 lines
Nuke PROC_(UN)LOCK, usb_callout_t, usb_kthread_create* and uio_procp.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jun 28 13:55:12 2007 UTC (7 years, 2 months ago) by hasso
Branches: MAIN
Diff to: previous 1.9: preferred, unified
Changes since revision 1.9: +1 -1 lines
Nuke SIMPLEQ_* and logprintf.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Jun 27 12:27:59 2007 UTC (7 years, 2 months ago) by hasso
Branches: MAIN
Diff to: previous 1.8: preferred, unified
Changes since revision 1.8: +0 -18 lines
Nuke the code specific to NetBSD/OpenBSD/FreeBSD at first. I doubt anyone
will update these pieces and I don't intend to review macros for all
platforms.

There is the chance though that I might kill something which should stay
in the code in form "TODO: port it to DF". So, please review and kick me.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Dec 10 02:03:56 2006 UTC (7 years, 9 months ago) by sephe
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_8_Slip, DragonFly_RELEASE_1_8
Diff to: previous 1.7: preferred, unified
Changes since revision 1.7: +18 -10 lines
Sync USB support (host controller part) with FreeBSD6.

Following changes on FreeBSD-CURRENT(by iedowse@freebsd.org) are merged:
ehci.c	rev 1.52
ohci.c	rev 1.167
uhci.c	rev 1.172
usb.c	rev 1.111
usbdi.h	rev 1.61
"Use a different task queue for host controller and peripheral driver
 tasks. Since the host controllers rely on tasks to process transfer
 timeouts, if a synchronous transfer from a driver was invoked from
 a task and timed out, it would never complete because the single
 task thread was stuck performing the synchronous transfer so couldn't
 process the timeout."

As of this commit, only following kernel APIs are changed:
- usbd_get_string_desc() takes one more argument which returns the actual
  size of the string description.
- usb_add_task() takes one more argument.  The extra arguemnt is used
  to specify to which task queue the task should be added.  There is
  two task queues defined, one for peripheral driver (USB_TASKQ_DRIVER),
  one for host controller (USB_TASKQ_HC).

ugen(4) is adapted according to the above kernel API changes.

Thank all of the folks for their work on the USB support.

Tested-by:
swildner@, vbd@, joerg@(1.6 backport), Max Herrgard <herrgard@gmail.com>

# Though VT6202 is supported by ehci(4), I still have problems with this
# chip, even with the updated ehci(4).

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue May 2 16:12:01 2006 UTC (8 years, 4 months ago) by dillon
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_6_Slip, DragonFly_RELEASE_1_6
Diff to: previous 1.6: preferred, unified
Changes since revision 1.6: +3 -0 lines
- Add workarounds for dropped interrupts on VIA and ATI controllers.
- Include more vendor IDs.

Submitted-by: Gary <gary@velocity-servers.net>
Taken-from: FreeBSD/NetBSD

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Aug 27 14:03:23 2005 UTC (9 years ago) by asmodai
Branches: MAIN
CVS tags: DragonFly_RELEASE_1_4_Slip, DragonFly_RELEASE_1_4
Diff to: previous 1.5: preferred, unified
Changes since revision 1.5: +1 -1 lines
Update FreeBSD tag to what the source code has.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Aug 27 13:59:55 2005 UTC (9 years ago) by asmodai
Branches: MAIN
Diff to: previous 1.4: preferred, unified
Changes since revision 1.4: +25 -2 lines
Update with the NetBSD code (which can include FreeBSD/OpenBSD changes):

v1.13: suspend/resume support
v1.14: was already applied by Matt, ifdefs for soft interrupt related stuff
v1.15: interrupt transfers, done originally by iedowse of FreeBSD, some minor
       changes by David Gwyne.  Note that NetBSD misattributed and OpenBSD did
       not attribute at all.
v1.16: implement a DMA memory reserve, ifdef'd for NetBSD.
v1.17: ifdefs for sc_child for NetBSD/OpenBSD.
v1.18: add EHCI_MAX_POLLRATE

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Aug 27 12:59:13 2005 UTC (9 years ago) by asmodai
Branches: MAIN
Diff to: previous 1.3: preferred, unified
Changes since revision 1.3: +1 -1 lines
Synchronise with NetBSD v1.18:

	Allow 32 chars in the saved vendor string.  Fixes kern/29760.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Jun 10 18:21:11 2005 UTC (9 years, 3 months ago) by dillon
Branches: MAIN
Diff to: previous 1.2: preferred, unified
Changes since revision 1.2: +1 -0 lines
Attempt to avoid a livelocked USB interrupt during boot by not enabling
the EHCI interrupt until after all the companion controllers have been
attached.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Feb 11 15:17:26 2004 UTC (10 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: DragonFly_Stable, DragonFly_Snap29Sep2004, DragonFly_Snap13Sep2004, DragonFly_RELEASE_1_2_Slip, DragonFly_RELEASE_1_2, DragonFly_1_0_REL, DragonFly_1_0_RC1, DragonFly_1_0A_REL
Diff to: previous 1.1: preferred, unified
Changes since revision 1.1: +1 -1 lines
Add defined(__FreeBSD__) and defined(__DragonFly__) where appropriate

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Dec 30 01:01:44 2003 UTC (10 years, 8 months ago) by dillon
Branches: MAIN
Bring in the entire FreeBSD-5 USB infrastructure.  As of this commit my
USB camera, Hard Drive, Mouse, and Sony memory key all work and I can even
unplug and replug them in without crashing the port.

Not all drivers and subsystems compile as of this commit, but the ones that
do not are very close.

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