Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2011 20:26:46 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r217903 - stable/8/sys/dev/pci
Message-ID:  <201101262026.p0QKQkr4088933@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Wed Jan 26 20:26:46 2011
New Revision: 217903
URL: http://svn.freebsd.org/changeset/base/217903

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

Modified:
  stable/8/sys/dev/pci/vga_pci.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/dev/pci/vga_pci.c
==============================================================================
--- stable/8/sys/dev/pci/vga_pci.c	Wed Jan 26 20:25:40 2011	(r217902)
+++ stable/8/sys/dev/pci/vga_pci.c	Wed Jan 26 20:26:46 2011	(r217903)
@@ -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?201101262026.p0QKQkr4088933>