ax88796.c (4ba24fef3eb3b142197135223b90ced2f319cd53) ax88796.c (84eff6d194df442bee62c129f2f47efb0dbd0468)
1/* drivers/net/ethernet/8390/ax88796.c
2 *
3 * Copyright 2005,2007 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>
5 *
6 * Asix AX88796 10/100 Ethernet controller support
7 * Based on ne.c, by Donald Becker, et-al.
8 *

--- 358 unchanged lines hidden (view full) ---

367
368 /* mask with MAC supported features */
369 phy_dev->supported &= PHY_BASIC_FEATURES;
370 phy_dev->advertising = phy_dev->supported;
371
372 ax->phy_dev = phy_dev;
373
374 netdev_info(dev, "PHY driver [%s] (mii_bus:phy_addr=%s, irq=%d)\n",
1/* drivers/net/ethernet/8390/ax88796.c
2 *
3 * Copyright 2005,2007 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>
5 *
6 * Asix AX88796 10/100 Ethernet controller support
7 * Based on ne.c, by Donald Becker, et-al.
8 *

--- 358 unchanged lines hidden (view full) ---

367
368 /* mask with MAC supported features */
369 phy_dev->supported &= PHY_BASIC_FEATURES;
370 phy_dev->advertising = phy_dev->supported;
371
372 ax->phy_dev = phy_dev;
373
374 netdev_info(dev, "PHY driver [%s] (mii_bus:phy_addr=%s, irq=%d)\n",
375 phy_dev->drv->name, dev_name(&phy_dev->dev), phy_dev->irq);
375 phy_dev->drv->name, phydev_name(phy_dev), phy_dev->irq);
376
377 return 0;
378}
379
380static void ax_phy_switch(struct net_device *dev, int on)
381{
382 struct ei_device *ei_local = netdev_priv(dev);
383 struct ax_device *ax = to_ax_dev(dev);

--- 632 unchanged lines hidden ---
376
377 return 0;
378}
379
380static void ax_phy_switch(struct net_device *dev, int on)
381{
382 struct ei_device *ei_local = netdev_priv(dev);
383 struct ax_device *ax = to_ax_dev(dev);

--- 632 unchanged lines hidden ---