[ECOS] DM9000 ethernet drivers

Gary Thomas gary@mlbassoc.com
Tue Aug 16 22:27:00 GMT 2005


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



More information about the Ecos-discuss mailing list