[ECOS] FW: Ethernet init problem

Gary D. Thomas gary.thomas@mind.be
Thu Feb 6 23:25:00 GMT 2003


On Thu, 2003-02-06 at 16:16, Jonathan Larmour wrote:
> Gary D. Thomas wrote:
> > On Thu, 2003-02-06 at 15:50, Jonathan Larmour wrote:
> >>There shouldn't be any multicast addresses I'd have thought. And naturally 
> >>it fails because the QUICC eth driver doesn't support multicast yet.
> > 
> > Actually, it always makes this call, initially with an empty multicast
> > list.  Also, this is only a warning - the upper layers ignore the fact
> > that the driver can't handle multicast addresses and just continue.
> 
> It's output with a diag_printf which means it's always output for the vast 
> majority of drivers without multicast support (and doesn't say it's a 
> warning, not an error). Should this be conditional on net debugging 
> instead? I'll arrange if so.
> 

I was hoping that seeing that message would spur folks to implement
multicasting in the drivers they use :-)  Maybe it could be marked
as a warning.

> >>But another probably more promising line of attack is that "Init device 
> >>'quicc_eth'" doesn't necessarily mean your eth device itself was included. 
> >>That init comes from the NETDEVTAB, but the eth0 instance is defined 
> >>separately. Check if your program image includes quicc_eth0_sc.
> >>
> > 
> > 
> > Or put an explicit diag_printf() call somewhere in the QUICC ethernet
> > initialization, just to see if it gets there.
> 
> Probably worth checking, although he said eth_drv_init() is being called, 
> and that's only called from the low level driver, so this probably isn't it.

Good point.

-- 
.--------------------------------------------------------.
|       Mind: Embedded Linux and eCos Development        |
|--------------------------------------------------------|
| Gary Thomas              email:  gary.thomas@mind.be   |
| Mind ( http://mind.be )  tel:    +1 (970) 229-1963     |
| 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