Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10207
b: refs/heads/master
c: 56230d5
h: refs/heads/master
i:
  10205: 66b76e4
  10203: a66e9ab
  10199: a405da9
  10191: 97984f0
  10175: 04ddc33
v: v3
  • Loading branch information
John W. Linville authored and Jeff Garzik committed Sep 14, 2005
1 parent 129a862 commit 7053d75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6d6525b7f74f9593e647f8c17b1de0f652e1f177
refs/heads/master: 56230d538233ba037eb679b0fc0b218d33b9b8b8
2 changes: 2 additions & 0 deletions trunk/drivers/net/skge.c
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,7 @@ static struct ethtool_ops skge_ethtool_ops = {
.phys_id = skge_phys_id,
.get_stats_count = skge_get_stats_count,
.get_ethtool_stats = skge_get_ethtool_stats,
.get_perm_addr = ethtool_op_get_perm_addr,
};

/*
Expand Down Expand Up @@ -3080,6 +3081,7 @@ static struct net_device *skge_devinit(struct skge_hw *hw, int port,

/* read the mac address */
memcpy_fromio(dev->dev_addr, hw->regs + B2_MAC_1 + port*8, ETH_ALEN);
memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len);

/* device is off until link detection */
netif_carrier_off(dev);
Expand Down

0 comments on commit 7053d75

Please sign in to comment.