From bf5ee2487b707d586ff4ac1de43c815a1b1634d4 Mon Sep 17 00:00:00 2001 From: balrog Date: Wed, 1 Aug 2007 02:41:33 +0000 Subject: [PATCH] Move Spitz microdrive from first to second PCMCIA slot where it belongs. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3108 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/spitz.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/spitz.c b/hw/spitz.c index eaea2e9763..540e1b2065 100644 --- a/hw/spitz.c +++ b/hw/spitz.c @@ -924,7 +924,7 @@ static void spitz_microdrive_attach(struct pxa2xx_state_s *cpu) if (bs && bdrv_is_inserted(bs) && !bdrv_is_removable(bs)) { md = dscm1xxxx_init(bs); - pxa2xx_pcmcia_attach(cpu->pcmcia[0], md); + pxa2xx_pcmcia_attach(cpu->pcmcia[1], md); } } @@ -1210,10 +1210,10 @@ static void spitz_common_init(int ram_size, int vga_ram_size, spitz_akita_i2c_setup(cpu); if (model == terrier) - /* A 6.0 GB microdrive is permanently sitting in CF slot 0. */ + /* A 6.0 GB microdrive is permanently sitting in CF slot 1. */ spitz_microdrive_attach(cpu); else if (model != akita) - /* A 4.0 GB microdrive is permanently sitting in CF slot 0. */ + /* A 4.0 GB microdrive is permanently sitting in CF slot 1. */ spitz_microdrive_attach(cpu); /* Setup initial (reset) machine state */ -- 2.39.5