Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 107965
b: refs/heads/master
c: a6ef5e9
h: refs/heads/master
i:
  107963: 4fe2be2
v: v3
  • Loading branch information
Alexander Duyck authored and Jeff Garzik committed Aug 7, 2008
1 parent 99207f0 commit 13545f7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ec796b4ffc947f74e9e85198d1648e9556300c55
refs/heads/master: a6ef5e9d7dd6f3de4f88b68c390f0f0d7072944c
25 changes: 0 additions & 25 deletions trunk/drivers/net/igb/igb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -720,28 +720,6 @@ static void igb_get_hw_control(struct igb_adapter *adapter)
ctrl_ext | E1000_CTRL_EXT_DRV_LOAD);
}

static void igb_init_manageability(struct igb_adapter *adapter)
{
struct e1000_hw *hw = &adapter->hw;

if (adapter->en_mng_pt) {
u32 manc2h = rd32(E1000_MANC2H);
u32 manc = rd32(E1000_MANC);

/* enable receiving management packets to the host */
/* this will probably generate destination unreachable messages
* from the host OS, but the packets will be handled on SMBUS */
manc |= E1000_MANC_EN_MNG2HOST;
#define E1000_MNG2HOST_PORT_623 (1 << 5)
#define E1000_MNG2HOST_PORT_664 (1 << 6)
manc2h |= E1000_MNG2HOST_PORT_623;
manc2h |= E1000_MNG2HOST_PORT_664;
wr32(E1000_MANC2H, manc2h);

wr32(E1000_MANC, manc);
}
}

/**
* igb_configure - configure the hardware for RX and TX
* @adapter: private board structure
Expand All @@ -755,7 +733,6 @@ static void igb_configure(struct igb_adapter *adapter)
igb_set_multi(netdev);

igb_restore_vlan(adapter);
igb_init_manageability(adapter);

igb_configure_tx(adapter);
igb_setup_rctl(adapter);
Expand Down Expand Up @@ -4524,8 +4501,6 @@ static void igb_io_resume(struct pci_dev *pdev)
struct net_device *netdev = pci_get_drvdata(pdev);
struct igb_adapter *adapter = netdev_priv(netdev);

igb_init_manageability(adapter);

if (netif_running(netdev)) {
if (igb_up(adapter)) {
dev_err(&pdev->dev, "igb_up failed after reset\n");
Expand Down

0 comments on commit 13545f7

Please sign in to comment.