[ECOS] ioctl failure with LANCEPCI

Gary Thomas gthomas@ecoscentric.com
Thu Dec 5 06:51:00 GMT 2002

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

More information about the Ecos-discuss mailing list