summaryrefslogtreecommitdiffstats
path: root/sys/pci/pcisupport.c
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1994-10-13 01:12:31 +0000
committerse <se@FreeBSD.org>1994-10-13 01:12:31 +0000
commit8538fd5ecdc75e950e520d3d4d45fb643a9ad523 (patch)
treecb03c18caa253d927d73bf599856879c01ed5018 /sys/pci/pcisupport.c
parent1a86959f3b94bc795d2c72a378b6c88fb4f0226b (diff)
downloadFreeBSD-src-8538fd5ecdc75e950e520d3d4d45fb643a9ad523.zip
FreeBSD-src-8538fd5ecdc75e950e520d3d4d45fb643a9ad523.tar.gz
Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
removed PCI mapping call from vga_attach() in pcisupport.c.
Diffstat (limited to 'sys/pci/pcisupport.c')
-rw-r--r--sys/pci/pcisupport.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/pci/pcisupport.c b/sys/pci/pcisupport.c
index 071ce5c..adf4d3f 100644
--- a/sys/pci/pcisupport.c
+++ b/sys/pci/pcisupport.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pcisupport.c,v 2.5 94/10/09 21:10:29 wolf Oct11 $
+** $Id: pcisupport.c,v 1.1 1994/10/12 02:27:08 se Exp $
**
** Device driver for INTEL PCI chipsets.
**
@@ -316,12 +316,17 @@ static char* vga_probe (pcici_t tag, pcidi_t type)
static void vga_attach(pcici_t tag, int unit)
{
+/*
+** Breaks some systems.
+** The assigned adresses _have_ to be announced to the console driver.
+*/
+#if 0
vm_offset_t va;
vm_offset_t pa;
int reg;
-
for (reg = PCI_MAP_REG_START; reg < PCI_MAP_REG_END; reg += 4)
(void) pci_map_mem (tag, reg, &va, &pa);
+#endif
}
/*---------------------------------------------------------
OpenPOWER on IntegriCloud