Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74451
b: refs/heads/master
c: 8b31cfb
h: refs/heads/master
i:
  74449: c7299e4
  74447: 71a4694
v: v3
  • Loading branch information
Stephen Hemminger authored and Jeff Garzik committed Nov 24, 2007
1 parent 1a2d542 commit 90e8e7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 58dd8258fccbb68e0d0e1898038442822cb833c0
refs/heads/master: 8b31cfbcd1b54362ef06c85beb40e65a349169a2
6 changes: 1 addition & 5 deletions trunk/drivers/net/sky2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1320,15 +1320,11 @@ static int sky2_up(struct net_device *dev)
*/
if (otherdev && netif_running(otherdev) &&
(cap = pci_find_capability(hw->pdev, PCI_CAP_ID_PCIX))) {
struct sky2_port *osky2 = netdev_priv(otherdev);
u16 cmd;

pci_read_config_word(hw->pdev, cap + PCI_X_CMD, &cmd);
cmd &= ~PCI_X_CMD_MAX_SPLIT;
pci_write_config_word(hw->pdev, cap + PCI_X_CMD, cmd);

sky2->rx_csum = 0;
osky2->rx_csum = 0;
}

if (netif_msg_ifup(sky2))
Expand Down Expand Up @@ -4013,7 +4009,7 @@ static __devinit struct net_device *sky2_init_netdev(struct sky2_hw *hw,
sky2->duplex = -1;
sky2->speed = -1;
sky2->advertising = sky2_supported_modes(hw);
sky2->rx_csum = 1;
sky2->rx_csum = (hw->chip_id != CHIP_ID_YUKON_XL);
sky2->wol = wol;

spin_lock_init(&sky2->phy_lock);
Expand Down

0 comments on commit 90e8e7e

Please sign in to comment.