mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 01:38:57 +00:00
Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
removed PCI mapping call from vga_attach() in pcisupport.c.
This commit is contained in:
parent
152f2ff316
commit
55f018a694
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=3553
@ -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 }
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user