Skip to content

Commit 1707be1

Browse files
committed
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/jkirsher/net-2.6
2 parents f3d7bc5 + 4def99b commit 1707be1

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

drivers/net/e1000/e1000_osdep.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
#define GBE_CONFIG_RAM_BASE \
4343
((unsigned int)(CONFIG_RAM_BASE + GBE_CONFIG_OFFSET))
4444

45-
#define GBE_CONFIG_BASE_VIRT phys_to_virt(GBE_CONFIG_RAM_BASE)
45+
#define GBE_CONFIG_BASE_VIRT \
46+
((void __iomem *)phys_to_virt(GBE_CONFIG_RAM_BASE))
4647

4748
#define GBE_CONFIG_FLASH_WRITE(base, offset, count, data) \
4849
(iowrite16_rep(base + offset, data, count))

drivers/net/e1000e/netdev.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5967,7 +5967,8 @@ static int __devinit e1000_probe(struct pci_dev *pdev,
59675967
/* APME bit in EEPROM is mapped to WUC.APME */
59685968
eeprom_data = er32(WUC);
59695969
eeprom_apme_mask = E1000_WUC_APME;
5970-
if (eeprom_data & E1000_WUC_PHY_WAKE)
5970+
if ((hw->mac.type > e1000_ich10lan) &&
5971+
(eeprom_data & E1000_WUC_PHY_WAKE))
59715972
adapter->flags2 |= FLAG2_HAS_PHY_WAKEUP;
59725973
} else if (adapter->flags & FLAG_APME_IN_CTRL3) {
59735974
if (adapter->flags & FLAG_APME_CHECK_PORT_B &&

drivers/net/igbvf/vf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ static u32 e1000_hash_mc_addr_vf(struct e1000_hw *hw, u8 *mc_addr)
220220
* The parameter rar_count will usually be hw->mac.rar_entry_count
221221
* unless there are workarounds that change this.
222222
**/
223-
void e1000_update_mc_addr_list_vf(struct e1000_hw *hw,
223+
static void e1000_update_mc_addr_list_vf(struct e1000_hw *hw,
224224
u8 *mc_addr_list, u32 mc_addr_count,
225225
u32 rar_used_count, u32 rar_count)
226226
{

0 commit comments

Comments
 (0)