svn commit: r236371 - head/sys/dev/bge

Pyun YongHyeon yongari at FreeBSD.org
Thu May 31 23:56:11 UTC 2012


Author: yongari
Date: Thu May 31 23:56:10 2012
New Revision: 236371
URL: http://svn.freebsd.org/changeset/base/236371

Log:
  Remove unnecessary device_printfs.
  
  Pointed out by:	marius

Modified:
  head/sys/dev/bge/if_bge.c

Modified: head/sys/dev/bge/if_bge.c
==============================================================================
--- head/sys/dev/bge/if_bge.c	Thu May 31 23:22:00 2012	(r236370)
+++ head/sys/dev/bge/if_bge.c	Thu May 31 23:56:10 2012	(r236371)
@@ -2776,17 +2776,9 @@ bge_mbox_reorder(struct bge_softc *sc)
 	for (;;) {
 		dev = device_get_parent(bus);
 		bus = device_get_parent(dev);
-		device_printf(sc->bge_dev, "dev : %s%d, bus : %s%d\n",
-		    device_get_name(dev), device_get_unit(dev),
-		    device_get_name(bus), device_get_unit(bus));
 		if (device_get_devclass(dev) != pcib)
 			break;
 		for (i = 0; i < count; i++) {
-			device_printf(sc->bge_dev,
-			    "probing dev : %s%d, vendor : 0x%04x "
-			    "device : 0x%04x\n",
-			    device_get_name(dev), device_get_unit(dev),
-			    pci_get_vendor(dev), pci_get_device(dev));
 			if (pci_get_vendor(dev) ==
 			    mbox_reorder_lists[i].vendor &&
 			    pci_get_device(dev) ==


More information about the svn-src-head mailing list