DragonFly commits List (threaded) for 2009-08
DragonFly BSD
DragonFly commits List (threaded) for 2009-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: USB - Clean up address setting and softc allocations


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Aug 2009 09:32:15 -0700 (PDT)

commit 76ad0d7d4cc32ebafcc8d1ada4df6c662c1feaf1
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Mon Aug 10 09:30:27 2009 -0700

    USB - Clean up address setting and softc allocations
    
    * Zero out the softc structure being allocated for ehci and ohci.
    
    * When establishing a new connection and allocating an address for
      further communications, disconnect and reconnect the default pipe
      instead of just ripping up the underlying address.
    
    Research-done-by: Rumko <rumcic@gmail.com>
    Partially-taken-from: FreeBSD

Summary of changes:
 sys/bus/usb/ohci.c     |   27 +++++++++++++++++++++++----
 sys/bus/usb/uhub.c     |    2 +-
 sys/bus/usb/usb.c      |    3 +--
 sys/bus/usb/usb_subr.c |   19 +++++++++++++++++--
 4 files changed, 42 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/76ad0d7d4cc32ebafcc8d1ada4df6c662c1feaf1


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]