Revision 5fafdf24 hw/lsi53c895a.c

b/hw/lsi53c895a.c
1
/* 
1
/*
2 2
 * QEMU LSI53C895A SCSI Host Bus Adapter emulation
3 3
 *
4 4
 * Copyright (c) 2006 CodeSourcery.
......
1773 1773
    lsi_reg_writeb(s, addr + 3, (val >> 24) & 0xff);
1774 1774
}
1775 1775

  
1776
static void lsi_io_mapfunc(PCIDevice *pci_dev, int region_num, 
1776
static void lsi_io_mapfunc(PCIDevice *pci_dev, int region_num,
1777 1777
                           uint32_t addr, uint32_t size, int type)
1778 1778
{
1779 1779
    LSIState *s = (LSIState *)pci_dev;
......
1788 1788
    register_ioport_read(addr, 256, 4, lsi_io_readl, s);
1789 1789
}
1790 1790

  
1791
static void lsi_ram_mapfunc(PCIDevice *pci_dev, int region_num, 
1791
static void lsi_ram_mapfunc(PCIDevice *pci_dev, int region_num,
1792 1792
                            uint32_t addr, uint32_t size, int type)
1793 1793
{
1794 1794
    LSIState *s = (LSIState *)pci_dev;
......
1798 1798
    cpu_register_physical_memory(addr + 0, 0x2000, s->ram_io_addr);
1799 1799
}
1800 1800

  
1801
static void lsi_mmio_mapfunc(PCIDevice *pci_dev, int region_num, 
1801
static void lsi_mmio_mapfunc(PCIDevice *pci_dev, int region_num,
1802 1802
                             uint32_t addr, uint32_t size, int type)
1803 1803
{
1804 1804
    LSIState *s = (LSIState *)pci_dev;

Also available in: Unified diff