Skip to content

Commit

Permalink
4864 update emlxs from source provided by Emulex for 16G FC
Browse files Browse the repository at this point in the history
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Rich Lowe <richlowe@richlowe.net>
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Approved by: Robert Mustacchi <rm@joyent.com>
  • Loading branch information
Hans Rosenfeld authored and rmustacc committed Oct 24, 2014
1 parent 81cc999 commit 8f23e9f
Show file tree
Hide file tree
Showing 59 changed files with 83,078 additions and 72,855 deletions.
20 changes: 10 additions & 10 deletions usr/src/cmd/mdb/common/modules/emlxs/emlxs.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
* You can obtain a copy of the license at
* http://www.opensource.org/licenses/cddl1.txt.
* See the License for the specific language governing permissions
* and limitations under the License.
*
Expand All @@ -20,7 +20,7 @@
*/

/*
* Copyright 2009 Emulex. All rights reserved.
* Copyright (c) 2004-2011 Emulex. All rights reserved.
* Use is subject to license terms.
*/

Expand All @@ -37,10 +37,10 @@

static const mdb_dcmd_t dcmds[] =
{
{ "emlxs_msgbuf", "<instance>", "dumps the emlxs driver internal " \
"message buffer", emlxs_msgbuf, emlxs_msgbuf_help},
{ "emlxs_dump", "<type> <instance>", "dumps the emlxs driver " \
"firmware core", emlxs_dump, emlxs_dump_help},
{ DRIVER_NAME"_msgbuf", "<instance>", "dumps the "DRIVER_NAME
" driver internal message buffer", emlxs_msgbuf, emlxs_msgbuf_help},
{ DRIVER_NAME"_dump", "<type> <instance>", "dumps the "DRIVER_NAME
" driver firmware core", emlxs_dump, emlxs_dump_help},
{ NULL }
};

Expand Down Expand Up @@ -252,7 +252,7 @@ int emlxs_msgbuf(uintptr_t base_addr, uint_t flags, int argc,
if (entry.buffer[0] != 0) {
mdb_snprintf(merge, sizeof (merge),
"[%Y:%03d:%03d:%03d] "
"%6d:[%1X.%04X]%s:%7s:%4d: %s\n(%s)\n",
"%6d:[%1X.%04X]%s:%7s:%4d:\n%s\n(%s)\n",
entry.id_time.tv_sec,
(int)entry.id_time.tv_nsec/1000000,
(int)(entry.id_time.tv_nsec/1000)%1000,
Expand All @@ -264,7 +264,7 @@ int emlxs_msgbuf(uintptr_t base_addr, uint_t flags, int argc,
} else {
mdb_snprintf(merge, sizeof (merge),
"[%Y:%03d:%03d:%03d] "
"%6d:[%1X.%04X]%s:%7s:%4d: %s\n",
"%6d:[%1X.%04X]%s:%7s:%4d:\n%s\n",
entry.id_time.tv_sec,
(int)entry.id_time.tv_nsec/1000000,
(int)(entry.id_time.tv_nsec/1000)%1000,
Expand All @@ -289,7 +289,7 @@ int emlxs_msgbuf(uintptr_t base_addr, uint_t flags, int argc,
} else {
mdb_snprintf(merge, sizeof (merge),
"[%Y:%03d:%03d:%03d] "
"%6d:[%1X.%04X]%s:%7s:%4d: %s\n",
"%6d:[%1X.%04X]%s:%7s:%4d:\n%s\n",
entry.id_time.tv_sec,
(int)entry.id_time.tv_nsec/1000000,
(int)(entry.id_time.tv_nsec/1000)%1000,
Expand Down
1 change: 1 addition & 0 deletions usr/src/pkg/manifests/driver-network-emlxs.mf
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ driver name=emlxs class=fibre-channel perms="* 0666 root sys" \
alias=pci10df,fc20 \
alias=pci10df,fd00 \
alias=pci10df,fe00 \
alias=pciex10df,e200 \
alias=pciex10df,f100 \
alias=pciex10df,f111 \
alias=pciex10df,f112 \
Expand Down
8 changes: 4 additions & 4 deletions usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# You can obtain a copy of the license at
# http://www.opensource.org/licenses/cddl1.txt.
# See the License for the specific language governing permissions
# and limitations under the License.
#
Expand All @@ -18,7 +18,7 @@
#
# CDDL HEADER END
#
# Copyright 2009 Emulex. All rights reserved.
# Copyright (c) 2004-2012 Emulex. All rights reserved.
# Use is subject to license terms.
#
#
Expand Down Expand Up @@ -319,7 +319,7 @@ target-mode=0;
# Range: Min:0 Max:1 Default:0
#
# *Uncomment this parameter when target-mode is enabled
#ddi-forceattach=1
#ddi-forceattach=1;


# fct-bufpool: Controls buffer pool used by COMSTAR for FCP IOs
Expand Down
Loading

0 comments on commit 8f23e9f

Please sign in to comment.