svn commit: r300182 - head/sys/dev/siba
Adrian Chadd
adrian at FreeBSD.org
Thu May 19 04:02:14 UTC 2016
Author: adrian
Date: Thu May 19 04:02:13 2016
New Revision: 300182
URL: https://svnweb.freebsd.org/changeset/base/300182
Log:
[siba] fix up some comments and debug output.
Modified:
head/sys/dev/siba/siba_core.c
Modified: head/sys/dev/siba/siba_core.c
==============================================================================
--- head/sys/dev/siba/siba_core.c Thu May 19 04:01:33 2016 (r300181)
+++ head/sys/dev/siba/siba_core.c Thu May 19 04:02:13 2016 (r300182)
@@ -335,7 +335,7 @@ siba_scan(struct siba_softc *siba)
sd->sd_coreidx = i;
DPRINTF(siba, SIBA_DEBUG_SCAN,
- "core %d (%s) found (cc %#xrev %#x vendor %#x)\n",
+ "core %d (%s) found (cc %#x rev %#x vendor %#x)\n",
i, siba_core_name(sd->sd_id.sd_device),
sd->sd_id.sd_device, sd->sd_id.sd_rev,
sd->sd_id.sd_vendor);
@@ -430,6 +430,7 @@ siba_pci_switchcore_sub(struct siba_soft
return (0);
DELAY(10);
}
+ DPRINTF(siba, SIBA_DEBUG_SWITCHCORE, "%s: idx %d, failed\n", __func__, idx);
return (ENODEV);
#undef RETRY_MAX
}
@@ -2184,6 +2185,8 @@ siba_dma_translation(device_t dev)
KASSERT(siba->siba_type == SIBA_TYPE_PCI,
("unsupported bustype %d\n", siba->siba_type));
#endif
+
+ /* Default */
return (SIBA_PCI_DMA);
}
More information about the svn-src-head
mailing list