summaryrefslogtreecommitdiff
path: root/sys/dev/pci/azalia.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-05-11 23:34:36 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-05-11 23:34:36 +0000
commitc80038e3a4475fb7cb5184ba7982376ebfb62a0b (patch)
tree240099e19a173606c16c0a3943bd10ef7901ba49 /sys/dev/pci/azalia.c
parent2c3b887610852eecfd347f84dcc6e0e3fb0416f8 (diff)
use the PCI multimedia subclass type HD audio define from pcireg.h
Diffstat (limited to 'sys/dev/pci/azalia.c')
-rw-r--r--sys/dev/pci/azalia.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c
index 1ef7b97d9ee..5163fdc9f8e 100644
--- a/sys/dev/pci/azalia.c
+++ b/sys/dev/pci/azalia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: azalia.c,v 1.7 2006/05/08 20:36:59 brad Exp $ */
+/* $OpenBSD: azalia.c,v 1.8 2006/05/11 23:34:35 brad Exp $ */
/* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */
/*-
@@ -355,7 +355,7 @@ azalia_pci_match(struct device *parent, void *match, void *aux)
pa = aux;
if (PCI_CLASS(pa->pa_class) == PCI_CLASS_MULTIMEDIA
- && PCI_SUBCLASS(pa->pa_class) == PCI_SUBCLASS_HDAUDIO)
+ && PCI_SUBCLASS(pa->pa_class) == PCI_SUBCLASS_MULTIMEDIA_HDAUDIO)
return 1;
return 0;
}