|
@@ -1376,6 +1376,7 @@ static void intr_callback(struct urb *urb)
|
|
case -ECONNRESET: /* unlink */
|
|
case -ECONNRESET: /* unlink */
|
|
case -ESHUTDOWN:
|
|
case -ESHUTDOWN:
|
|
netif_device_detach(tp->netdev);
|
|
netif_device_detach(tp->netdev);
|
|
|
|
+ /* fall through */
|
|
case -ENOENT:
|
|
case -ENOENT:
|
|
case -EPROTO:
|
|
case -EPROTO:
|
|
netif_info(tp, intr, tp->netdev,
|
|
netif_info(tp, intr, tp->netdev,
|
|
@@ -2741,6 +2742,7 @@ static void r8153b_ups_en(struct r8152 *tp, bool enable)
|
|
r8152_mdio_write(tp, MII_BMCR, data);
|
|
r8152_mdio_write(tp, MII_BMCR, data);
|
|
|
|
|
|
data = r8153_phy_status(tp, PHY_STAT_LAN_ON);
|
|
data = r8153_phy_status(tp, PHY_STAT_LAN_ON);
|
|
|
|
+ /* fall through */
|
|
|
|
|
|
default:
|
|
default:
|
|
if (data != PHY_STAT_LAN_ON)
|
|
if (data != PHY_STAT_LAN_ON)
|