summaryrefslogtreecommitdiff
path: root/usr/src/uts/common
diff options
context:
space:
mode:
authorgd78059 <none@none>2008-06-03 13:53:28 -0700
committergd78059 <none@none>2008-06-03 13:53:28 -0700
commit18061c656cfeed11077d5725b11f34c879cd7f6c (patch)
tree4df7ec4087f3ae86b2b283d94c8c8e8e936f48cf /usr/src/uts/common
parent3fd94f8c011031b38162a1db3b554de4371c167f (diff)
downloadillumos-joyent-18061c656cfeed11077d5725b11f34c879cd7f6c.tar.gz
PSARC 2008/343 PCI Multimedia Class Interrupt Priorities
6708747 Decrease default IPL for PCI class 0x4 (Multimedia)
Diffstat (limited to 'usr/src/uts/common')
-rw-r--r--usr/src/uts/common/io/audio/sada/drv/audio810/audio810.conf7
-rw-r--r--usr/src/uts/common/io/audio/sada/drv/audiohd/audiohd.conf7
-rw-r--r--usr/src/uts/common/io/audio/sada/drv/audioixp/audioixp.conf7
-rw-r--r--usr/src/uts/common/io/pci_intr_lib.c8
4 files changed, 7 insertions, 22 deletions
diff --git a/usr/src/uts/common/io/audio/sada/drv/audio810/audio810.conf b/usr/src/uts/common/io/audio/sada/drv/audio810/audio810.conf
index 78de1bba77..3ec17d2cbc 100644
--- a/usr/src/uts/common/io/audio/sada/drv/audio810/audio810.conf
+++ b/usr/src/uts/common/io/audio/sada/drv/audio810/audio810.conf
@@ -19,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -61,11 +61,6 @@ record-interrupts=175;
#reset-configuration=1;
#
-# We need change the priority so that we aren't a high level interrupt.
-#
-interrupt-priorities=9;
-
-#
# Uncomment ac97-invert-amp to power down/up external amplifier. Most
# hardware does't need this property. But some devices, such as some
# Sony Vaio laptops need to set this property to 1 to correct the
diff --git a/usr/src/uts/common/io/audio/sada/drv/audiohd/audiohd.conf b/usr/src/uts/common/io/audio/sada/drv/audiohd/audiohd.conf
index 95d58184e9..105a8bb513 100644
--- a/usr/src/uts/common/io/audio/sada/drv/audiohd/audiohd.conf
+++ b/usr/src/uts/common/io/audio/sada/drv/audiohd/audiohd.conf
@@ -19,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -59,8 +59,3 @@ record-interrupts=175;
# is retained across driver unload/reload cycles, but not across reboots.
#
#reset-configuration=1;
-
-#
-# We need change the priority so that we aren't high level interrupt.
-#
-interrupt-priorities=9;
diff --git a/usr/src/uts/common/io/audio/sada/drv/audioixp/audioixp.conf b/usr/src/uts/common/io/audio/sada/drv/audioixp/audioixp.conf
index c40d2031d5..01efaa0243 100644
--- a/usr/src/uts/common/io/audio/sada/drv/audioixp/audioixp.conf
+++ b/usr/src/uts/common/io/audio/sada/drv/audioixp/audioixp.conf
@@ -19,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -72,8 +72,3 @@ record-interrupts=175;
# is retained across driver unload/reload cycles, but not across reboots.
#
#reset-configuration=1;
-
-#
-# We need to change the priority so that we aren't high level interrupt.
-#
-interrupt-priorities=9;
diff --git a/usr/src/uts/common/io/pci_intr_lib.c b/usr/src/uts/common/io/pci_intr_lib.c
index 0ef36d8a21..cd5fefe47d 100644
--- a/usr/src/uts/common/io/pci_intr_lib.c
+++ b/usr/src/uts/common/io/pci_intr_lib.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -1132,13 +1132,13 @@ pci_devclass_to_ipl(int class)
case PCI_CLASS_SERIALBUS:
ipl = (sub_class == PCI_SERIAL_IB) ? 6 : 1;
break;
+ case PCI_CLASS_MM:
+ ipl = 0x8;
+ break;
/*
* for high priority interrupt handlers, use level 12
* as the highest for device drivers
*/
- case PCI_CLASS_MM:
- ipl = 0xc;
- break;
case PCI_CLASS_MEM:
ipl = 0xc;
break;