[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/6] sh_pci: s/sh_pci_data_write/sh_pci_mem_write/g
From: |
Isaku Yamahata |
Subject: |
[Qemu-devel] [PATCH 2/6] sh_pci: s/sh_pci_data_write/sh_pci_mem_write/g for consistency. |
Date: |
Tue, 12 Jan 2010 17:52:54 +0900 |
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 <address@hidden>
Signed-off-by: Isaku Yamahata <address@hidden>
---
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)
--
1.6.5.4
- [Qemu-devel] Re: [PATCH 5/6] pci: introduce PCIAddress, PCIConfigAddress and helper functions., (continued)
[Qemu-devel] [PATCH 4/6] pci_host: remove code duplication in pci_host_template.h, Isaku Yamahata, 2010/01/12
[Qemu-devel] [PATCH 2/6] sh_pci: s/sh_pci_data_write/sh_pci_mem_write/g for consistency.,
Isaku Yamahata <=
[Qemu-devel] [PATCH 1/6] sh_pci: use PCIHostState instead of PCIBus., Isaku Yamahata, 2010/01/12
[Qemu-devel] [PATCH 3/6] versatile_pci: user PCIHostState instead of PCIBus, Isaku Yamahata, 2010/01/12
[Qemu-devel] Re: [PATCH 0/6] pci: pci_data_{write, read}() clean up, Michael S. Tsirkin, 2010/01/12