Commit bf5ee2487b707d586ff4ac1de43c815a1b1634d4

Authored by balrog
1 parent 2e23213f

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
Showing 1 changed file with 3 additions and 3 deletions
hw/spitz.c
... ... @@ -924,7 +924,7 @@ static void spitz_microdrive_attach(struct pxa2xx_state_s *cpu)
924 924  
925 925 if (bs && bdrv_is_inserted(bs) && !bdrv_is_removable(bs)) {
926 926 md = dscm1xxxx_init(bs);
927   - pxa2xx_pcmcia_attach(cpu->pcmcia[0], md);
  927 + pxa2xx_pcmcia_attach(cpu->pcmcia[1], md);
928 928 }
929 929 }
930 930  
... ... @@ -1210,10 +1210,10 @@ static void spitz_common_init(int ram_size, int vga_ram_size,
1210 1210 spitz_akita_i2c_setup(cpu);
1211 1211  
1212 1212 if (model == terrier)
1213   - /* A 6.0 GB microdrive is permanently sitting in CF slot 0. */
  1213 + /* A 6.0 GB microdrive is permanently sitting in CF slot 1. */
1214 1214 spitz_microdrive_attach(cpu);
1215 1215 else if (model != akita)
1216   - /* A 4.0 GB microdrive is permanently sitting in CF slot 0. */
  1216 + /* A 4.0 GB microdrive is permanently sitting in CF slot 1. */
1217 1217 spitz_microdrive_attach(cpu);
1218 1218  
1219 1219 /* Setup initial (reset) machine state */
... ...