From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by ozlabs.org (Postfix) with ESMTP id 05574DDDEF for ; Sun, 2 Nov 2008 02:28:19 +1100 (EST) Received: by fg-out-1718.google.com with SMTP id d23so1490207fga.39 for ; Sat, 01 Nov 2008 08:28:18 -0700 (PDT) Message-ID: <5c9cd53b0811010828u64ef26f7qbc3be448cbe41074@mail.gmail.com> Date: Sat, 1 Nov 2008 07:28:17 -0800 From: "mike zheng" To: avorontsov@ru.mvista.com Subject: Re: QE in MPC8360MDS In-Reply-To: <20081031140137.GA8781@oksana.dev.rtsoft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <5c9cd53b0810310647w581e21ccl1d28d83b4bc6ed15@mail.gmail.com> <20081031140137.GA8781@oksana.dev.rtsoft.ru> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Anton. Thanks for the info you provide. The code I have actually works fine on MPC8568. It does NOT work on MPC8360. The value of following register are correct based on the manual. And the RxBD flag changed as well. I shall see the bit of UCCE changes, Right? Do I miss provision anything? Is there any other register shall I check in order to get the interrupt bit in UCCE? gumr : addr - 0xfdf02000, val - 0x4000000c ucce : addr - 0xfdf02010, val - 0x00000000 uccm : addr - 0xfdf02014, val - 0x7f010001 On Fri, Oct 31, 2008 at 10:01 AM, Anton Vorontsov wrote: > On Fri, Oct 31, 2008 at 09:47:18AM -0400, mike zheng wrote: >> Hi All, >> >> Anyone know the difference of QE between MPC8360 and MPC8568? >> >> I am using the QE code working for MPC8568 on a MPC8360MDS board. >> However there is no interrupt generated by UCC0. I set the QE working >> under loopback mode. The flag of TxBD got changed, but the UCCE >> remains the same value. Here is the logs and register value. > > I recalling these differences: > > QEIC to MPIC vs. IPIC cascading (may be the cause of interrupts > issues). > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=cccd21027c17c27ad275093c22475354b4495814 > > QE ParIO layout (you may have pins misconfigured): > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=321872dcc07f83f9b60af1be41c6bafbaddf9bf6 > > -- > Anton Vorontsov > email: cbouatmailru@gmail.com > irc://irc.freenode.net/bd2 >