Searched hist:"73796 fe6228ae1e294b4946c6c90337141cacc42" (Results 1 – 3 of 3) sorted by relevance
/qemu/hw/usb/ |
H A D | core.c | 73796fe6228ae1e294b4946c6c90337141cacc42 Tue Jan 10 15:59:28 UTC 2012 Gerd Hoffmann <kraxel@redhat.com> usb: add usb_find_device()
Add usb_find_device(). This function will check whenever a device with a specific address is connected to the specified port. Usually this will just check state and address of the device hooked up to the port, but in case of a hub it will ask the hub to check all hub ports for a matching device.
This patch doesn't put the code into use yet, see the following patches for details.
The master plan is to separate device lookup and packet processing. Right now the usb code simply walks all devices, calls usb_handle_packet() on each until one accepts the packet (by returning something different that USB_RET_NODEV). I want to have a device lookup first, then call usb_handle_packet() once, for the device which actually processes the packet.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
H A D | bus.c | 73796fe6228ae1e294b4946c6c90337141cacc42 Tue Jan 10 15:59:28 UTC 2012 Gerd Hoffmann <kraxel@redhat.com> usb: add usb_find_device()
Add usb_find_device(). This function will check whenever a device with a specific address is connected to the specified port. Usually this will just check state and address of the device hooked up to the port, but in case of a hub it will ask the hub to check all hub ports for a matching device.
This patch doesn't put the code into use yet, see the following patches for details.
The master plan is to separate device lookup and packet processing. Right now the usb code simply walks all devices, calls usb_handle_packet() on each until one accepts the packet (by returning something different that USB_RET_NODEV). I want to have a device lookup first, then call usb_handle_packet() once, for the device which actually processes the packet.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
/qemu/include/hw/ |
H A D | usb.h | 73796fe6228ae1e294b4946c6c90337141cacc42 Tue Jan 10 15:59:28 UTC 2012 Gerd Hoffmann <kraxel@redhat.com> usb: add usb_find_device()
Add usb_find_device(). This function will check whenever a device with a specific address is connected to the specified port. Usually this will just check state and address of the device hooked up to the port, but in case of a hub it will ask the hub to check all hub ports for a matching device.
This patch doesn't put the code into use yet, see the following patches for details.
The master plan is to separate device lookup and packet processing. Right now the usb code simply walks all devices, calls usb_handle_packet() on each until one accepts the packet (by returning something different that USB_RET_NODEV). I want to have a device lookup first, then call usb_handle_packet() once, for the device which actually processes the packet.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|