From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [RESEND][PATCH 9/9] collie: add support for PCMCIA bus
Date: Mon, 25 Apr 2011 13:06:35 +0400 [thread overview]
Message-ID: <1303722395-10791-9-git-send-email-dbaryshkov@gmail.com> (raw)
In-Reply-To: <1303722395-10791-1-git-send-email-dbaryshkov@gmail.com>
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
hw/collie.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/hw/collie.c b/hw/collie.c
index 156404d..89d37f7 100644
--- a/hw/collie.c
+++ b/hw/collie.c
@@ -14,6 +14,9 @@
#include "flash.h"
#include "blockdev.h"
+#define COLLIE_GPIO_CF_IRQ (14)
+#define COLLIE_GPIO_CF_CD (22)
+
static struct arm_boot_info collie_binfo = {
.loader_start = SA_SDCS0,
.ram_size = 0x20000000,
@@ -47,6 +50,10 @@ static void collie_init(ram_addr_t ram_size,
512, 4, 0x00, 0x00, 0x00, 0x00, 0);
sysbus_create_simple("scoop", 0x40800000, NULL);
+ sysbus_connect_irq(sysbus_from_qdev(s->pcmcia[0]), 0,
+ qdev_get_gpio_in(s->gpio, COLLIE_GPIO_CF_IRQ));
+ sysbus_connect_irq(sysbus_from_qdev(s->pcmcia[0]), 1,
+ qdev_get_gpio_in(s->gpio, COLLIE_GPIO_CF_CD));
collie_binfo.kernel_filename = kernel_filename;
collie_binfo.kernel_cmdline = kernel_cmdline;
--
1.7.4.1
next prev parent reply other threads:[~2011-04-25 9:06 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-25 9:06 [Qemu-devel] [RESEND][PATCH 1/9] pxa2xx_pcmcia: qdevify Dmitry Eremin-Solenikov
2011-04-25 9:06 ` [Qemu-devel] [RESEND][PATCH 2/9] PCMCIA: start qdev'ication Dmitry Eremin-Solenikov
2011-05-16 1:52 ` andrzej zaborowski
2011-05-16 5:10 ` Dmitry Eremin-Solenikov
2011-04-25 9:06 ` [Qemu-devel] [RESEND][PATCH 3/9] microdrive: qdevify Dmitry Eremin-Solenikov
2011-05-16 2:01 ` andrzej zaborowski
2011-05-16 4:54 ` Dmitry Eremin-Solenikov
2011-05-16 12:26 ` andrzej zaborowski
2011-05-16 13:08 ` Dmitry Eremin-Solenikov
2011-05-17 1:38 ` andrzej zaborowski
2011-05-17 5:44 ` Jan Kiszka
2011-05-17 11:08 ` andrzej zaborowski
2011-05-17 11:33 ` Jan Kiszka
2011-04-25 9:06 ` [Qemu-devel] [RESEND][PATCH 4/9] pcmcia: move all card callbacks to PCMCIACardInfo Dmitry Eremin-Solenikov
2011-04-25 9:06 ` [Qemu-devel] [RESEND][PATCH 5/9] pcmcia: move attach and detach socket methods to PCMCIASocket Dmitry Eremin-Solenikov
2011-04-25 9:06 ` [Qemu-devel] [RESEND][PATCH 6/9] pxa: change order of pcmcia devices instantiation, so that the socket 0 will be default Dmitry Eremin-Solenikov
2011-04-25 9:06 ` [Qemu-devel] [RESEND][PATCH 7/9] ide-core: allocate metadata storage for CFATA drives Dmitry Eremin-Solenikov
2011-04-25 9:06 ` [Qemu-devel] [RESEND][PATCH 8/9] strongarm: add PCMCIA support Dmitry Eremin-Solenikov
2011-04-25 9:06 ` Dmitry Eremin-Solenikov [this message]
2011-04-29 19:40 ` [Qemu-devel] [RESEND][PATCH 1/9] pxa2xx_pcmcia: qdevify Dmitry Eremin-Solenikov
2011-05-03 9:02 ` Dmitry Eremin-Solenikov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1303722395-10791-9-git-send-email-dbaryshkov@gmail.com \
--to=dbaryshkov@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).