svn commit: r189127 - head/sys/dev/sound/pci/hda

Alexander Motin mav at FreeBSD.org
Fri Feb 27 15:49:27 PST 2009


Author: mav
Date: Fri Feb 27 23:49:26 2009
New Revision: 189127
URL: http://svn.freebsd.org/changeset/base/189127

Log:
  Copy/paste bug fix for previos commit.

Modified:
  head/sys/dev/sound/pci/hda/hdac.c

Modified: head/sys/dev/sound/pci/hda/hdac.c
==============================================================================
--- head/sys/dev/sound/pci/hda/hdac.c	Fri Feb 27 23:12:28 2009	(r189126)
+++ head/sys/dev/sound/pci/hda/hdac.c	Fri Feb 27 23:49:26 2009	(r189127)
@@ -4072,7 +4072,7 @@ hdac_attach(device_t dev)
 		);
 	}
 
-	if (devid >= 0 && (hdac_devices[i].flags & HDAC_NO_MSI))
+	if (devid >= 0 && (hdac_devices[devid].flags & HDAC_NO_MSI))
 		sc->flags &= ~HDAC_F_MSI;
 	else
 		sc->flags |= HDAC_F_MSI;


More information about the svn-src-head mailing list