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
This commit is contained in:
parent
2e23213f26
commit
bf5ee2487b
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue