lkml.org 
[lkml]   [2010]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH][V2] MACB: Set PHY address in kernel parameters
    Anders Darander wrote:
    > * Marc Kleine-Budde <mkl@pengutronix.de> [100331 11:18]:
    >> We're using phy_mask in one of our projects, it's still using 2.6.29,
    >> though. I think it's worth testing if it's still working.
    >
    > Well, that was obviously something I overlooked / misinterpreted when I
    > tried to solve our problem!
    >
    > As I understand it, phy_mask is a bitfield for setting which PHYs should
    > be enabled... Then this should have worked OK for us!

    Yes, it's a bitmask of PHYs that should be probed.

    >> static struct at91_eth_data __initdata p298_macb_data = {
    >> .is_rmii = 0,
    >> .phy_mask = ~(1 << 8),
    >> };
    >
    >> at91_add_device_eth(&p298_macb_data);
    >
    > I've not tested it, but it should probably have worked.

    Cheers, Marc

    --
    Pengutronix e.K. | Marc Kleine-Budde |
    Industrial Linux Solutions | Phone: +49-231-2826-924 |
    Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
    Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |

    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2010-03-31 11:51    [W:0.021 / U:94.644 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site