From c2d37b8b741399aadab168080563bfcd17d492b7 Mon Sep 17 00:00:00 2001 From: ml29623 Date: Mon, 14 Apr 2008 19:44:39 -0700 Subject: 6659614 nxge needs to support driver configuration via dladm (PSARC 2007/429 Brussels) (fix cstyle) --- usr/src/uts/common/io/nxge/nxge_main.c | 9 ++++++--- 1 file 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", -- cgit v1.2.3