[OpenBIOS] [PATCH 4/8] pci: rename ob_pci_map_in() to ob_pci_bus_map_in()

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Sun Jun 11 12:00:33 CEST 2017


This is in preparation for separating out the behaviour between host bridges
and PCI bridges.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
---
 drivers/pci.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/pci.c b/drivers/pci.c
index a442695..07eca8a 100644
--- a/drivers/pci.c
+++ b/drivers/pci.c
@@ -353,7 +353,7 @@ ob_pci_encode_unit(int *idx)
 /* ( pci-addr.lo pci-addr.mid pci-addr.hi size -- virt ) */
 
 static void
-ob_pci_map_in(int *idx)
+ob_pci_bus_map_in(int *idx)
 {
 	phys_addr_t phys;
 	uint32_t ba;
@@ -398,7 +398,7 @@ NODE_METHODS(ob_pci_bus_node) = {
 	{ "close",		ob_pci_close		},
 	{ "decode-unit",	ob_pci_decode_unit	},
 	{ "encode-unit",	ob_pci_encode_unit	},
-	{ "pci-map-in",		ob_pci_map_in		},
+	{ "pci-map-in",		ob_pci_bus_map_in	},
 };
 
 NODE_METHODS(ob_pci_bridge_node) = {
@@ -407,7 +407,7 @@ NODE_METHODS(ob_pci_bridge_node) = {
 	{ "close",		ob_pci_close		},
 	{ "decode-unit",	ob_pci_decode_unit	},
 	{ "encode-unit",	ob_pci_encode_unit	},
-	{ "pci-map-in",		ob_pci_map_in		},
+	{ "pci-map-in",		ob_pci_bus_map_in	},
 };
 
 NODE_METHODS(ob_pci_simple_node) = {
-- 
1.7.10.4




More information about the OpenBIOS mailing list