Date: Wed, 26 Jan 2011 20:26:58 +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-7@freebsd.org Subject: svn commit: r217904 - stable/7/sys/dev/pci Message-ID: <201101262026.p0QKQw4g088973@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101262026.p0QKQw4g088973>