branch | stable-1.5 |
changeset 2582 | 87e502828b3f |
parent 1897 | 029345a0de52 |
2581:d94281cb835a | 2582:87e502828b3f |
---|---|
2211 } |
2211 } |
2212 |
2212 |
2213 rtl8169_init_phy(dev, tp); |
2213 rtl8169_init_phy(dev, tp); |
2214 device_set_wakeup_enable(&pdev->dev, tp->features & RTL_FEATURE_WOL); |
2214 device_set_wakeup_enable(&pdev->dev, tp->features & RTL_FEATURE_WOL); |
2215 |
2215 |
2216 if (tp->ecdev && ecdev_open(tp->ecdev)) { |
2216 if (tp->ecdev) { |
2217 ecdev_withdraw(tp->ecdev); |
2217 rc = ecdev_open(tp->ecdev); |
2218 goto err_out_msi_5; |
2218 if (rc) { |
2219 ecdev_withdraw(tp->ecdev); |
|
2220 goto err_out_msi_5; |
|
2221 } |
|
2219 } |
2222 } |
2220 |
2223 |
2221 out: |
2224 out: |
2222 return rc; |
2225 return rc; |
2223 |
2226 |