Skip to content

Commit

Permalink
bnx2x: add `ethtool -w' support.
Browse files Browse the repository at this point in the history
This revises and enhances the bnx2x register dump facilities,
adding support for `ethtool -w' on top of `ethtool -d'.

Signed-off-by: Miriam Shitrit <miris@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Miriam Shitrit authored and David S. Miller committed Jan 15, 2013
1 parent 4ba7699 commit 07ba6af
Show file tree
Hide file tree
Showing 4 changed files with 2,494 additions and 1,176 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
Original file line number Diff line number Diff line change
Expand Up @@ -1704,6 +1704,7 @@ struct bnx2x {

/* priority to cos mapping */
u8 prio_to_cos[8];
u32 dump_preset_idx;
};

/* Tx queues may be less or equal to Rx queues */
Expand Down
1 change: 1 addition & 0 deletions drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ void bnx2x_igu_ack_sb(struct bnx2x *bp, u8 igu_sb_id, u8 segment,

/* Disable transactions from chip to host */
void bnx2x_pf_disable(struct bnx2x *bp);
int bnx2x_pretend_func(struct bnx2x *bp, u16 pretend_func_val);

/**
* bnx2x__link_status_update - handles link status change.
Expand Down
Loading

0 comments on commit 07ba6af

Please sign in to comment.