This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ioctl failure with LANCEPCI
- From: Gary Thomas <gthomas at ecoscentric dot com>
- To: Magnus Ekhall <koma at lysator dot liu dot se>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 05 Dec 2002 07:51:46 -0700
- Subject: Re: [ECOS] ioctl failure with LANCEPCI
- References: <5.1.1.6.0.20021205154352.02d73f18@imap.lysator.liu.se>
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