Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2002 04:06:01 -0800 (PST)
From:      Josef Karthauser <joe@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/usb ohci.c uhci.c uhcivar.h ums.c usb_port.h usb_subr.c usbdi.c usbdivar.h
Message-ID:  <200203161206.g2GC61P92661@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
joe         2002/03/16 04:06:01 PST

  Modified files:
    sys/dev/usb          ohci.c uhci.c uhcivar.h ums.c usb_port.h 
                         usb_subr.c usbdi.c usbdivar.h 
  Log:
  Huge merge from NetBSD:
  
  usbdi.c (1.61):
          ===================================================================
          revision 1.61
          date: 2000/01/31 20:13:07;  author: augustss;  lines: +20 -4
          Change the way the HC done method is invoked a little.
          ===================================================================
  
  usbdi.c (1.65):
          ===================================================================
          revision 1.65
          date: 2000/03/08 15:34:10;  author: augustss;  lines: +4 -2
          Get the status right when a polled transfer times out.
          ===================================================================
  
  ohci.c (1.79), uhci.c (1.89), uhcivar.h (1.24), usb_port.h (1.22),
  usbdivar.h (1.48):
          ===================================================================
          date: 2000/03/23 07:01:46;  author: thorpej;
          New callout mechanism with two major improvements over the old
          timeout()/untimeout() API:
          - Clients supply callout handle storage, thus eliminating problems of
            resource allocation.
          - Insertion and removal of callouts is constant time, important as
            this facility is used quite a lot in the kernel.
  
          The old timeout()/untimeout() API has been removed from the kernel.
          ===================================================================
  
  uhci.c (1.80), usbdi.c (1.66):
          ===================================================================
          date: 2000/03/23 18:59:10;  author: thorpej;
          Shake out some bugs from the callout changes.
          ===================================================================
  
  ohci.c (1.80), uhci.c (1.91), uhcivar.h (1.25), usb_port.h (1.23),
  usbdi.c (1.67), usbdivar.h (1.49):
          ===================================================================
          date: 2000/03/24 22:03:30;  author: augustss;
          Some cleanup and renaming of the callouts used in USB drivers.
          ===================================================================
  
  uhci.c (1.92), uhcivar.h (1.26):
          ===================================================================
          date: 2000/03/24 22:57:58;  author: augustss;
          Two major changes:
  
            Make each xfer have its own intr_info.  This is necessary if we want
            to queue multiple xfers on an endpoint.  This should get rid of the
            (mostly harmless) DIAGNOSTICs about intr_infos (not) being done.
  
            Change (again!) how xfers are aborted.  Aborting a TD is a nightmare
            on the braindead UHCI controller.  (Unless you stop the HC, thereby
            losing isoc traffic.)  Hopefully I got it right this time.
          ===================================================================
  
  usbdivar.h (1.50):
          ===================================================================
          revision 1.50
          date: 2000/03/25 00:10:19;  author: augustss;  lines: +4 -2
          GC an unsued field and add some DIAGNOSTIC in xfer.
          ===================================================================
  
  ums.c: Use the callout functions instead of the timeout ones.
  
  uhci.c (1.93):
          ===================================================================
          revision 1.93
          date: 2000/03/25 00:11:21;  author: augustss;
          lines: +26 -1
          Add more DIAGNOSTIC when aborting isoc.
          ===================================================================
  
  uhci.c (1.94), usbdivar.h (1.51):
          ===================================================================
          date: 2000/03/25 07:13:05;  author: augustss;
          More DIAGNOSTIC.
          Initialize a callout handle I forgot.
          ===================================================================
  
  uhci.c (1.95):
          ===================================================================
          revision 1.95
          date: 2000/03/25 07:23:12;  author: augustss;
          Exp;  lines: +24 -7
          Improve uhci_dump_ii().
          ===================================================================
  
  ohci.c (1.81), uhci.c (1.96), uhcivar.h (1.27), usb_subr.c (1.68),
  usbdi.c (1.68), usbdivar.h (1.52):
          ===================================================================
          date: 2000/03/25 18:02:33;  author: augustss;
          Rename and move around callout handles to make it more sane.
          Add some DIAGNOSTIC.
          Fix buglet in isoc abort on UHCI.
          ===================================================================
  
  uhci.c (1.98):
          ===================================================================
          revision 1.98
          date: 2000/03/27 07:39:48;  author: augustss;  lines: +12 -4
          Make it compile without DIAGNOSTIC.
          ===================================================================
  
  uhci.c (1.99):
          ===================================================================
          revision 1.99
          date: 2000/03/27 08:01:09;  author: augustss;  lines: +1 -5
          Remove some debug nonsense.
          ===================================================================
  
  uhci.c (1.100):
          ===================================================================
          revision 1.100
          date: 2000/03/27 09:41:36;  author: augustss;  lines: +13 -3
          Don't mess with QH in bulk abort for the moment.
          ===================================================================
  
  uhci.c (1.102):
          ===================================================================
          revision 1.102
          date: 2000/03/27 22:42:57;  author: augustss;  lines: +66 -26
          Be a little more careful when aborting.
          Preallocate some TDs for large buffers.
          ===================================================================
  
  uhci.c (1.103):
          ===================================================================
          date: 2000/03/28 09:47:10;  author: augustss;  lines: +11 -1
          Another patch for xfer abort...
          XXX The current xfer queueing and aborting semantics should really
          XXX be changed.  It cannot be implemented in a sane way on UHCI.
          XXX One day when I have lots of time I'll redesign it...
          ===================================================================
  
  uhci.c (1.104): Correct a debug message.
  uhci.c (1.105): Be more defensive in a DIAGNOSTIC test.
  
  uhci.c (1.106):
          ===================================================================
          revision 1.106
          date: 2000/03/29 01:49:13;  author: augustss;  lines: +14 -309
          *SIGH*  Revert back to the old method of aborting xfers.
          I had tested the new stuff for two months now, but as soon as I commited
          it the problems started to appear.  Murphy, no doubt...
          ===================================================================
  
  usb_subr.c (1.70), usbdi.c (1.71), usbdivar.h (1.53):
          ===================================================================
          revision 1.70
          date: 2000/03/29 01:45:20;  author: augustss;  lines: +2 -1
          Do not accept new xfers for queuing while a pipe is aborting.
          ===================================================================
  
  Revision  Changes    Path
  1.68      +11 -8     src/sys/dev/usb/ohci.c
  1.85      +277 -245  src/sys/dev/usb/uhci.c
  1.28      +11 -11    src/sys/dev/usb/uhcivar.h
  1.51      +7 -8      src/sys/dev/usb/ums.c
  1.42      +13 -7     src/sys/dev/usb/usb_port.h
  1.35      +3 -1      src/sys/dev/usb/usb_subr.c
  1.50      +34 -8     src/sys/dev/usb/usbdi.c
  1.22      +12 -5     src/sys/dev/usb/usbdivar.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203161206.g2GC61P92661>