From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=44954 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q9HFN-0006ij-1p for qemu-devel@nongnu.org; Mon, 11 Apr 2011 09:33:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9HFL-00033b-L7 for qemu-devel@nongnu.org; Mon, 11 Apr 2011 09:33:40 -0400 Received: from mail-ww0-f53.google.com ([74.125.82.53]:54464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9HFL-00033J-FO for qemu-devel@nongnu.org; Mon, 11 Apr 2011 09:33:39 -0400 Received: by wwj40 with SMTP id 40so6154003wwj.10 for ; Mon, 11 Apr 2011 06:33:38 -0700 (PDT) From: Dmitry Eremin-Solenikov Date: Mon, 11 Apr 2011 17:33:32 +0400 Message-Id: <1302528819-24228-1-git-send-email-dbaryshkov@gmail.com> Subject: [Qemu-devel] [PATCH 0/7] Rework PCMCIA subsystem List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Please pull the following changeset that makes PCMCIA subsystem to use QBus and Qdev for managing devices. Currently the only implementation of PCMCIA host is a PXA2xx host and the only possible PCMCIA device is IDE MicroDrive (dscm1xxxx). With this patchset I can create a microdrive device from command line: -device dscm1xxxx -device ide-drive,drive=test -drive if=none,id=test,file=/dev/null Dmitry Eremin-Solenikov (7): pxa2xx_pcmcia: qdevify PCMCIA: start qdev'ication microdrive: qdevify pcmcia: move all card callbacks to PCMCIACardInfo pcmcia: move attach and detach socket methods to PCMCIASocket pxa: change order of pcmcia devices instantiation, so that the socket 0 will be default ide-core: allocate metadata storage for CFATA drives Makefile.objs | 3 + hw/ide/core.c | 4 ++ hw/ide/internal.h | 2 + hw/ide/microdrive.c | 88 +++++++++++++++++++----------- hw/mainstone.c | 14 +++-- hw/pcmcia.c | 145 +++++++++++++++++++++++++++++++++++++++++++++++++ hw/pcmcia.h | 49 ++++++++++++----- hw/pxa.h | 9 +--- hw/pxa2xx.c | 9 ++-- hw/pxa2xx_pcmcia.c | 148 ++++++++++++++++++++++++++++++--------------------- hw/spitz.c | 26 ++++++---- hw/tosa.c | 18 ++++--- vl.c | 43 --------------- 13 files changed, 372 insertions(+), 186 deletions(-) create mode 100644 hw/pcmcia.c