freebsd-dev/sys/dev/sound
Andriy Gapon cd10bffa61 usb: change to one-pass probing of device drivers
This brings USB bus more in line with how newbus is supposed to be used.
Also, because of the two-pass probing the following message was produced
by devd in default configuration when almost any USB device was
connected:
	Unknown USB device: vendor <> product <> bus <>
This should be fixed now.

Note that many USB device drivers pass some information from probe
method to attach method via ivars.  For this to continue working we rely
on the fact that the subr_bus code calls probe method of a winning driver
again before calling its attach method in the case where multiple
drivers claim to support a device.  This is done because device
description is set in successful probe methods and we want to get a correct
device description from a winning driver.  So now this logic is re-used
for setting ivars too.

Reviewed by:	hselasky
MFC after:	1 month
2011-05-18 07:40:12 +00:00
..
isa Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
macio Fix powerpc build failure due to strict kobj signatures checking. 2009-06-08 08:10:52 +00:00
midi Change the type of uio_resid member of struct uio from int to ssize_t. 2009-06-25 18:46:30 +00:00
pci Correct a typo 2011-05-12 00:10:29 +00:00
pcm fix build on 32-bit platforms for r221803 2011-05-12 12:18:01 +00:00
sbus Fix typos. 2010-11-09 10:59:09 +00:00
usb usb: change to one-pass probing of device drivers 2011-05-18 07:40:12 +00:00
chip.h
clone.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
clone.h
driver.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
unit.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
unit.h
version.h - Add a way to change filter oversampling factor through 2009-06-15 04:31:34 +00:00