diff options
author | 2002-07-15 13:23:48 +0000 | |
---|---|---|
committer | 2002-07-15 13:23:48 +0000 | |
commit | f9b249683561edd00ba430daa0dd72e55bfd1773 (patch) | |
tree | caa2a8973222fb0643de16309a71685cc04cc4fe /sys/dev/pci/vga_pci.c | |
parent | catch up with reality (DIOC[SG]ETLIMIT) (diff) | |
download | wireguard-openbsd-f9b249683561edd00ba430daa0dd72e55bfd1773.tar.xz wireguard-openbsd-f9b249683561edd00ba430daa0dd72e55bfd1773.zip |
remove a bunch of debugging printfs and disable agp_debug; prompted by millert@
Diffstat (limited to 'sys/dev/pci/vga_pci.c')
-rw-r--r-- | sys/dev/pci/vga_pci.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/pci/vga_pci.c b/sys/dev/pci/vga_pci.c index 88bdb845398..5e37a8ad7b1 100644 --- a/sys/dev/pci/vga_pci.c +++ b/sys/dev/pci/vga_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vga_pci.c,v 1.13 2002/07/13 20:33:47 mickey Exp $ */ +/* $OpenBSD: vga_pci.c,v 1.14 2002/07/15 13:23:48 mickey Exp $ */ /* $NetBSD: vga_pci.c,v 1.3 1998/06/08 06:55:58 thorpej Exp $ */ /*- @@ -688,12 +688,9 @@ agp_generic_bind_memory(struct vga_pci_softc *sc, struct agp_memory *mem, for (contigpages = 32; contigpages > 0; contigpages >>= 1) { nseg = (mem->am_size / (contigpages * PAGE_SIZE)) + 1; -printf("nsegs=%d\n", nseg); segs = malloc(nseg * sizeof *segs, M_DEVBUF, M_WAITOK); if (segs == NULL) -{ printf("malloc(%d) failed\n", nseg * sizeof *segs); return ENOMEM; -} if ((error = bus_dmamem_alloc(sc->sc_dmat, mem->am_size, PAGE_SIZE, 0, segs, nseg, &mem->am_nseg, BUS_DMA_WAITOK)) != 0) { free(segs, M_DEVBUF); |