[En-Nut-Discussion] Problem with registry DEV_ETHER

Harald Kipp harald.kipp at egnite.de
Fri Aug 22 11:58:19 CEST 2014


Hi Matthew,

On 21.08.2014 09:56, mateuszk wrote:

> I think that it is the problem. But I don't know How Can I change
> devNullEther -> devSmsc111 ?

I've currently no idea, why your configuration for Nut/OS 5.1 insists on
devNullEther.

Note, that the macros DEV_ETHER and DEV_ETHER_NAME are mainly used to
portability. If you want the devSmsc111 driver, you can simply use

 #include <dev/lanc111.h>
 ...
 NutRegisterDevice(&devSmsc111, 0, 0);
 NutDhcpIfConfig("eth0", 0, 60000);

Regards,

Harald



More information about the En-Nut-Discussion mailing list