Revision 2507c12a hw/bonito.c

b/hw/bonito.c
698 698
    pci_config_set_revision(dev->config, 0x01);
699 699

  
700 700
    /* set the north bridge register mapping */
701
    s->bonito_reg_handle = cpu_register_io_memory(bonito_read, bonito_write, s);
701
    s->bonito_reg_handle = cpu_register_io_memory(bonito_read, bonito_write, s,
702
                                                  DEVICE_NATIVE_ENDIAN);
702 703
    s->bonito_reg_start = BONITO_INTERNAL_REG_BASE;
703 704
    s->bonito_reg_length = BONITO_INTERNAL_REG_SIZE;
704 705
    cpu_register_physical_memory(s->bonito_reg_start, s->bonito_reg_length,
......
706 707

  
707 708
    /* set the north bridge pci configure  mapping */
708 709
    s->bonito_pciconf_handle = cpu_register_io_memory(bonito_pciconf_read,
709
                                                      bonito_pciconf_write, s);
710
                                                      bonito_pciconf_write, s,
711
                                                      DEVICE_NATIVE_ENDIAN);
710 712
    s->bonito_pciconf_start = BONITO_PCICONFIG_BASE;
711 713
    s->bonito_pciconf_length = BONITO_PCICONFIG_SIZE;
712 714
    cpu_register_physical_memory(s->bonito_pciconf_start, s->bonito_pciconf_length,
......
714 716

  
715 717
    /* set the south bridge pci configure  mapping */
716 718
    s->bonito_spciconf_handle = cpu_register_io_memory(bonito_spciconf_read,
717
                                                       bonito_spciconf_write, s);
719
                                                       bonito_spciconf_write, s,
720
                                                       DEVICE_NATIVE_ENDIAN);
718 721
    s->bonito_spciconf_start = BONITO_SPCICONFIG_BASE;
719 722
    s->bonito_spciconf_length = BONITO_SPCICONFIG_SIZE;
720 723
    cpu_register_physical_memory(s->bonito_spciconf_start, s->bonito_spciconf_length,
721 724
                                 s->bonito_spciconf_handle);
722 725

  
723 726
    s->bonito_ldma_handle = cpu_register_io_memory(bonito_ldma_read,
724
                                                   bonito_ldma_write, s);
727
                                                   bonito_ldma_write, s,
728
                                                   DEVICE_NATIVE_ENDIAN);
725 729
    s->bonito_ldma_start = 0xbfe00200;
726 730
    s->bonito_ldma_length = 0x100;
727 731
    cpu_register_physical_memory(s->bonito_ldma_start, s->bonito_ldma_length,
728 732
                                 s->bonito_ldma_handle);
729 733

  
730 734
    s->bonito_cop_handle = cpu_register_io_memory(bonito_cop_read,
731
                                                  bonito_cop_write, s);
735
                                                  bonito_cop_write, s,
736
                                                  DEVICE_NATIVE_ENDIAN);
732 737
    s->bonito_cop_start = 0xbfe00300;
733 738
    s->bonito_cop_length = 0x100;
734 739
    cpu_register_physical_memory(s->bonito_cop_start, s->bonito_cop_length,

Also available in: Unified diff