[En-Nut-Discussion] lanc111 and nicrtl headers

Harald Kipp harald.kipp at egnite.de
Fri Jun 17 21:07:02 CEST 2005


Hi Rich,

DEV_ETHER uses the definition in the controller's header
file.

Have a look at UserConf.mk and
http://www.ethernut.de/pdf/enswm23e.pdf
(Pages 20, 28 and 51)

Harald

At 19:35 17.06.2005 +0100, you wrote:
>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