diff options
author | ml29623 <none@none> | 2008-04-14 19:44:39 -0700 |
---|---|---|
committer | ml29623 <none@none> | 2008-04-14 19:44:39 -0700 |
commit | c2d37b8b741399aadab168080563bfcd17d492b7 (patch) | |
tree | ca5408bfbcae30a7189eda56df3cd5bfb50ff5a1 | |
parent | a58bf6f9bf3ac28074d58e73ab1862b06422b9fd (diff) | |
download | illumos-gate-c2d37b8b741399aadab168080563bfcd17d492b7.tar.gz |
6659614 nxge needs to support driver configuration via dladm (PSARC 2007/429 Brussels) (fix cstyle)
-rw-r--r-- | usr/src/uts/common/io/nxge/nxge_main.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/usr/src/uts/common/io/nxge/nxge_main.c b/usr/src/uts/common/io/nxge/nxge_main.c index 4b25ce828e..5c0978b148 100644 --- a/usr/src/uts/common/io/nxge/nxge_main.c +++ b/usr/src/uts/common/io/nxge/nxge_main.c @@ -3985,14 +3985,16 @@ nxge_m_setprop(void *barg, const char *pr_name, mac_prop_id_t pr_num, nxgep->mac.maxframesize = (uint16_t) (new_mtu + NXGE_EHEADER_VLAN_CRC); if (nxge_mac_set_framesize(nxgep)) { - nxgep->mac.maxframesize = (uint16_t)old_framesize; + nxgep->mac.maxframesize = + (uint16_t)old_framesize; err = EINVAL; break; } err = mac_maxsdu_update(nxgep->mach, new_mtu); if (err) { - nxgep->mac.maxframesize = (uint16_t)old_framesize; + nxgep->mac.maxframesize = + (uint16_t)old_framesize; err = EINVAL; break; } @@ -4523,7 +4525,8 @@ nxge_get_priv_prop(p_nxge_t nxgep, const char *pr_name, uint_t pr_valsize, "[hot swappable]" : ""); break; case PORT_HSP_MODE: - (void) sprintf(valstr, "phy not present[hot swappable]"); + (void) sprintf(valstr, + "phy not present[hot swappable]"); break; default: (void) sprintf(valstr, "unknown %s", |