Re: Power off ethernet device

From: Matt Zagrabelny
Date: Wed May 28 2008 - 08:45:17 EST


On Wed, 2008-05-28 at 10:43 +0000, Nicola Salvemini wrote:
> Hello,
>
> I'm developing some
> software on a development board based on AT91SAM9260 processor. I
> need to power off the ethernet device, but I need a âlow levelâ
> command. I mean that an âifconfig eth0 downâ command is not
> suffice to my purpose, I need a command to emulate a cable
> disconnection, something to power off the yellow LED on the ethernet
> port.
>
> I'd like to implement an "application layer" function that uses some kernel functions (maybe some physical abstract layer function), but I'm not very sure on how to proceed.
>
>
> Could you please give me a
> suggestion?

ïWill 'rmmod' work for you?

--
Matt Zagrabelny - mzagrabe@xxxxxxxxx - (218) 726 8844
University of Minnesota Duluth
Information Technology Systems & Services
PGP key 1024D/84E22DA2 2005-11-07
Fingerprint: 78F9 18B3 EF58 56F5 FC85 C5CA 53E7 887F 84E2 2DA2

He is not a fool who gives up what he cannot keep to gain what he cannot
lose.
-Jim Elliot

Attachment: signature.asc
Description: This is a digitally signed message part