From patchwork Tue Jan 12 08:52:54 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/6] sh_pci: s/sh_pci_data_write/sh_pci_mem_write/g for consistency. Date: Mon, 11 Jan 2010 22:52:54 -0000 From: Isaku Yamahata X-Patchwork-Id: 42695 Message-Id: <1263286378-10398-3-git-send-email-yamahata@valinux.co.jp> To: qemu-devel@nongnu.org Cc: yamahata@valinux.co.jp, Takashi YOSHII , agraf@suse.de, mst@redhat.com rename sh_pci_data_write to sh_pci_mem_write for consistency. Later sh_pci_data_write will be introduced again, so this patch is preliminary patch. Cc: Takashi YOSHII Signed-off-by: Isaku Yamahata --- hw/sh_pci.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/sh_pci.c b/hw/sh_pci.c index d76d390..046db2e 100644 --- a/hw/sh_pci.c +++ b/hw/sh_pci.c @@ -72,7 +72,7 @@ static uint32_t sh_pci_reg_read (void *p, target_phys_addr_t addr) return 0; } -static void sh_pci_data_write (SHPCIC *pcic, target_phys_addr_t addr, +static void sh_pci_mem_write (SHPCIC *pcic, target_phys_addr_t addr, uint32_t val, int size) { pci_data_write(pcic->s.bus, addr + pcic->mbr, val, size); @@ -86,17 +86,17 @@ static uint32_t sh_pci_mem_read (SHPCIC *pcic, target_phys_addr_t addr, static void sh_pci_writeb (void *p, target_phys_addr_t addr, uint32_t val) { - sh_pci_data_write(p, addr, val, 1); + sh_pci_mem_write(p, addr, val, 1); } static void sh_pci_writew (void *p, target_phys_addr_t addr, uint32_t val) { - sh_pci_data_write(p, addr, val, 2); + sh_pci_mem_write(p, addr, val, 2); } static void sh_pci_writel (void *p, target_phys_addr_t addr, uint32_t val) { - sh_pci_data_write(p, addr, val, 4); + sh_pci_mem_write(p, addr, val, 4); } static uint32_t sh_pci_readb (void *p, target_phys_addr_t addr)