提交 bf5ee248 编写于 作者: B balrog

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
上级 2e23213f
...@@ -924,7 +924,7 @@ static void spitz_microdrive_attach(struct pxa2xx_state_s *cpu) ...@@ -924,7 +924,7 @@ static void spitz_microdrive_attach(struct pxa2xx_state_s *cpu)
if (bs && bdrv_is_inserted(bs) && !bdrv_is_removable(bs)) { if (bs && bdrv_is_inserted(bs) && !bdrv_is_removable(bs)) {
md = dscm1xxxx_init(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, ...@@ -1210,10 +1210,10 @@ static void spitz_common_init(int ram_size, int vga_ram_size,
spitz_akita_i2c_setup(cpu); spitz_akita_i2c_setup(cpu);
if (model == terrier) 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); spitz_microdrive_attach(cpu);
else if (model != akita) 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); spitz_microdrive_attach(cpu);
/* Setup initial (reset) machine state */ /* Setup initial (reset) machine state */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册