Mercurial > illumos > illumos-gate
changeset 12341:24484f9a5652
6947049 SDIO: emlx and nxge devices have issues at solaris on sdio domain (scottsdale)
author | David Woods <David.Woods@Sun.COM> |
---|---|
date | Fri, 07 May 2010 12:44:20 -0700 |
parents | 4a5a5c4e987a |
children | 0d4f730dbf17 |
files | usr/src/uts/sun4/io/px/px.c |
diffstat | 1 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/sun4/io/px/px.c Fri May 07 18:55:36 2010 -0700 +++ b/usr/src/uts/sun4/io/px/px.c Fri May 07 12:44:20 2010 -0700 @@ -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 @@ /* driver soft state */ void *px_state_p; +int px_force_intx_support = 1; + int _init(void) { @@ -1368,7 +1370,10 @@ *(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); }