[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>
This commit is contained in:
Michael Chan
2006-03-23 01:11:56 -08:00
committed by David S. Miller
parent ca6549af77
commit bf5295bba8
2 changed files with 18 additions and 12 deletions

View File

@@ -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;