diff options
Diffstat (limited to 'sys')
-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 } /*--------------------------------------------------------- |