Switching down Ethernet PHY on startup
Posted: Sun Mar 17, 2013 3:34 pm
Hello!
In our case we use the Fit-PC3 (model fit-PC3-D2x2-T56N-WB-H320-XLM-FMC - with 4 Gigabit Ethernet ports on the FACE module) as a network device.
We need the FACE module Ethernet ports - those based on the Intel 82583V chips - to be in the PHY OFF state after power ON or Reset all the time until the application decides it's OK to switch the Ethernet ports ON.
This requirement is critical as the PHY OFF state signals to the connected equipment that the Fit-PC3 machine is not ready yet -
and the appropriate actions, e.g switching to backup, are taken.
I managed to achieve the programmatic control over the PHY from the Linux network driver,
so e.g. ifconfig eth1 {up|down} changes the PHY state as expected.
However, immediately after power ON (or Reset) the PHY goes ON and stay in this state all the time until the Linux OS starts up the driver and the driver takes control.
Do You have any ideas how to start the Ethernet device in the PHY OFF state?
NOTE:
PHY ON - the "link" LEDs on the Ethernet port and on the connected switch are lit.
PHY OFF - the "link" LEDs are dark.
In our case we use the Fit-PC3 (model fit-PC3-D2x2-T56N-WB-H320-XLM-FMC - with 4 Gigabit Ethernet ports on the FACE module) as a network device.
We need the FACE module Ethernet ports - those based on the Intel 82583V chips - to be in the PHY OFF state after power ON or Reset all the time until the application decides it's OK to switch the Ethernet ports ON.
This requirement is critical as the PHY OFF state signals to the connected equipment that the Fit-PC3 machine is not ready yet -
and the appropriate actions, e.g switching to backup, are taken.
I managed to achieve the programmatic control over the PHY from the Linux network driver,
so e.g. ifconfig eth1 {up|down} changes the PHY state as expected.
However, immediately after power ON (or Reset) the PHY goes ON and stay in this state all the time until the Linux OS starts up the driver and the driver takes control.
Do You have any ideas how to start the Ethernet device in the PHY OFF state?
NOTE:
PHY ON - the "link" LEDs on the Ethernet port and on the connected switch are lit.
PHY OFF - the "link" LEDs are dark.