* Setting eth interface oper state from user space
@ 2009-03-30 20:04 vb
0 siblings, 0 replies; only message in thread
From: vb @ 2009-03-30 20:04 UTC (permalink / raw)
To: LinuxPPC-Embedded, linuxppc-dev
I'm debugging a fairly awkward system, where the ehernet controller
and the phy device connected to the controller's mac are completely
independent. (this is in the 2.6.25 tree, btw).
The phy device interface is through SysFs attributes, there is no
interrupts, link state is polled by a user space thread.
When I try using this new ethernet interface, it's never in the
operational 'running' state, so it never gets used.
I see that many drivers use netif_carrier_on() to set oper state, but
this is invoked from the driver code in the kernel.
Is there a recommended way of controlling the interface operstate from
user space? Or maybe someone has a suggestion on how to do this in the
cleanest possible way?
As always, any hints/comments will be highly appreciated,
TIA,
Vadim
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-30 20:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-30 20:04 Setting eth interface oper state from user space vb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).