Statistics
| Branch: | Revision:

root / hw / usb-ccid.c @ e0e8384d

History | View | Annotate | Download (44.2 kB)

# Date Author Comment
1cc2428c 07/23/2011 07:20 pm Markus Armbruster

usb-ccid: Drop unused CCIDCardInfo callback print()

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

656acddb 06/27/2011 10:59 pm Anthony Liguori

Merge remote-tracking branch 'kraxel/usb.17' into staging

6daf194d 06/24/2011 11:13 am Markus Armbruster

Strip trailing '\n' from error_report()'s first argument

error_report() prepends location, and appends a newline. The message
constructed from the arguments should not contain a newline. Fix the
obvious offenders.

Signed-off-by: Markus Armbruster <>...

ba3f9bfb 06/23/2011 12:28 pm Hans de Goede

usb: Add a speedmask to devices

This is used to indicate at which speed[s] the device can operate,
so that this can be checked to match the ports capabilities when it gets
attached to a bus.

Note that currently all usb1 emulated device claim to be fullspeed, this...

6df658f5 06/14/2011 05:34 pm Markus Armbruster

usb-ccid: Plug memory leak on qdev exit()

ccid_initfn() allocates CCIDBus dynamically, but there is no exit
callback to free it.

Fix by getting rid of the allocation.

Signed-off-by: Markus Armbruster <>

007fd62f 05/26/2011 12:55 pm Hans de Goede

usb: Pass the packet to the device's handle_control callback

This allows using the generic usb_generic_handle_packet function from
device code which does ASYNC control requests (such as the linux host
pass through code).

Signed-off-by: Hans de Goede <>

62a2ab6a 04/07/2011 04:25 pm Brad Hards

usb-ccid: Spelling fixes

While looking at David Gibson's build-fix for hw/usb-ccid.c, I noticed a spello
in a comment on the following (unchanged) line.

Signed-off-by: Brad Hards <>
Signed-off-by: Stefan Hajnoczi <>

c53c1258 04/04/2011 03:43 pm David Gibson

Fix non-portable format string in usb-ccid.c

At one point, usb-ccid.c attempts to use a %lX format specifier to print
a uint64_t, which is only correct on some host platforms. This patch
corrects the statement to use the stdint specified PRIX64 constant instead....

36707144 04/02/2011 03:07 am Alon Levy

usb-ccid: add CCID bus

A CCID device is a smart card reader. It is a USB device, defined at [1].
This patch introduces the usb-ccid device that is a ccid bus. Next patches will
introduce two card types to use it, a passthru card and an emulated card.

[1] http://www.usb.org/developers/devclass_docs/DWG_Smart-Card_CCID_Rev110....