From 8a20e7c05ca47e3c0d7748b1fdcd48554f03220c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Th=C3=A9baudeau?= Date: Tue, 14 Jul 2015 22:00:46 +0200 Subject: [PATCH] enc28j60: Fix the MAC address configuration comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The MAADRx register numbering was wrong. Signed-off-by: Benoît Thébaudeau --- dev/enc28j60/enc28j60.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dev/enc28j60/enc28j60.c b/dev/enc28j60/enc28j60.c index 7ee55c393..b4164147c 100644 --- a/dev/enc28j60/enc28j60.c +++ b/dev/enc28j60/enc28j60.c @@ -386,8 +386,7 @@ reset(void) the network is spread over exceptionally long cables, the default value of MACLCON2 may need to be increased. - 9. Program the local MAC address into the - MAADR0:MAADR5 registers. + 9. Program the local MAC address into the MAADR1:MAADR6 registers. */ setregbank(MACONX_BANK);