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: E7t and ethernet


I've never seen any support for this. I don't think the ethernet
device are supported in the filesystem. I could be wrong though...

Why do you want to do this? What are you trying to do?

    Andrew

On Thu, Oct 10, 2002 at 03:41:21PM +0100, Chris Garry wrote:
> I'm using an e7t board (with an additional ethernet PHY) and eCos (net
> template plus
> the Samsung KS32C5000 ethernet driver).
> 
> When I try the following:
> 
>     err = cyg_io_lookup( "eth0", &handle );
>     if (ENOERR == err)
>     {
>         printf("Found eth0.\n");
>     }
>       else
>     {
>       printf("Did not find eth0.\n");
>     }
> 
> I find that cyg_io_lookup() has not found the ethernet device.
> Should this work (it works for the Serial devices) or am I missing
> something?
> 
> Also, if I try an:
> 
> fptr=fopen("eth0","r+")
> 
> the board hangs because the name 'eth0' does not begin with a /.
> 
> Thanks.
> Chris
> 
> 
> 
> -- 
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> 

-- 
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]