mdio_bus.c (a5e8546a8bff5d2047adc279df5753c44ba7b1a1) | mdio_bus.c (18ee49ddb0d242ed1d0e273038d5e4f6de7379d3) |
---|---|
1/* 2 * drivers/net/phy/mdio_bus.c 3 * 4 * MDIO Bus interface 5 * 6 * Author: Andy Fleming 7 * 8 * Copyright (c) 2004 Freescale Semiconductor, Inc. --- 93 unchanged lines hidden (view full) --- 102 * 2) bus_id 103 * 3) parent 104 * 4) bus 105 * 5) mii_bus 106 * And, we need to register it */ 107 108 phydev->irq = bus->irq != NULL ? bus->irq[addr] : PHY_POLL; 109 | 1/* 2 * drivers/net/phy/mdio_bus.c 3 * 4 * MDIO Bus interface 5 * 6 * Author: Andy Fleming 7 * 8 * Copyright (c) 2004 Freescale Semiconductor, Inc. --- 93 unchanged lines hidden (view full) --- 102 * 2) bus_id 103 * 3) parent 104 * 4) bus 105 * 5) mii_bus 106 * And, we need to register it */ 107 108 phydev->irq = bus->irq != NULL ? bus->irq[addr] : PHY_POLL; 109 |
110 phydev->dev.parent = bus->dev; | 110 phydev->dev.parent = bus->parent; |
111 phydev->dev.bus = &mdio_bus_type; 112 snprintf(phydev->dev.bus_id, BUS_ID_SIZE, PHY_ID_FMT, bus->id, addr); 113 114 phydev->bus = bus; 115 116 /* Run all of the fixups for this PHY */ 117 phy_scan_fixups(phydev); 118 --- 72 unchanged lines hidden --- | 111 phydev->dev.bus = &mdio_bus_type; 112 snprintf(phydev->dev.bus_id, BUS_ID_SIZE, PHY_ID_FMT, bus->id, addr); 113 114 phydev->bus = bus; 115 116 /* Run all of the fixups for this PHY */ 117 phy_scan_fixups(phydev); 118 --- 72 unchanged lines hidden --- |