git: USB - Clean up address setting and softc allocations

看板DFBSD_commit作者時間16年前 (2009/08/11 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1AW61oNw (DFBSD_commit)