This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ioctl failure with LANCEPCI


On Thu, 2002-12-05 at 07:46, Magnus Ekhall wrote:
> Hi!
> 
> Does anyone have a clue why the following ioctl call would hang ecos? (It 
> is from the dhcp module bring-half-up):
> ioctl(s,SIOCSIFADDR, ifrp);
> 
> It is for a LANCEPCI device. I think it is trying to set the ethernet 
> address of the card.

You could try putting some trace (diag_printf) statements in the
actual driver just to see where it is getting to.  My guess is
that this is about the first time that an interrupt will be
coming in from the device and you're having trouble handling it.

-- 
------------------------------------------------------------
Gary Thomas                       |
eCosCentric, Ltd.                 |  
+1 (970) 229-1963                 |  eCos & RedBoot experts
http://www.ecoscentric.com/       |
email: <gthomas@ecoscentric.com>  |
gpg: http://www.chez-thomas.org/gary/gpg_key.asc
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]