summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.h
diff options
context:
space:
mode:
authorMichael Chan2006-03-23 10:11:56 +0100
committerDavid S. Miller2006-03-23 10:11:56 +0100
commitbf5295bba804a6aead9bc1c0d5970173a9d4e08e (patch)
tree561708042eb3348d0693f4d2a4035bf4b58fd8e9 /drivers/net/bnx2.h
parent[PKTGEN]: Add MPLS extension. (diff)
downloadkernel-qcow2-linux-bf5295bba804a6aead9bc1c0d5970173a9d4e08e.tar.gz
kernel-qcow2-linux-bf5295bba804a6aead9bc1c0d5970173a9d4e08e.tar.xz
kernel-qcow2-linux-bf5295bba804a6aead9bc1c0d5970173a9d4e08e.zip
[BNX2]: Fix link change handling
Fix some link-related problems by doing a coalesce_now after link change interrupt to flush out the transient link status. To facilitate this, the host coalesce cmd register value is cached in the device structure. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.h')
-rw-r--r--drivers/net/bnx2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h
index fd4b7f2eb477..18bc0919cc9e 100644
--- a/drivers/net/bnx2.h
+++ b/drivers/net/bnx2.h
@@ -4038,6 +4038,7 @@ struct bnx2 {
struct statistics_block *stats_blk;
dma_addr_t stats_blk_mapping;
+ u32 hc_cmd;
u32 rx_mode;
u16 req_line_speed;