[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 7/7] ccid: add qdev description strings
From: |
Alon Levy |
Subject: |
[Qemu-devel] [PATCH 7/7] ccid: add qdev description strings |
Date: |
Tue, 11 Jan 2011 10:42:39 +0200 |
---
hw/ccid-card-emulated.c | 1 +
hw/ccid-card-passthru.c | 1 +
hw/usb-ccid.c | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/hw/ccid-card-emulated.c b/hw/ccid-card-emulated.c
index 5531ce1..5e85e8e 100644
--- a/hw/ccid-card-emulated.c
+++ b/hw/ccid-card-emulated.c
@@ -509,6 +509,7 @@ static int emulated_exitfn(CCIDCardState *base)
static CCIDCardInfo emulated_card_info = {
.qdev.name = EMULATED_DEV_NAME,
+ .qdev.desc = "emulated smartcard",
.qdev.size = sizeof(EmulatedState),
.initfn = emulated_initfn,
.exitfn = emulated_exitfn,
diff --git a/hw/ccid-card-passthru.c b/hw/ccid-card-passthru.c
index f9fb82c..351651c 100644
--- a/hw/ccid-card-passthru.c
+++ b/hw/ccid-card-passthru.c
@@ -247,6 +247,7 @@ static VMStateDescription passthru_vmstate = {
static CCIDCardInfo passthru_card_info = {
.qdev.name = PASSTHRU_DEV_NAME,
+ .qdev.desc = "passthrough smartcard",
.qdev.size = sizeof(PassthruState),
.qdev.vmsd = &passthru_vmstate,
.initfn = passthru_initfn,
diff --git a/hw/usb-ccid.c b/hw/usb-ccid.c
index 58f69a6..7b2ea2a 100644
--- a/hw/usb-ccid.c
+++ b/hw/usb-ccid.c
@@ -1330,6 +1330,7 @@ static VMStateDescription ccid_vmstate = {
static struct USBDeviceInfo ccid_info = {
.product_desc = "QEMU USB CCID",
.qdev.name = CCID_DEV_NAME,
+ .qdev.desc = "CCID Rev 1.1 smartcard reader",
.qdev.size = sizeof(USBCCIDState),
.init = ccid_initfn,
.handle_packet = usb_generic_handle_packet,
--
1.7.3.4
[Qemu-devel] [PATCH 7/7] ccid: add qdev description strings,
Alon Levy <=
[Qemu-devel] [PATCH 6/7] ccid: configure: add --enable/disable and nss only disable, Alon Levy, 2011/01/11
[Qemu-devel] [PATCH 1/7] usb-ccid: add CCID bus, Alon Levy, 2011/01/11
[Qemu-devel] [PATCH 3/7] libcacard: initial commit after coding style fixes, Alon Levy, 2011/01/11
Re: [Qemu-devel] [PATCH 0/7] usb-ccid (v15), Alon Levy, 2011/01/17