Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 2010 14:54:24 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216590 - head/sys/dev/pci
Message-ID:  <201012201454.oBKEsOZ7060151@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Mon Dec 20 14:54:24 2010
New Revision: 216590
URL: http://svn.freebsd.org/changeset/base/216590

Log:
  Don't whine about child drivers calling pci_enable_busmaster().  That is
  perfectly normal.
  
  MFC after:	1 week

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

Modified: head/sys/dev/pci/vga_pci.c
==============================================================================
--- head/sys/dev/pci/vga_pci.c	Mon Dec 20 14:25:01 2010	(r216589)
+++ head/sys/dev/pci/vga_pci.c	Mon Dec 20 14:54:24 2010	(r216590)
@@ -243,8 +243,6 @@ static int
 vga_pci_enable_busmaster(device_t dev, device_t child)
 {
 
-	device_printf(dev, "child %s requested pci_enable_busmaster\n",
-	    device_get_nameunit(child));
 	return (pci_enable_busmaster(dev));
 }
 
@@ -252,8 +250,6 @@ static int
 vga_pci_disable_busmaster(device_t dev, device_t child)
 {
 
-	device_printf(dev, "child %s requested pci_disable_busmaster\n",
-	    device_get_nameunit(child));
 	return (pci_disable_busmaster(dev));
 }
 



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