Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 170640
b: refs/heads/master
c: fda9b77
h: refs/heads/master
v: v3
  • Loading branch information
Ron Mercer authored and David S. Miller committed Oct 12, 2009
1 parent 6edb5a0 commit 701e8cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 52e55f3cde3ac3c7982dbc0cc67075456b135a31
refs/heads/master: fda9b77c10a4db06e1431e6494a69e93a9dc5491
21 changes: 0 additions & 21 deletions trunk/drivers/net/qlge/qlge_mpi.c
Original file line number Diff line number Diff line change
@@ -1,25 +1,5 @@
#include "qlge.h"

static void ql_display_mb_sts(struct ql_adapter *qdev,
struct mbox_params *mbcp)
{
int i;
static char *err_sts[] = {
"Command Complete",
"Command Not Supported",
"Host Interface Error",
"Checksum Error",
"Unused Completion Status",
"Test Failed",
"Command Parameter Error"};

QPRINTK(qdev, DRV, DEBUG, "%s.\n",
err_sts[mbcp->mbox_out[0] & 0x0000000f]);
for (i = 0; i < mbcp->out_count; i++)
QPRINTK(qdev, DRV, DEBUG, "mbox_out[%d] = 0x%.08x.\n",
i, mbcp->mbox_out[i]);
}

int ql_read_mpi_reg(struct ql_adapter *qdev, u32 reg, u32 *data)
{
int status;
Expand Down Expand Up @@ -540,7 +520,6 @@ static int ql_mailbox_command(struct ql_adapter *qdev, struct mbox_params *mbcp)
MB_CMD_STS_GOOD) &&
((mbcp->mbox_out[0] & 0x0000f000) !=
MB_CMD_STS_INTRMDT)) {
ql_display_mb_sts(qdev, mbcp);
status = -EIO;
}
end:
Expand Down

0 comments on commit 701e8cf

Please sign in to comment.