From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19395 invoked by alias); 29 Aug 2007 08:11:18 -0000 Received: (qmail 19374 invoked by uid 22791); 29 Aug 2007 08:11:17 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 29 Aug 2007 08:11:13 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1IQIdo-0008Fw-00; Wed, 29 Aug 2007 10:11:08 +0200 Date: Wed, 29 Aug 2007 08:11:00 -0000 From: Andrew Lunn To: ariga masahiro Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20070829081108.GI31057@lunn.ch> Mail-Followup-To: ariga masahiro , ecos-discuss@ecos.sourceware.org References: <001b01c7ea05$68ebd310$1c0110ac@ariga> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001b01c7ea05$68ebd310$1c0110ac@ariga> User-Agent: Mutt/1.5.16 (2007-06-11) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Where set SMSC-LAN91C111 registers for availing interrupt ? X-SW-Source: 2007-08/txt/msg00159.txt.bz2 > According to SMSC's FAQ,in order to enable interrupt, PHY Register 19's > MINT bit should be set to '0', I've not read the data sheet/FAQ, so i need to ask maybe some dumb questions. This is a PHY register. So does this interrupt tell you about change in Link status? Cable in, cable out, etc? If so, eCos does not use this information. There is no need to generate such interrupts. > and MAC Bank 2 Offset D Interrupt Mask Register's MDINT should be set to > '1'. What about the code at line 520 of version 1.20 of /packages/devs/eth/smsc/lan91cxx/current/src/if_lan91cxx.c. Does the set all the necessary bits? Ah, i just took a very quick look at the datasheet. MDINT is also for PHY interrupts. MD probably stands for Media Detect. eCos is not interests in these interrupts. eCos just wants to know when a packet has been received, when a packet has been sent etc. These are the MAC interrupts which do see to be configured at the line is said in my last email. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss