linux/arch
Jay Estabrook 025a22151c ALPHA: support graphics on non-zero PCI domains
This code replaces earlier and incomplete handling of graphics on non-zero PCI
domains (aka hoses or peer PCI buses).

An option (CONFIG_VGA_HOSE) is set TRUE if configuring a GENERIC kernel, or a
kernel for MARVEL, TITAN, or TSUNAMI machines, as these are the machines whose
SRM consoles are capable of configuring and handling graphics options on
non-zero hoses.  All other machines have the option set FALSE.

A routine, "find_console_vga_hose()", is used to find the graphics device
which the machine's firmware believes is the console device, and it sets a
global (pci_vga_hose) for later use in managing access to the device.  This is
called in "init_arch" on TITAN and TSUNAMI machines; MARVEL machines use a
custom version of this routine because of extra complexity.

A routine, "locate_and_init_vga()", is used to find the graphics device and
set a global (pci_vga_hose) for later use in managing access to the device, in
the case where "find_console_vga_hose" has failed.

Various adjustments are made to the ioremap and ioportmap routines for
detecting and translating "legacy" VGA register and memory references to the
real PCI domain.

[akpm@linux-foundation.org: don't statically init bss]
[akpm@linux-foundation.org: build fix]
Signed-off-by: Jay Estabrook <jay.estabrook@hp.com>
Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-06-01 08:18:29 -07:00
..
alpha ALPHA: support graphics on non-zero PCI domains 2007-06-01 08:18:29 -07:00
arm parse errors in ifdefs 2007-06-01 08:18:28 -07:00
arm26 all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
avr32 all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
blackfin Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fix 2007-05-21 12:03:04 -07:00
cris Fix trivial typos in Kconfig* files 2007-05-09 07:12:20 +02:00
frv all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
h8300 h8300 trival patches 2007-06-01 08:18:29 -07:00
i386 Work around Dell E520 BIOS reboot bug 2007-06-01 08:18:28 -07:00
ia64 [IA64] acpi_get_sysname() should be __init 2007-05-24 10:59:44 -07:00
m32r all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
m68k m68k: parenthesis balance 2007-06-01 08:18:27 -07:00
m68knommu all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
mips parse errors in ifdefs 2007-06-01 08:18:28 -07:00
parisc Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fix 2007-05-21 12:03:04 -07:00
powerpc [POWERPC] Fix Kconfig warning 2007-05-23 09:51:46 -05:00
ppc [PPC] Fix modpost warning 2007-05-23 07:59:06 -05:00
s390 [S390] Fix section annotations. 2007-05-31 17:38:11 +02:00
sh sh: support older gcc's 2007-05-31 13:48:57 +09:00
sh64 all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
sparc [SPARC32]: Build fix. 2007-05-31 01:52:51 -07:00
sparc64 Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fix 2007-05-31 12:33:16 -07:00
um uml: improve PTRACE_SYSEMU checking 2007-05-23 20:14:12 -07:00
v850 all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00
x86_64 x86_64: allocate sparsemem memmap above 4G 2007-06-01 08:18:27 -07:00
xtensa all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00