From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23694 invoked by alias); 18 Jan 2011 18:19:50 -0000 Received: (qmail 23677 invoked by uid 22791); 18 Jan 2011 18:19:48 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 18 Jan 2011 18:19:42 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 86FC02F7800C for ; Tue, 18 Jan 2011 18:19:40 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zZkiUSCKC+xn; Tue, 18 Jan 2011 18:19:39 +0000 (GMT) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001115] UART, Ethernet and wallclock driver patches for LPC17XX X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: sergei.gavrikov@gmail.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC In-Reply-To: References: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 18 Jan 2011 18:19:00 -0000 Message-Id: <20110118181938.EA6392F78004@mail.ecoscentric.com> Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2011-01/txt/msg00046.txt.bz2 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001115 Sergei Gavrikov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sergei.gavrikov@gmail.com --- Comment #4 from Sergei Gavrikov 2011-01-18 18:19:35 GMT --- > I failed to find a way to enforce substitution of > CYGNUM_DEVS_ETH_IRQ_PRIORITY_LEVELS. I tried something like > "xxx" . CYGNUM_DEVS_ETH_IRQ_PRIORITY_LEVELS . "xxx" > and some other combinations involving braces and brackets. > Hope there is a way to do it. Ilija, AFAIK, there is no way to get a value of any CDL option out-side the CDL expressions. Well there is get_data() built-in function, but it is for *CDL expressions* only. The CDL commands 'display' and 'description' as well expect only 1 text argument, I mean that 'description' is something like this (rough prototype in Tcl) proc description text { set etext [eval $text] ... } So, we see new etext value in ecos.ecc (configtool). The below is okay set ::max 16 description "There are [expr {$::max - 1}] levels" In configtool we'll see 'There are 15 levels." And this one is not possible to evaluate set ::max CYGNUM_DEVS_ETH_IRQ_PRIORITY_LEVELS description "There is [expr {$::max - 1}] levels" because the max's value is just string "CYGNUM_DEVS_ETH_IRQ_PRIORITY_LEVELS". And get_data() function is out the scope (i.e. it is useless for 'description' command). IMO, such a variant is quite enough there decription " This option selects the interrupt priority for the EMAC interrupts. There are a few priority levels corresponding to the values 0 through CYGNUM_DEVS_ETH_IRQ_PRIORITY_LEVELS-1, of which the highest value is the lowest priority. The reset value of these registers defaults all interrupts to the lowest priority, allowing a single write to elevate the priority of an individual interrupt." *a few*, *a number* are good substitutions for text descriptions. In any case user will see what does the number means in ecos.ecc/configtool. -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.