cvs commit: src/sys/dev/usb ehci.c ehcivar.h

Julian Elischer julian at FreeBSD.org
Tue Dec 28 17:21:19 PST 2004


julian      2004-12-29 01:21:18 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/usb          ehci.c ehcivar.h 
  Log:
  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.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.26      +106 -44   src/sys/dev/usb/ehci.c
  1.6       +1 -0      src/sys/dev/usb/ehcivar.h


More information about the cvs-all mailing list