diff options
author | Alexander Motin <mav@FreeBSD.org> | 2012-10-30 10:59:42 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2012-10-30 10:59:42 +0000 |
commit | ed228e403f62e529a73a45a4e4c194057fdf90b9 (patch) | |
tree | d8b8c9c37ea01d632a78fd63f46c96432b8f8210 /sys/dev/sound/pci/hda/hdac.c | |
parent | 969ed8f744a1591079961b6da8a064d199716664 (diff) | |
download | src-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.c | 2 |
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); ); |