the kernel to panic since it is recognised as a TGA and the TGA driver
doesn't [yet] know what to do with it.
This patch fixes that by:
o making tgamatch() try to actually figure out what kind
of TGA card is there, rather than simply relying on the
vendor/product ids.
o creating a tga_cnmatch() so that the console code in
arch/alpha/pci/pci_machdep.c can cause the same to occur.
o breaking up some of tga_getdevconfig() into a few different
functions to re-use code that would have been duplicated.
o changed arch/alpha/pci/pci_machdep.c so that it calls out
to tga_cnmatch() if DEVICE_IS_TGA() matches before it decides
to attach the console as a TGA.
Addresses PR: port-alpha/12923
algor: Algorithmics, Ltd. MIPS evaluation boards (mips)
alpha: Compaq (formerly Digital Equipment Corp.) Alpha (alpha)
amiga: Commodore et al. Amiga (m68k)
amigappc: Phase 5 Amiga (powerpc)
arc: MIPS Advanced Risc Computing spec machines (mips)
arm26: Acorn ARM2- and ARM3-based machines (arm)
arm32: ARMv3 and Digital StrongARM machines (arm)
atari: Atari TT30, Falcon, and Hades (m68k)
bebox: Be Inc. BeBox (powerpc)
cats: Chalice Technologies, CATS motherboard (arm)
cesfic: FIC8234 VME processor board (m68k)
cobalt: Cobalt Networks Microservers (mips)
dnard: Digital "Shark" DNARD machines (arm)
dreamcast: SEGA Dreamcast (sh3)
evbsh3: Hitachi SuperH(TM) sh3 and sh4 eval boards (sh3)
hp300: Hewlett Packard 300- and 400-series machines (m68k)
hpcarm: ARM based handheld PCs (arm)
hpcmips: MIPS based handheld PCs (mips)
hpcsh: Hitachi SuperH(TM) based handheld PCs (sh3)
i386: Intel/AMD etc. x86 processor line (i386)
luna68k: LUNA product line of OMRON Tateishi Electric (m68k)
mac68k: Apple Macintosh (m68k)
macppc: Apple Power Macintosh and clones (powerpc)
mipsco: MIPS Corp Magnum 3000 computers (mips)
mmeye: Hitachi SuperH(TM) computer controlled camera (sh3)
mvme68k: Motorola's VMEbus single board computers (m68k)
netwinder: StrongARM based Netwinder machines (arm)
news68k: Sony's NET WORK STATION (m68k)
newsmips: Sony's NET WORK STATION (mips)
next68k: NeXT Computer's cubes and slabs (m68k)
ofppc: Open Firmware based PowerPC machines (powerpc)
pc532: "PC-532" kit computer, based on NS 32532 CPU (ns32k)
pmax: Digital Equipment Corp. MIPS based machines (mips)
prep: PowerPC Reference Platform machines (powerpc)
sandpoint: Motorola Sandpoint reference platform (powerpc)
sgimips: MIPS based Silicon Graphics machines (mips)
sparc: Sun Microsystems SPARC (sun4, sun4c, sun4m) 32 bit machines (sparc)
sparc64: Sun Microsystems UltraSPARC 64 bit machines (sparc64, sparc)
sun2: Sun m68010 based machines (m68k)
sun3: Sun m680[23]0 based machines (m68k)
vax: Digital Equipment Corp. VAX machines (vax)
walnut: IBM's PowerPC 405GP Reference Board (powerpc)
x68k: Sharp X68000, X68030 (m68k)
x86_64: AMD's x86 64 bit architecture on the simics simulator (x86_64)
Generic architectural features shared among multiple ports
arm: ARM cpu based platform files
hpc: Handheld PC reference platform files
m68k: Motorola 680x0 cpu based platform files
mips: MIPS cpu based platform files
powerpc: PowerPC cpu based platform files
sh3: Hitachi SuperH cpu based platform files
sun68k: Sun68k cpu based platform files