In a momentary fit of coding over designing, I copied some vaguely related
code and made a link state reporting proc interface. I also patched a couple
of drivers (USB CATC and PCMCIA 3c574) to give me something to test with.
Here is what the /proc interface looks like, this example showing what happens
when you disconnect the crossover cable between the two test devices:
Inter-| Link
face | Status
lo:Link Good
eth0:Link Good
eth1:Link Failed
eth2:Link Failed
Any comments or thoughts on this?
Brad
linkstate.patch
Description: Binary data
|