Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 85825
b: refs/heads/master
c: aa20c6c
h: refs/heads/master
i:
  85823: fe80c8b
v: v3
  • Loading branch information
David Graham authored and Jeff Garzik committed Feb 15, 2008
1 parent eab9e40 commit d77b698
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 29 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: 41825d7158d4ca6488d562d73279392a886b9e7c
refs/heads/master: aa20c6c6d22efcca76c6225eb46f5903ce14c7c8
28 changes: 0 additions & 28 deletions trunk/drivers/net/igb/igb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -606,9 +606,6 @@ static void igb_init_manageability(struct igb_adapter *adapter)
u32 manc2h = rd32(E1000_MANC2H);
u32 manc = rd32(E1000_MANC);

/* disable hardware interception of ARP */
manc &= ~(E1000_MANC_ARP_EN);

/* 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 */
Expand All @@ -623,25 +620,6 @@ static void igb_init_manageability(struct igb_adapter *adapter)
}
}

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

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

/* re-enable hardware interception of ARP */
manc |= E1000_MANC_ARP_EN;
manc &= ~E1000_MANC_EN_MNG2HOST;

/* don't explicitly have to mess with MANC2H since
* MANC has an enable disable that gates MANC2H */

/* XXX stop the hardware watchdog ? */
wr32(E1000_MANC, manc);
}
}

/**
* igb_configure - configure the hardware for RX and TX
* @adapter: private board structure
Expand Down Expand Up @@ -844,7 +822,6 @@ void igb_reset(struct igb_adapter *adapter)

igb_reset_adaptive(&adapter->hw);
adapter->hw.phy.ops.get_phy_info(&adapter->hw);
igb_release_manageability(adapter);
}

/**
Expand Down Expand Up @@ -1178,9 +1155,6 @@ static void __devexit igb_remove(struct pci_dev *pdev)

flush_scheduled_work();


igb_release_manageability(adapter);

/* Release control of h/w to f/w. If f/w is AMT enabled, this
* would have already happened in close and is redundant. */
igb_release_hw_control(adapter);
Expand Down Expand Up @@ -3955,8 +3929,6 @@ static int igb_suspend(struct pci_dev *pdev, pm_message_t state)
pci_enable_wake(pdev, PCI_D3cold, 0);
}

igb_release_manageability(adapter);

/* make sure adapter isn't asleep if manageability is enabled */
if (adapter->en_mng_pt) {
pci_enable_wake(pdev, PCI_D3hot, 1);
Expand Down

0 comments on commit d77b698

Please sign in to comment.