aboutsummaryrefslogtreecommitdiff
path: root/hw/spitz.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-08-01 02:41:33 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-08-01 02:41:33 +0000
commitbf5ee2487b707d586ff4ac1de43c815a1b1634d4 (patch)
tree138b1b7a46601f9b0937f43f76a44080eb6e1182 /hw/spitz.c
parent2e23213f26fc747b3a4de3c87906bfd3399e95fa (diff)
downloadqemu-bf5ee2487b707d586ff4ac1de43c815a1b1634d4.zip
qemu-bf5ee2487b707d586ff4ac1de43c815a1b1634d4.tar.gz
qemu-bf5ee2487b707d586ff4ac1de43c815a1b1634d4.tar.bz2
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
Diffstat (limited to 'hw/spitz.c')
-rw-r--r--hw/spitz.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/spitz.c b/hw/spitz.c
index eaea2e9..540e1b2 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 */