Linu Up Trigger by Vortex Driver

Ranjitsinh Wable <[email protected]> Fri, 17 Jun 2005 11:20:11 +0530
Newsgroups gmane.linux.drivers.vortex.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.

--===============2121557940==
Content-type: multipart/alternative;
	boundary="Boundary_(ID_ORt96/QUznksxTfft6ANrA)"

This is a multi-part message in MIME format.

--Boundary_(ID_ORt96/QUznksxTfft6ANrA)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT

Hi All,

I am trying to get the Media Link Up/Down trigger from the ethrnet driver. Linux version 2.4.20.

I am using the 3c59x driver for the same. It calles the linkif_carrier_on/off functions based on the media status so its good for the checking media status periodically. The timer to check it is 60 seconds. I found that the code checks the media status bit and then decide the link state. 

Providing hook in the linkif_carrier_on/off I get the status update periodically. But instead of geeting the perodic status can I get the trigger when exact the link changes? While setting the bit for the media status. I could not find the function for the same. 

If anyone has the idea about how to get trigger kindly reply it will be helpful to me.

Thanks in advance,

Regards,

Wable

--Boundary_(ID_ORt96/QUznksxTfft6ANrA)
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: 7BIT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<P><FONT face="verdana, arial, helvetica" size=2>Hi All,<BR><BR>I am trying to 
get the Media Link Up/Down trigger from the ethrnet driver. Linux version 
2.4.20.</FONT></P>
<P><FONT face="verdana, arial, helvetica" size=2>I am using the 3c59x driver for 
the same. It calles the linkif_carrier_on/off functions based on the media 
status so its good for the checking media status periodically. The timer to 
check it is 60 seconds. I found that the code checks the media status bit and 
then decide the link state. <BR><BR>Providing hook in the linkif_carrier_on/off 
I get the status update periodically. But instead of geeting the perodic status 
can I get the trigger when exact the link changes? While setting the bit for the 
media status. I could not find the function for the same. <BR><BR>If anyone has 
the idea about how to get trigger kindly reply it will be helpful to 
me.<BR><BR>Thanks in 
advance,<BR><BR>Regards,<BR><BR>Wable</FONT></P></FONT></DIV></BODY></HTML>

--Boundary_(ID_ORt96/QUznksxTfft6ANrA)--

--===============2121557940==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
vortex mailing list
[email protected]
http://www.scyld.com/mailman/listinfo/vortex

--===============2121557940==--