summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/vga_pci.c
diff options
context:
space:
mode:
authordumbbell <dumbbell@FreeBSD.org>2013-08-25 18:23:15 +0000
committerdumbbell <dumbbell@FreeBSD.org>2013-08-25 18:23:15 +0000
commit2e2067aa82447c9369703e41d710074ff554f0db (patch)
tree842517d3ecbd770435f4b72f8b284889f51038b0 /sys/dev/pci/vga_pci.c
parent49f50cdae0169a8f40f0cf89ab3bb2a8d7e6a3f5 (diff)
downloadFreeBSD-src-2e2067aa82447c9369703e41d710074ff554f0db.zip
FreeBSD-src-2e2067aa82447c9369703e41d710074ff554f0db.tar.gz
vga_pci: Remove left-over debugging printf()'s
Diffstat (limited to 'sys/dev/pci/vga_pci.c')
-rw-r--r--sys/dev/pci/vga_pci.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/pci/vga_pci.c b/sys/dev/pci/vga_pci.c
index 0f3aa28..94c64c0 100644
--- a/sys/dev/pci/vga_pci.c
+++ b/sys/dev/pci/vga_pci.c
@@ -105,13 +105,11 @@ vga_pci_map_bios(device_t dev, size_t *size)
* the original ROM may not be valid after boot.
*/
- printf("%s: Mapping BIOS shadow\n", __func__);
*size = VGA_PCI_BIOS_SHADOW_SIZE;
return (pmap_mapbios(VGA_PCI_BIOS_SHADOW_ADDR, *size));
}
#endif
- printf("%s: Mapping PCI expansion ROM\n", __func__);
rid = PCIR_BIOS;
res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE);
if (res == NULL) {
@@ -135,7 +133,6 @@ vga_pci_unmap_bios(device_t dev, void *bios)
#if defined(__amd64__) || defined(__i386__) || defined(__ia64__)
if (vga_pci_is_boot_display(dev)) {
/* We mapped the BIOS shadow copy located at 0xC0000. */
- printf("%s: Unmapping BIOS shadow\n", __func__);
pmap_unmapdev((vm_offset_t)bios, VGA_PCI_BIOS_SHADOW_SIZE);
return;
@@ -151,7 +148,6 @@ vga_pci_unmap_bios(device_t dev, void *bios)
* caller's reference.
*/
- printf("%s: Unmapping PCI expansion ROM\n", __func__);
rid = PCIR_BIOS;
res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE);
OpenPOWER on IntegriCloud