1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Remove inactive pmap_setdevram()/pmap_setvidram consumer code.

This commit is contained in:
Mike Smith 1999-04-07 03:59:13 +00:00
parent 1f2d03c05e
commit facdaf9e33
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45407

View File

@ -1,6 +1,6 @@
/**************************************************************************
**
** $Id: pcisupport.c,v 1.93 1999/02/18 18:48:01 n_hibma Exp $
** $Id: pcisupport.c,v 1.94 1999/02/21 11:39:37 dfr Exp $
**
** Device driver for DEC/INTEL PCI chipsets.
**
@ -1197,37 +1197,11 @@ static const char* vga_probe (pcici_t tag, pcidi_t typea)
if (vendor && chip) {
char *buf;
int len;
#if 0
int i;
int reqmapmem;
#endif
if (type == 0) {
type = "SVGA controller";
}
#if 0
reqmapmem = PCI_MAPMEM;
for (i = 0; i < tag->nummaps; i++) {
pcimap *m = &tag->map[i];
if (m->type & PCI_MAPMEMP)
reqmapmem |= PCI_MAPMEMP;
}
for (i = 0; i < tag->nummaps; i++) {
unsigned mapaddr;
pcimap *m = &tag->map[i];
mapaddr = (m->base >> 12);
if (m->type == reqmapmem) {
pmap_setdevram(m->base, (1 << m->ln2size));
}
}
#endif
#ifdef __i386__
pmap_setvidram();
#endif
len = strlen(vendor) + strlen(chip) + strlen(type) + 4;
MALLOC(buf, char *, len, M_TEMP, M_NOWAIT);
if (buf)