NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/38528 CVS commit: src/sys/dev/usb
The following reply was made to PR kern/38528; it has been noted by GNATS.
From: Matthias Drochner <drochner%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/38528 CVS commit: src/sys/dev/usb
Date: Sun, 25 May 2008 21:41:35 +0000 (UTC)
Module Name: src
Committed By: drochner
Date: Sun May 25 21:41:35 UTC 2008
Modified Files:
src/sys/dev/usb: files.usb uhub.c usb.c usb_subr.c usbdivar.h
Log Message:
-make the list of USB child devices a (possibly sparse) array rather
than a zero-terminated list; this makes the code simpler and also
hopefully fixes the recent "childdet" botch, see PR kern/38528
-handle the root hub specially a bit earlier, this allows to kick out
the "submatch" functions completely which needed to second-guess
from the port number (where "0" meant root hub")
(we could handle the root hub specially even earlier, but as done
now big parts of the hub emulation code are exercised regularely,
this would bitrot otherwise)
To generate a diff of this commit:
cvs rdiff -r1.82 -r1.83 src/sys/dev/usb/files.usb
cvs rdiff -r1.98 -r1.99 src/sys/dev/usb/uhub.c
cvs rdiff -r1.113 -r1.114 src/sys/dev/usb/usb.c
cvs rdiff -r1.154 -r1.155 src/sys/dev/usb/usb_subr.c
cvs rdiff -r1.84 -r1.85 src/sys/dev/usb/usbdivar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index