Loading drivers/net/igb/e1000_82575.c +8 −2 Original line number Diff line number Diff line Loading @@ -238,9 +238,15 @@ static s32 igb_get_invariants_82575(struct e1000_hw *hw) size = 14; nvm->word_size = 1 << size; /* if 82576 then initialize mailbox parameters */ if (mac->type == e1000_82576) /* if part supports SR-IOV then initialize mailbox parameters */ switch (mac->type) { case e1000_82576: case e1000_i350: igb_init_mbx_params_pf(hw); break; default: break; } /* setup PHY parameters */ if (phy->media_type != e1000_media_type_copper) { Loading drivers/net/igb/e1000_mbx.c +18 −20 Original line number Diff line number Diff line Loading @@ -422,7 +422,6 @@ s32 igb_init_mbx_params_pf(struct e1000_hw *hw) { struct e1000_mbx_info *mbx = &hw->mbx; if (hw->mac.type == e1000_82576) { mbx->timeout = 0; mbx->usec_delay = 0; Loading @@ -441,7 +440,6 @@ s32 igb_init_mbx_params_pf(struct e1000_hw *hw) mbx->stats.reqs = 0; mbx->stats.acks = 0; mbx->stats.rsts = 0; } return 0; } Loading drivers/net/igb/igb_main.c +7 −2 Original line number Diff line number Diff line Loading @@ -2287,9 +2287,14 @@ static int __devinit igb_sw_init(struct igb_adapter *adapter) spin_lock_init(&adapter->stats64_lock); #ifdef CONFIG_PCI_IOV if (hw->mac.type == e1000_82576) switch (hw->mac.type) { case e1000_82576: case e1000_i350: adapter->vfs_allocated_count = (max_vfs > 7) ? 7 : max_vfs; break; default: break; } #endif /* CONFIG_PCI_IOV */ adapter->rss_queues = min_t(u32, IGB_MAX_RX_QUEUES, num_online_cpus()); Loading Loading
drivers/net/igb/e1000_82575.c +8 −2 Original line number Diff line number Diff line Loading @@ -238,9 +238,15 @@ static s32 igb_get_invariants_82575(struct e1000_hw *hw) size = 14; nvm->word_size = 1 << size; /* if 82576 then initialize mailbox parameters */ if (mac->type == e1000_82576) /* if part supports SR-IOV then initialize mailbox parameters */ switch (mac->type) { case e1000_82576: case e1000_i350: igb_init_mbx_params_pf(hw); break; default: break; } /* setup PHY parameters */ if (phy->media_type != e1000_media_type_copper) { Loading
drivers/net/igb/e1000_mbx.c +18 −20 Original line number Diff line number Diff line Loading @@ -422,7 +422,6 @@ s32 igb_init_mbx_params_pf(struct e1000_hw *hw) { struct e1000_mbx_info *mbx = &hw->mbx; if (hw->mac.type == e1000_82576) { mbx->timeout = 0; mbx->usec_delay = 0; Loading @@ -441,7 +440,6 @@ s32 igb_init_mbx_params_pf(struct e1000_hw *hw) mbx->stats.reqs = 0; mbx->stats.acks = 0; mbx->stats.rsts = 0; } return 0; } Loading
drivers/net/igb/igb_main.c +7 −2 Original line number Diff line number Diff line Loading @@ -2287,9 +2287,14 @@ static int __devinit igb_sw_init(struct igb_adapter *adapter) spin_lock_init(&adapter->stats64_lock); #ifdef CONFIG_PCI_IOV if (hw->mac.type == e1000_82576) switch (hw->mac.type) { case e1000_82576: case e1000_i350: adapter->vfs_allocated_count = (max_vfs > 7) ? 7 : max_vfs; break; default: break; } #endif /* CONFIG_PCI_IOV */ adapter->rss_queues = min_t(u32, IGB_MAX_RX_QUEUES, num_online_cpus()); Loading