aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sound/pci/hda/hdac.c
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2012-10-30 10:59:42 +0000
committerAlexander Motin <mav@FreeBSD.org>2012-10-30 10:59:42 +0000
commited228e403f62e529a73a45a4e4c194057fdf90b9 (patch)
treed8b8c9c37ea01d632a78fd63f46c96432b8f8210 /sys/dev/sound/pci/hda/hdac.c
parent969ed8f744a1591079961b6da8a064d199716664 (diff)
downloadsrc-ed228e403f62e529a73a45a4e4c194057fdf90b9.tar.gz
src-ed228e403f62e529a73a45a4e4c194057fdf90b9.zip
Print card and subsystem IDs in verbose logs to help to identify system.
Hide some less iseful messages under debug.
Notes
Notes: svn path=/head/; revision=242352
Diffstat (limited to 'sys/dev/sound/pci/hda/hdac.c')
-rw-r--r--sys/dev/sound/pci/hda/hdac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/sound/pci/hda/hdac.c b/sys/dev/sound/pci/hda/hdac.c
index 8ae3c9c3ab4a..79c61490ffa7 100644
--- a/sys/dev/sound/pci/hda/hdac.c
+++ b/sys/dev/sound/pci/hda/hdac.c
@@ -1074,6 +1074,8 @@ hdac_attach(device_t dev)
sc = device_get_softc(dev);
HDA_BOOTVERBOSE(
+ device_printf(dev, "PCI card vendor: 0x%04x, device: 0x%04x\n",
+ pci_get_subvendor(dev), pci_get_subdevice(dev));
device_printf(dev, "HDA Driver Revision: %s\n",
HDA_DRV_TEST_REV);
);