summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2012-05-10 22:46:49 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2012-05-10 22:46:49 +0000
commit4d50e05b0d6d118f02727dd1388da522ef03ea7f (patch)
treef81c8a277091ea4addfe0aa0a1ab24d8920b0301
parente7d34ac77f24cb87283a7e9fef5434765c58fc8f (diff)
Enable PCI snoop on the AMD Hudson 2. With help from Juan Francisco
Cantero Hurtado <iam at juanfra.info>, thanks!
-rw-r--r--sys/dev/pci/azalia.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c
index 8e6c3bb9832..d9081e77fcc 100644
--- a/sys/dev/pci/azalia.c
+++ b/sys/dev/pci/azalia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: azalia.c,v 1.199 2011/09/19 07:36:59 kettenis Exp $ */
+/* $OpenBSD: azalia.c,v 1.200 2012/05/10 22:46:48 ratchov Exp $ */
/* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */
/*-
@@ -397,6 +397,7 @@ azalia_configure_pci(azalia_t *az)
switch (PCI_PRODUCT(az->pciid)) {
case PCI_PRODUCT_ATI_SB450_HDA:
case PCI_PRODUCT_ATI_SBX00_HDA:
+ case PCI_PRODUCT_AMD_HUDSON2_HDA:
reg = azalia_pci_read(az->pc, az->tag, ATI_PCIE_SNOOP_REG);
reg &= ATI_PCIE_SNOOP_MASK;
reg |= ATI_PCIE_SNOOP_ENABLE;