CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2009/07/01 15:56:39
Modified files: sys/arch/sgi/pci: ioc.c sys/arch/sgi/sgi: ip27_machdep.c ip30_machdep.c sys/arch/sgi/xbow: xbow.c xbow.h xbridge.c Log message: The widget mapping code has been written back when I was only working on Octane support. The Octane being a single-node system, address space is ludicrous enough to allow the whole address space of every widget to be directly accessible in whole, using the address bits reserved to nasid. However, on IP27 and IP35, things do not work this way - while we still have the low 16MB address space of each widget available (the so-called ``short window''), access to other parts of the wiget address space is done through translation slots (IOTTE) at the Hub I/O space level, on a per-node basis. Given the imminent release lock, give up completely on ``large'' mappings of widgets, and restrict ourselves to short window operation, all the time (thus reinforcing the use of devio registers to map pci resources on xbridge). A proper interface to request mappings of specific widget areas, either directly on Octane, or through IOTTE if available on Origin, will appear post-release. No functional change (except from silently repairing Octane support which the previous xbridge commit silently broke).