aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sound/pci/hda/hdaa.h
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2012-01-25 09:57:34 +0000
committerAlexander Motin <mav@FreeBSD.org>2012-01-25 09:57:34 +0000
commit89a8fedd7774fbb840ebda33ddb418ea4eb3bfc4 (patch)
tree0aff539d6e678e1ba1e9efc7d3b5490a15d2352a /sys/dev/sound/pci/hda/hdaa.h
parent8e4609a4a3201076c785435d80e425197f549c30 (diff)
downloadsrc-89a8fedd7774fbb840ebda33ddb418ea4eb3bfc4.tar.gz
src-89a8fedd7774fbb840ebda33ddb418ea4eb3bfc4.zip
Fix word order in hdaa_subvendor_id() to match PCI (where it comes from),
broken at r230130. This should fix applying system-specific patches.
Notes
Notes: svn path=/head/; revision=230532
Diffstat (limited to 'sys/dev/sound/pci/hda/hdaa.h')
-rw-r--r--sys/dev/sound/pci/hda/hdaa.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sound/pci/hda/hdaa.h b/sys/dev/sound/pci/hda/hdaa.h
index 2435d64887a2..db2017d499dd 100644
--- a/sys/dev/sound/pci/hda/hdaa.h
+++ b/sys/dev/sound/pci/hda/hdaa.h
@@ -259,8 +259,8 @@ struct hdaa_chan {
hda_get_device_id(devinfo->dev))
#define hdaa_subvendor_id(devinfo) \
- (((uint32_t)hda_get_subvendor_id(devinfo->dev) << 16) + \
- hda_get_subdevice_id(devinfo->dev))
+ (((uint32_t)hda_get_subdevice_id(devinfo->dev) << 16) + \
+ hda_get_subvendor_id(devinfo->dev))
struct hdaa_widget *hdaa_widget_get(struct hdaa_devinfo *, nid_t);
uint32_t hdaa_widget_pin_patch(uint32_t config, const char *str);