diff options
author | Toomas Soome <tsoome@me.com> | 2020-04-13 09:59:39 +0300 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2020-12-29 23:01:05 +0200 |
commit | 1575b751c16622553e958c1e5c45e59c86b15c6e (patch) | |
tree | 5ee12815b3058b346467493993df5478c7083482 /usr/src/uts/sun4u | |
parent | 9b0429a10eec9313ec782d8421272aff70adbfdc (diff) | |
download | illumos-joyent-1575b751c16622553e958c1e5c45e59c86b15c6e.tar.gz |
13392 px: case value '3' not in enumerated type
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/uts/sun4u')
-rw-r--r-- | usr/src/uts/sun4u/io/px/px_hlib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/uts/sun4u/io/px/px_hlib.c b/usr/src/uts/sun4u/io/px/px_hlib.c index 11c529dfa7..a6ae488a76 100644 --- a/usr/src/uts/sun4u/io/px/px_hlib.c +++ b/usr/src/uts/sun4u/io/px/px_hlib.c @@ -161,9 +161,9 @@ static uint64_t msiq_config_other_regs[] = { #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 @@ uint64_t 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); |