summaryrefslogtreecommitdiff
path: root/usr/src/uts/sun4
diff options
context:
space:
mode:
authorDavid Woods <David.Woods@Sun.COM>2010-05-07 12:44:20 -0700
committerDavid Woods <David.Woods@Sun.COM>2010-05-07 12:44:20 -0700
commit788cfa89ad35a9fc82d30c8d518bfe13415d8677 (patch)
tree75e302881d101a02cf66b47228f667f032ce6f77 /usr/src/uts/sun4
parent91159e90831fc9243576f2ec1a483b3bb462bcf4 (diff)
downloadillumos-joyent-788cfa89ad35a9fc82d30c8d518bfe13415d8677.tar.gz
6947049 SDIO: emlx and nxge devices have issues at solaris on sdio domain (scottsdale)
Diffstat (limited to 'usr/src/uts/sun4')
-rw-r--r--usr/src/uts/sun4/io/px/px.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/usr/src/uts/sun4/io/px/px.c b/usr/src/uts/sun4/io/px/px.c
index 5c4f553386..b808b357af 100644
--- a/usr/src/uts/sun4/io/px/px.c
+++ b/usr/src/uts/sun4/io/px/px.c
@@ -18,9 +18,9 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
*/
/*
@@ -138,6 +138,8 @@ static struct modlinkage modlinkage = {
/* driver soft state */
void *px_state_p;
+int px_force_intx_support = 1;
+
int
_init(void)
{
@@ -1368,7 +1370,10 @@ px_intr_ops(dev_info_t *dip, dev_info_t *rdip, ddi_intr_op_t intr_op,
*(int *)result |= intr_types;
}
- *(int *)result &= px_p->px_supp_intr_types;
+ *(int *)result &=
+ (px_force_intx_support ?
+ (px_p->px_supp_intr_types | DDI_INTR_TYPE_FIXED) :
+ px_p->px_supp_intr_types);
return (*(int *)result ? DDI_SUCCESS : DDI_FAILURE);
}