hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/arch/sparc/include/asm/leon.h
....@@ -225,7 +225,6 @@
225225 irq_flow_handler_t flow_handler,
226226 const char *name, int do_ack);
227227 void leon_init_timers(void);
228
-void leon_trans_init(struct device_node *dp);
229228 void leon_node_init(struct device_node *dp, struct device_node ***nextp);
230229 void init_leon(void);
231230 void poke_leonsparc(void);
....@@ -255,4 +254,13 @@
255254 #define _pfn_valid(pfn) ((pfn < last_valid_pfn) && (pfn >= PFN(phys_base)))
256255 #define _SRMMU_PTE_PMASK_LEON 0xffffffff
257256
257
+/*
258
+ * On LEON PCI Memory space is mapped 1:1 with physical address space.
259
+ *
260
+ * I/O space is located at low 64Kbytes in PCI I/O space. The I/O addresses
261
+ * are converted into CPU addresses to virtual addresses that are mapped with
262
+ * MMU to the PCI Host PCI I/O space window which are translated to the low
263
+ * 64Kbytes by the Host controller.
264
+ */
265
+
258266 #endif