Lines Matching full:isa

3  * Routines for tracking a legacy ISA bridge
29 #include <asm/isa-bridge.h>
31 unsigned long isa_io_base; /* NULL if no ISA bus */
34 /* Cached ISA bridge dev. */
73 pr_err("ISA: Bad CPU mapping: %s\n", __func__); in process_ISA_OF_ranges()
79 pr_warn("ISA: bridge %pOF has non aligned IO range\n", isa_node); in process_ISA_OF_ranges()
97 pr_err("no ISA IO ranges or unexpected isa range, mapping 64k\n"); in process_ISA_OF_ranges()
106 * isa_bridge_find_early - Find and map the ISA IO space early before
109 * access to ISA IO ports
115 /* If we already have an ISA bridge, bail off */ in isa_bridge_find_early()
119 /* For each "isa" node in the system. Note : we do a search by in isa_bridge_find_early()
124 for_each_node_by_type(np, "isa") { in isa_bridge_find_early()
142 /* Now parse the "ranges" property and setup the ISA mapping */ in isa_bridge_find_early()
145 /* Set the global ISA io base to indicate we have an ISA bridge */ in isa_bridge_find_early()
148 pr_debug("ISA bridge (early) is %pOF\n", np); in isa_bridge_find_early()
152 * isa_bridge_find_early - Find and map the ISA IO space early before
155 * access to ISA IO ports
161 /* If we already have an ISA bridge, bail off */ in isa_bridge_init_non_pci()
172 /* Set the global ISA io base to indicate we have an ISA bridge in isa_bridge_init_non_pci()
177 pr_debug("ISA: Non-PCI bridge is %pOF\n", np); in isa_bridge_init_non_pci()
181 * isa_bridge_find_late - Find and map the ISA IO space upon discovery of
182 * a new ISA bridge
189 /* Store ISA device node and PCI device */ in isa_bridge_find_late()
193 /* Now parse the "ranges" property and setup the ISA mapping */ in isa_bridge_find_late()
196 /* Set the global ISA io base to indicate we have an ISA bridge */ in isa_bridge_find_late()
199 pr_debug("ISA bridge (late) is %pOF on %s\n", in isa_bridge_find_late()
204 * isa_bridge_remove - Remove/unmap an ISA bridge
208 pr_debug("ISA bridge removed !\n"); in isa_bridge_remove()
210 /* Clear the global ISA io base to indicate that we have no more in isa_bridge_remove()
211 * ISA bridge. Note that drivers don't quite handle that, though in isa_bridge_remove()
213 * have ISA bridges being removed on machines using legacy devices ? in isa_bridge_remove()
222 /* Unmap the ISA area */ in isa_bridge_remove()
238 /* Check if we have an early ISA device, without PCI dev */ in isa_bridge_notify()
241 pr_debug("ISA bridge PCI attached: %s\n", in isa_bridge_notify()
246 /* Check if we have no ISA device, and this happens to be one, in isa_bridge_notify()
249 if (!isa_bridge_devnode && of_node_is_type(devnode, "isa")) in isa_bridge_notify()
254 /* Check if this our existing ISA device */ in isa_bridge_notify()
268 * isa_bridge_init - register to be notified of ISA bridge addition/removal