Skip to content

Commit

Permalink
bnx2x: Better struct naming
Browse files Browse the repository at this point in the history
This is the device info from the chip shared memory - rename to avoid confusion

Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Eilon Greenstein authored and David S. Miller committed Feb 16, 2009
1 parent b5bf906 commit 5cd65a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/bnx2x_hsi.h
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ struct port_feat_cfg { /* port 0: 0x454 port 1: 0x4c8 */
/****************************************************************************
* Device Information *
****************************************************************************/
struct dev_info { /* size */
struct shm_dev_info { /* size */

u32 bc_rev; /* 8 bits each: major, minor, build */ /* 4 */

Expand Down Expand Up @@ -841,7 +841,7 @@ struct shmem_region { /* SharedMem Offset (size) */
#define SHR_MEM_VALIDITY_ACTIVE_MFW_NONE 0x000001c0
#define SHR_MEM_VALIDITY_ACTIVE_MFW_MASK 0x000001c0

struct dev_info dev_info; /* 0x8 (0x438) */
struct shm_dev_info dev_info; /* 0x8 (0x438) */

u8 reserved[52*PORT_MAX];

Expand Down

0 comments on commit 5cd65a9

Please sign in to comment.