diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2008-06-27 22:00:29 +0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-07-04 16:47:00 +0400 |
commit | 662d7205b3db0bf9ebcae31f30ed72a1bceb47af (patch) | |
tree | 85f217f793ba893a346d042c2af54aa6be7f30f2 /drivers/net/igb/igb_main.c | |
parent | 652fff321490fc3fcc8e8d302826a9c2379f03d2 (diff) | |
download | linux-662d7205b3db0bf9ebcae31f30ed72a1bceb47af.tar.xz |
igb: fix init on 82575 with MNG enabled
This patch resolves an issue seen on 82575 adapters with managability
pass-thru enabled, which could cause the system to panic.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/igb/igb_main.c')
-rw-r--r-- | drivers/net/igb/igb_main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c index d8bee212d61f..e5dff61f162e 100644 --- a/drivers/net/igb/igb_main.c +++ b/drivers/net/igb/igb_main.c @@ -630,6 +630,9 @@ static void igb_configure(struct igb_adapter *adapter) igb_configure_tx(adapter); igb_setup_rctl(adapter); igb_configure_rx(adapter); + + igb_rx_fifo_flush_82575(&adapter->hw); + /* call IGB_DESC_UNUSED which always leaves * at least 1 descriptor unused to make sure * next_to_use != next_to_clean */ |