svn commit: r216590 - head/sys/dev/pci
John Baldwin
jhb at FreeBSD.org
Mon Dec 20 14:54:24 UTC 2010
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));
}
More information about the svn-src-all
mailing list