changeset 20213:fc9802b8f6e3

13392 px: case value '3' not in enumerated type Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
author Toomas Soome <tsoome@me.com>
date Mon, 13 Apr 2020 09:59:39 +0300
parents cd16aeceed83
children 42181203a6d7
files usr/src/uts/sun4u/io/px/px_hlib.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/sun4u/io/px/px_hlib.c	Thu Nov 26 19:50:37 2020 +0800
+++ b/usr/src/uts/sun4u/io/px/px_hlib.c	Mon Apr 13 09:59:39 2020 +0300
@@ -161,9 +161,9 @@
 #define	MSIQ_MAPPING_SIZE	(MSI_MAPPING_ENTRIES * sizeof (uint64_t))
 
 /* OPL tuning variables for link unstable issue */
-int wait_perst = 5000000; 	/* step 9, default: 5s */
+int wait_perst = 5000000;	/* step 9, default: 5s */
 int wait_enable_port = 30000;	/* step 11, default: 30ms */
-int link_retry_count = 2; 	/* step 11, default: 2 */
+int link_retry_count = 2;	/* step 11, default: 2 */
 int link_status_check = 400000;	/* step 11, default: 400ms */
 
 static uint64_t msiq_suspend(devhandle_t dev_hdl, pxu_t *pxu_p);
@@ -2108,7 +2108,7 @@
 hvio_intr_getstate(devhandle_t dev_hdl, sysino_t sysino,
     intr_state_t *intr_state)
 {
-	intr_state_t state;
+	uint64_t state;
 
 	state = CSRA_FR((caddr_t)dev_hdl, INTERRUPT_CLEAR,
 	    SYSINO_TO_DEVINO(sysino), ENTRIES_INT_STATE);