svn commit: r217904 - stable/7/sys/dev/pci
John Baldwin
jhb at FreeBSD.org
Wed Jan 26 20:26:58 UTC 2011
Author: jhb
Date: Wed Jan 26 20:26:58 2011
New Revision: 217904
URL: http://svn.freebsd.org/changeset/base/217904
Log:
MFC 216590:
Don't whine about child drivers calling pci_enable_busmaster(). That is
perfectly normal.
Modified:
stable/7/sys/dev/pci/vga_pci.c
Directory Properties:
stable/7/sys/ (props changed)
stable/7/sys/cddl/contrib/opensolaris/ (props changed)
stable/7/sys/contrib/dev/acpica/ (props changed)
stable/7/sys/contrib/pf/ (props changed)
Modified: stable/7/sys/dev/pci/vga_pci.c
==============================================================================
--- stable/7/sys/dev/pci/vga_pci.c Wed Jan 26 20:26:46 2011 (r217903)
+++ stable/7/sys/dev/pci/vga_pci.c Wed Jan 26 20:26:58 2011 (r217904)
@@ -222,8 +222,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));
}
@@ -231,8 +229,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));
}
More information about the svn-src-all
mailing list