• Andreas Mohr's avatar
    e100: add non-MII PHY support · 72001762
    Andreas Mohr authored
    Restore support for cards with MII-lacking PHYs as compared to removed
    pre-2.6.29 eepro100 driver: use full low-level MII I/O access abstraction
    by providing clean PHY-specific mdio_ctrl() functions for either standard
    MII-compliant cards, slightly special ones or non-MII PHY ones.
    
    We now have another netdev_priv member for mdio_ctrl(), thus we have some
    array indirection, but we save some additional opcodes for specific
    phy_82552_v handling in the common case.
    
    [akpm@linux-foundation.org: cleanups]
    Signed-off-by: default avatarAndreas Mohr <andi@lisas.de>
    Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
    Cc: Jesse Brandeburg <jesse.brandeburg@intel.com>
    Cc: Bruce Allan <bruce.w.allan@intel.com>
    Cc: PJ Waskiewicz <peter.p.waskiewicz.jr@intel.com>
    Cc: John Ronciak <john.ronciak@intel.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    72001762
e100.c 87.4 KB