cvs commit: src/sys/dev/usb ehci.c ehcivar.h
Julian Elischer
julian at FreeBSD.org
Sat Jan 1 02:44:26 PST 2005
julian 2005-01-01 10:44:25 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
sys/dev/usb ehci.c ehcivar.h
Log:
MFC:
Rewrite ehci_abort_xfer() to use the method hinted at in the EHCI spec.
to remove a transaction from the async schedule. The previous method didn't
work well and led to the hardware writing to free'd buffers etc, as
it didn't always know that the transaction had been aborted.
Written after consultation with David Brownell who wrote the Linux
EHCI driver.
As part of this give the sqh structure a "previous" pointer.
Revision Changes Path
1.14.2.5 +106 -44 src/sys/dev/usb/ehci.c
1.4.2.2 +1 -0 src/sys/dev/usb/ehcivar.h
More information about the cvs-all
mailing list