From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14021 invoked by alias); 26 Jan 2007 08:08:10 -0000 Received: (qmail 14011 invoked by uid 22791); 26 Jan 2007 08:08:09 -0000 X-Spam-Check-By: sourceware.org Received: from bay0-omc1-s19.bay0.hotmail.com (HELO bay0-omc1-s19.bay0.hotmail.com) (65.54.246.91) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 26 Jan 2007 08:08:03 +0000 Received: from hotmail.com ([65.54.229.19]) by bay0-omc1-s19.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Fri, 26 Jan 2007 00:08:01 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 26 Jan 2007 00:08:01 -0800 Message-ID: Received: from 65.54.229.220 by by110fd.bay110.hotmail.msn.com with HTTP; Fri, 26 Jan 2007 08:08:00 GMT X-Sender: iucgnaw@msn.com From: "wang cui" To: ecos-discuss@ecos.sourceware.org Bcc: Date: Fri, 26 Jan 2007 08:08:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed 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: [ECOS] Question about eth_drv_int_vector() in Redboot? X-SW-Source: 2007-01/txt/msg00152.txt.bz2 When using ethernet driver in Redboot. Call stack: net_init() net_io_init() net_io_control( comm, __COMMCTL_IRQ_DISABLE ) vector = eth_drv_int_vector() eth_drv_int_vector(void) MYDRIVER_int_vector(struct eth_drv_sc *sc); Here eth_drv_int_vector() need MYDRIVER_int_vector() to return its interrupt vector, but on my target, this ethernet device does not use any interrupt resource. How to return the vector? Presently, I return 0, and it works. Since 0 is a valid vector used by other driver, I suspect it is not good. Thanks in advance. _________________________________________________________________ Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss