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));
 }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to