Isn't there any way to use the funcion "detect_tp()" implemented in the device driver (uCcs8900.c) in a user program? I think that could be the solution... before attaching an IP address to the uCsimm with "ifattach", we could check wether the TP is connected or not.
De: Claudio Duffini [SMTP:email@example.com]
Enviado el: lunes, 05 de febrero de 2001 10:42
Asunto: Re: [uCsimm] A problem from a new user.
Micah Dowty wrote:
> how would you automatically disable the
> ethernet if it isn't connected, so it is easy to use the ucSimm
> with or without a network?
Er...Micah.. It appears that uCsimm *wants* an ether cable connected
to something, or it will never come up. I never investigated about
booting without an ether hardware connection.
-- Claudio Duffini |IW3HE| Systems Integrator Studio 3/98 Snc (C.E.D. Ospedale 'Sacro Cuore') "Turn on a PC and windows appears..." "Open a pocketpc and windows appears..." "Open a cellular phone and mobile explorer appears..." "Open a magazine and Bill's face appears ...!?!?!" "Whew ! It's only a photo ! (for now)" <<Archivo: smime.p7s>>
This message resent by the firstname.lastname@example.org list server http://www.uClinux.com/
This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:40 EST