NetBSD/sys/arch/alpha/pci
elric 99e8b114e0 So, the PowerStorm 4d20 a.k.a. 32bit TGA2 w/ IBM RGB561 RAMDAC was causing
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
2001-07-16 00:55:16 +00:00
..
a12c_bus_mem.c implement bus_space_vaddr() 2000-04-17 17:24:48 +00:00
a12c_dma.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
a12c_pci.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
a12c.c bzero -> memset 2001-07-12 23:25:39 +00:00
a12creg.h
a12cvar.h
apecs_bus_io.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
apecs_bus_mem.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
apecs_dma.c The code that creates/destroys SGMAP DMA maps is the same; put it 2001-01-03 19:15:59 +00:00
apecs_pci.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
apecs.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
apecsreg.h
apecsvar.h
cia_bwx_bus_io.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
cia_bwx_bus_mem.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
cia_dma.c The code that creates/destroys SGMAP DMA maps is the same; put it 2001-01-03 19:15:59 +00:00
cia_pci.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
cia_swiz_bus_io.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
cia_swiz_bus_mem.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
cia.c o IEEE 754 floating-point completion code. 2001-04-26 03:10:44 +00:00
ciareg.h
ciavar.h Put the code that enables/disables Pyxis interrupt lines in 2000-03-19 01:43:25 +00:00
dwlpx_bus_io.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
dwlpx_bus_mem.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
dwlpx_dma.c The code that creates/destroys SGMAP DMA maps is the same; put it 2001-01-03 19:15:59 +00:00
dwlpx_pci.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
dwlpx.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
dwlpxreg.h
dwlpxvar.h
irongate_bus_io.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
irongate_bus_mem.c - Get rid of the prot bits in the mem_clusters[] array when 2001-04-17 21:52:00 +00:00
irongate_dma.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
irongate_pci.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
irongate.c Do the additional PCI memory initialization after configuring DMA. 2000-11-29 06:29:10 +00:00
irongatereg.h Because of the Cool sign-extension hack we use to access PCI space, 2000-06-26 02:42:10 +00:00
irongatevar.h Do the additional PCI memory initialization after configuring DMA. 2000-11-29 06:29:10 +00:00
lca_bus_io.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
lca_bus_mem.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
lca_dma.c The code that creates/destroys SGMAP DMA maps is the same; put it 2001-01-03 19:15:59 +00:00
lca_pci.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
lca.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
lcareg.h
lcavar.h
mcpcia_bus_io.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
mcpcia_bus_mem.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
mcpcia_dma.c The code that creates/destroys SGMAP DMA maps is the same; put it 2001-01-03 19:15:59 +00:00
mcpcia_pci.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
mcpcia.c Determine the size of the B-Cache earier, and initialize the 2001-05-02 01:24:29 +00:00
mcpciareg.h Add support for a single statically-allocated MCPCIA configuration structure, 1999-04-15 22:27:40 +00:00
mcpciavar.h Add SGMAP stuff for Window 2, and rename Window 0's SGMAP stuff to indicate 1999-04-16 02:18:07 +00:00
pci_550.c On alternate Tuesdays, SRM uses a different method of identifying 2001-03-27 01:39:51 +00:00
pci_550.h Switch to the new `evcnt' mechanism for counting interrupts. Maintain 2000-06-05 21:47:10 +00:00
pci_1000.c Change pci_intr_map to get interrupt source information from a "struct 2000-12-28 22:59:06 +00:00
pci_1000.h
pci_1000a.c Change pci_intr_map to get interrupt source information from a "struct 2000-12-28 22:59:06 +00:00
pci_1000a.h
pci_2100_a50.c Change pci_intr_map to get interrupt source information from a "struct 2000-12-28 22:59:06 +00:00
pci_2100_a50.h
pci_2100_a500.c Change pci_intr_map to get interrupt source information from a "struct 2000-12-28 22:59:06 +00:00
pci_2100_a500.h Add support for the AlphaServer 2100 (Sable) and the AlphaServer 2100A 2000-12-21 20:51:53 +00:00
pci_6600.c Change pci_intr_map to get interrupt source information from a "struct 2000-12-28 22:59:06 +00:00
pci_6600.h Support for EV6 Tsunami core logic and system type 6600. 1999-06-29 06:46:46 +00:00
pci_a12.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
pci_a12.h Switch to the new `evcnt' mechanism for counting interrupts. Maintain 2000-06-05 21:47:10 +00:00
pci_alphabook1.c Change pci_intr_map to get interrupt source information from a "struct 2000-12-28 22:59:06 +00:00
pci_alphabook1.h
pci_axppci_33.c Change pci_intr_map to get interrupt source information from a "struct 2000-12-28 22:59:06 +00:00
pci_axppci_33.h
pci_bwx_bus_io_chipdep.c Do the previously slightly differently, to avoid confusing the internal 2000-06-26 18:19:26 +00:00
pci_bwx_bus_mem_chipdep.c Revert previous -- we'll do it differently. 2000-11-29 06:21:12 +00:00
pci_eb64plus_intr.s
pci_eb64plus.c Change pci_intr_map to get interrupt source information from a "struct 2000-12-28 22:59:06 +00:00
pci_eb64plus.h Switch to the new `evcnt' mechanism for counting interrupts. Maintain 2000-06-05 21:47:26 +00:00
pci_eb66_intr.s
pci_eb66.c Change pci_intr_map to get interrupt source information from a "struct 2000-12-28 22:59:06 +00:00
pci_eb66.h
pci_eb164_intr.s
pci_eb164.c Change pci_intr_map to get interrupt source information from a "struct 2000-12-28 22:59:06 +00:00
pci_eb164.h Switch to the new `evcnt' mechanism for counting interrupts. Maintain 2000-06-05 21:47:10 +00:00
pci_kn8ae.c Change pci_intr_map to get interrupt source information from a "struct 2000-12-28 22:59:06 +00:00
pci_kn8ae.h Switch to the new `evcnt' mechanism for counting interrupts. Maintain 2000-06-05 21:47:26 +00:00
pci_kn20aa.c Change pci_intr_map to get interrupt source information from a "struct 2000-12-28 22:59:06 +00:00
pci_kn20aa.h Switch to the new `evcnt' mechanism for counting interrupts. Maintain 2000-06-05 21:47:26 +00:00
pci_kn300.c Change pci_intr_map to get interrupt source information from a "struct 2000-12-28 22:59:06 +00:00
pci_kn300.h Switch to the new `evcnt' mechanism for counting interrupts. Maintain 2000-06-05 21:47:26 +00:00
pci_machdep.c So, the PowerStorm 4d20 a.k.a. 32bit TGA2 w/ IBM RGB561 RAMDAC was causing 2001-07-16 00:55:16 +00:00
pci_sgmap_pte32.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
pci_sgmap_pte32.h
pci_sgmap_pte64.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
pci_sgmap_pte64.h
pci_swiz_bus_io_chipdep.c implement bus_space_vaddr() 2000-04-17 17:24:48 +00:00
pci_swiz_bus_mem_chipdep.c implement bus_space_vaddr() 2000-04-17 17:24:48 +00:00
pci_up1000.c Change pci_intr_map to get interrupt source information from a "struct 2000-12-28 22:59:06 +00:00
pci_up1000.h Add support for the Alpha Processor, Inc. UP1000 EV6 system. 2000-06-01 20:30:28 +00:00
pciide_machdep.c
sio_pic.c Put back the INITIALLY_{ENABLED,LEVEL_TRIGGERED}() PROM brain-damage 2000-12-18 21:49:08 +00:00
sio.c Add code to read the EISA configuration NVRAM as set up by 2000-07-29 23:18:46 +00:00
sioreg.h
siovar.h Switch to the new `evcnt' mechanism for counting interrupts. Maintain 2000-06-05 21:47:26 +00:00
tsc.c bzero -> memset 2001-07-12 23:25:39 +00:00
tsp_bus_io.c remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:58:45 +00:00
tsp_bus_mem.c Allocate the DMA windows out of the PCI memory extent map after 2000-11-29 06:30:09 +00:00
tsp_dma.c The code that creates/destroys SGMAP DMA maps is the same; put it 2001-01-03 19:15:59 +00:00
tsp_pci.c fix NetBSD RCS id tags 2001-02-27 19:04:39 +00:00
tsreg.h Fix typo. s/extention/extension/ 2001-07-05 08:38:24 +00:00
tsvar.h Allocate the DMA windows out of the PCI memory extent map after 2000-11-29 06:30:09 +00:00
ttwoga_bus_io.c Add support for the AlphaServer 2100 (Sable) and the AlphaServer 2100A 2000-12-21 20:51:53 +00:00
ttwoga_bus_mem.c Add support for the AlphaServer 2100 (Sable) and the AlphaServer 2100A 2000-12-21 20:51:53 +00:00
ttwoga_dma.c The code that creates/destroys SGMAP DMA maps is the same; put it 2001-01-03 19:15:59 +00:00
ttwoga_pci.c Add support for the AlphaServer 2100 (Sable) and the AlphaServer 2100A 2000-12-21 20:51:53 +00:00
ttwoga.c Add support for the AlphaServer 2100 (Sable) and the AlphaServer 2100A 2000-12-21 20:51:53 +00:00
ttwogareg.h Add support for the AlphaServer 2100 (Sable) and the AlphaServer 2100A 2000-12-21 20:51:53 +00:00
ttwogavar.h Add support for the AlphaServer 2100 (Sable) and the AlphaServer 2100A 2000-12-21 20:51:53 +00:00