Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290183
b: refs/heads/master
c: 150647f
h: refs/heads/master
i:
  290181: bbf111e
  290179: 6b68ece
  290175: d2438fc
v: v3
  • Loading branch information
Yoshihiro Shimoda authored and David S. Miller committed Feb 16, 2012
1 parent 4430c02 commit ab62eb6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 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: 3acbc9715a5ac8a2534a69eb3488b63b7c9fb1e2
refs/heads/master: 150647fb2c313d7c5184fca3fa0829a4a7d6f7bc
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethernet/renesas/sh_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -1859,8 +1859,8 @@ static int sh_eth_drv_probe(struct platform_device *pdev)
/* read and set MAC address */
read_mac_address(ndev, pd->mac_addr);

/* First device only init */
if (!devno) {
/* initialize first or needed device */
if (!devno || pd->needs_init) {
if (mdp->cd->tsu) {
struct resource *rtsu;
rtsu = platform_get_resource(pdev, IORESOURCE_MEM, 1);
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/sh_eth.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ struct sh_eth_plat_data {
unsigned char mac_addr[6];
unsigned no_ether_link:1;
unsigned ether_link_active_low:1;
unsigned needs_init:1;
};

#endif

0 comments on commit ab62eb6

Please sign in to comment.