source: trunk/target/linux/generic-2.6/patches-2.6.23/640-mvswitch.patch @ 14448

Last change on this file since 14448 was 14448, checked in by juhosg, 8 years ago

[kernel] generic-2.6/2.6.23: refresh patches

File size: 1.3 KB
  • drivers/net/phy/Kconfig

    a b config ADM6996_PHY 
    6565        ---help--- 
    6666          Currently supports the ADM6996F switch 
    6767 
     68config MVSWITCH_PHY 
     69        tristate "Driver for Marvell switches" 
     70        select VLAN_8021Q 
     71        ---help--- 
     72          Currently supports the Marvell 88E6060 switch. 
     73 
    6874config FIXED_PHY 
    6975        tristate "Drivers for PHY emulation on fixed speed/link" 
    7076        ---help--- 
  • drivers/net/phy/Makefile

    a b obj-$(CONFIG_VITESSE_PHY) += vitesse.o 
    1313obj-$(CONFIG_BROADCOM_PHY)      += broadcom.o 
    1414obj-$(CONFIG_ICPLUS_PHY)        += icplus.o 
    1515obj-$(CONFIG_ADM6996_PHY)       += adm6996.o 
     16obj-$(CONFIG_MVSWITCH_PHY)      += mvswitch.o 
    1617obj-$(CONFIG_FIXED_PHY)         += fixed.o 
  • drivers/net/phy/mdio_bus.c

    a b  
    3535#include <asm/irq.h> 
    3636#include <asm/uaccess.h> 
    3737 
     38static void mdio_dev_release(struct device *dev) 
     39{ 
     40        /* nothing to do */ 
     41} 
     42 
     43 
    3844/** 
    3945 * mdiobus_register - bring up all the PHYs on a given bus and attach them to bus 
    4046 * @bus: target mii_bus 
    int mdiobus_register(struct mii_bus *bus 
    8591 
    8692                        phydev->dev.parent = bus->dev; 
    8793                        phydev->dev.bus = &mdio_bus_type; 
     94                        phydev->dev.release = mdio_dev_release; 
    8895                        snprintf(phydev->dev.bus_id, BUS_ID_SIZE, PHY_ID_FMT, bus->id, i); 
    8996 
    9097                        phydev->bus = bus; 
Note: See TracBrowser for help on using the repository browser.