Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2013 18:23:16 +0000 (UTC)
From:      Jean-Sebastien Pedron <dumbbell@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r254883 - head/sys/dev/pci
Message-ID:  <201308251823.r7PINGdW061614@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dumbbell
Date: Sun Aug 25 18:23:15 2013
New Revision: 254883
URL: http://svnweb.freebsd.org/changeset/base/254883

Log:
  vga_pci: Remove left-over debugging printf()'s

Modified:
  head/sys/dev/pci/vga_pci.c

Modified: head/sys/dev/pci/vga_pci.c
==============================================================================
--- head/sys/dev/pci/vga_pci.c	Sun Aug 25 18:09:11 2013	(r254882)
+++ head/sys/dev/pci/vga_pci.c	Sun Aug 25 18:23:15 2013	(r254883)
@@ -105,13 +105,11 @@ vga_pci_map_bios(device_t dev, size_t *s
 		 * 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 *b
 #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 *b
 	 * 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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308251823.r7PINGdW061614>