diff options
author | se <se@FreeBSD.org> | 1994-10-13 01:12:31 +0000 |
---|---|---|
committer | se <se@FreeBSD.org> | 1994-10-13 01:12:31 +0000 |
commit | 8538fd5ecdc75e950e520d3d4d45fb643a9ad523 (patch) | |
tree | cb03c18caa253d927d73bf599856879c01ed5018 | |
parent | 1a86959f3b94bc795d2c72a378b6c88fb4f0226b (diff) | |
download | FreeBSD-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.
-rw-r--r-- | sys/i386/pci/pci_config.c | 4 | ||||
-rw-r--r-- | sys/i386/pci/pcisupport.c | 9 | ||||
-rw-r--r-- | sys/pci/pcisupport.c | 9 |
3 files changed, 16 insertions, 6 deletions
diff --git a/sys/i386/pci/pci_config.c b/sys/i386/pci/pci_config.c index 1f893ae..0f2259b 100644 --- a/sys/i386/pci/pci_config.c +++ b/sys/i386/pci/pci_config.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pci_config.c,v 1.7 1994/10/12 02:33:22 se Exp $ +** $Id: pci_config.c,v 1.8 1994/10/12 11:06:49 se Exp $ ** ** @PCI@ this should be part of "ioconf.c". ** @@ -64,7 +64,7 @@ struct pci_device pci_devtab[] = { #endif {&chipset_device, "chip", 0 }, - /*{&vga_device, "graphics", 0 }, causing problems XXX */ + {&vga_device, "graphics", 0 }, {&ign_device, "ign", 0 }, {&lkm_device, "lkm", 0 }, {0, 0, 0 } diff --git a/sys/i386/pci/pcisupport.c b/sys/i386/pci/pcisupport.c index 071ce5c..adf4d3f 100644 --- a/sys/i386/pci/pcisupport.c +++ b/sys/i386/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 } /*--------------------------------------------------------- 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 } /*--------------------------------------------------------- |