Revision 269eba07 hw/eepro100.c

b/hw/eepro100.c
1621 1621
          "size=0x%08"FMT_PCIBUS", type=%d\n",
1622 1622
          region_num, addr, size, type));
1623 1623

  
1624
    if (region_num == 0) {
1625
        /* Map control / status registers. */
1626
        cpu_register_physical_memory(addr, size, s->mmio_index);
1627
        s->region[region_num] = addr;
1628
    }
1624
    assert(region_num == 0 || region_num == 2);
1625

  
1626
    /* Map control / status registers and flash. */
1627
    cpu_register_physical_memory(addr, size, s->mmio_index);
1628
    s->region[region_num] = addr;
1629 1629
}
1630 1630

  
1631 1631
static int nic_can_receive(VLANClientState *nc)

Also available in: Unified diff