This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: DM9000 ethernet drivers
- From: Gary Thomas <gary at mlbassoc dot com>
- To: baljeet singh <baljeet45 at yahoo dot com>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 16 Aug 2005 16:26:48 -0600
- Subject: Re: [ECOS] DM9000 ethernet drivers
- References: <20050816180522.75131.qmail@web60814.mail.yahoo.com>
On Tue, 2005-08-16 at 11:05 -0700, baljeet singh wrote:
> All,
> I am trying to get DM9000 ethernet drivers from
> MSalter with extensions by Stefan Rosinger to
> work on my hardware. I am not able to find the
> call to MACRO
> NETDEVTAB_ENTRY(DRV_netdev,
> "DRV",
> DRV_HRDWR_init,
> &DRV_sc);
> That would create an entry in the dev table for
> this device and also a call to MACRO
> ETH_DRV_SC(DRV_sc,
> 0, // No driver specific
> data needed
> "eth0", // Name for this
> interface
> HRDWR_start,
> HRDWR_stop,
> HRDWR_control,
> HRDWR_can_send
> HRDWR_send,
> HRDWR_recv);
>
> that will setup the function calls.
> I am looking at dm900_drv.c and dm9000_info.h
>
> Is there anyother file that I should be looking
> at?
> Or is this process of translation to specific
> device gets done in some fashion that I don't
> need to worry about.
These macros are found in <cyg/io/eth/eth_drv.h>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss