freebsd-skq/sys/dev/usb
avg fc6882fc30 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
..
controller Renamed PCI_INTERFACE_XHCI to PCIP_SERIALBUS_USB_XHCI and moved it 2011-05-17 11:23:43 +00:00
input usb: change to one-pass probing of device drivers 2011-05-18 07:40:12 +00:00
misc Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
net - Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP 2011-05-03 19:51:29 +00:00
quirk - Add support for some non-standard USB MIDI devices from Roland, by 2011-02-24 09:13:47 +00:00
serial - Remove dependency to ucom from ulpt. 2011-03-03 10:25:41 +00:00
storage usb: change to one-pass probing of device drivers 2011-05-18 07:40:12 +00:00
template Minor cleanup: 2011-02-09 08:01:45 +00:00
wlan Guard against default ni_chan 2011-04-29 06:28:29 +00:00
ufm_ioctl.h
usb_bus.h Removes all duplicated code with BPF that it's greatly simplified and 2010-11-24 19:11:32 +00:00
usb_busdma.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_busdma.h
usb_cdc.h USB network (NCM driver): 2010-10-13 22:04:55 +00:00
usb_compat_linux.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_compat_linux.h
usb_controller.h Removes a unused function `usb_bus_find'. 2010-11-25 22:56:26 +00:00
usb_core.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_core.h
usb_debug.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_debug.h
usb_dev.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_dev.h
usb_device.c usb: change to one-pass probing of device drivers 2011-05-18 07:40:12 +00:00
usb_device.h This commit adds full support for USB 3.0 devices in host and device 2010-10-04 23:18:05 +00:00
usb_dynamic.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_dynamic.h
usb_endian.h
usb_error.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_freebsd.h Add more sanity checks for USB_HOST_ALIGN input values. Re-factor existing 2011-01-24 17:38:37 +00:00
usb_generic.c - Fix for missing event if a libUSB USB transfer is started and 2011-04-03 20:22:49 +00:00
usb_generic.h
usb_handle_request.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_hid.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_hub.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_hub.h This commit adds full support for USB 3.0 devices in host and device 2010-10-04 23:18:05 +00:00
usb_if.m
usb_ioctl.h - Add support for software pre-scaling of ISOCHRONOUS transfers. 2011-02-28 17:23:15 +00:00
usb_lookup.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_mbuf.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_mbuf.h
usb_msctest.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_msctest.h Add support to Alcatel/TCTMobile X080S USB 3G modem. The device needs 2010-10-06 14:29:00 +00:00
usb_parse.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_pci.h
usb_pf.c - Improvements to USB PF solution 2011-04-03 20:03:45 +00:00
usb_pf.h - Improvements to USB PF solution 2011-04-03 20:03:45 +00:00
usb_process.c Fix typos - remove duplicate "the". 2011-02-21 09:01:34 +00:00
usb_process.h Use software interrupt priorities for USB kthreads instead of hardware 2011-01-13 14:15:36 +00:00
usb_request.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_request.h Add code to warm reset a USB 3.0 port. 2010-11-04 19:24:21 +00:00
usb_transfer.c - Improvements to USB PF solution 2011-04-03 20:03:45 +00:00
usb_transfer.h This commit adds full support for USB 3.0 devices in host and device 2010-10-04 23:18:05 +00:00
usb_util.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
usb_util.h
usb.h Add missing USB 3.0 definitions. Correct some wrong ones. 2010-10-04 21:38:10 +00:00
usbdevs Add new USB ID's. 2011-05-14 12:16:09 +00:00
usbdi_util.h This commit adds full support for USB 3.0 devices in host and device 2010-10-04 23:18:05 +00:00
usbdi.h usb: change to one-pass probing of device drivers 2011-05-18 07:40:12 +00:00
usbhid.h