[En-Nut-Discussion] lanc111 and nicrtl headers

Richard Dawodu r at dawodur.freeserve.co.uk
Fri Jun 17 20:35:51 CEST 2005


Hello All,

What is the difference between the following function call
NutRegisterDevice(&DEV_ETHER, 0x8300, 5);
NutRegisterDevice(&devEth0, 0x8300, 5);

I use ethernut1.3g hardware and the first one does not work when used with
the sample tcp.c code provided until I mask off the following conditional
complied code.
//#ifdef ETHERNUT2
//#include <dev/lanc111.h>
//#else
#include <dev/nicrtl.h>
//#endif


Can anyone help?

Rich





More information about the En-Nut-Discussion mailing list