From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dmz-mail.nentec.de (gate.nentec.de [213.218.23.37]) by lists.ozlabs.org (Postfix) with SMTP id 3wHLYs2WcQzDq9m for ; Tue, 2 May 2017 22:43:27 +1000 (AEST) From: Juergen Schindele To: Scott Wood Reply-To: schindele@nentec.de Cc: linuxppc-dev@lists.ozlabs.org Subject: Re: Freescale mpc8315 IRQ0 setup Date: Tue, 02 May 2017 14:43:08 +0200 Message-ID: <1715435.xdU3769208@sherry> In-Reply-To: <20170430065543.iamwy5yvk7tcpmc7@home.buserror.net> References: <2666241.ms6yMRjznt@sherry> <20170430065543.iamwy5yvk7tcpmc7@home.buserror.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart5576059.gOoqe1dKmm" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. --nextPart5576059.gOoqe1dKmm Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Dear Scott, sorry for the delay but i am not very familiar with the formating. I passed the patch trough checkpatch.pl and there was no more error. pease find patch in attached file. Thanks --=20 i. A. J=FCrgen Schindele Softwareentwicklung PSI Nentec GmbH Greschbachstra=DFe 12 76229 Karlsruhe Deutschland Telefon: +49 721 94249-51 Telefax: +49 721 94249-10 schindele@nentec.de www.nentec.de Gesch=E4ftsf=FChrung: Klaus Becker, Wolfgang Fischer Sitz der Gesellschaft: Karlsruhe Handelsregister: Amtsgericht Mannheim HRB 107658 Diese E-Mail enth=E4lt vertrauliche oder rechtlich gesch=FCtzte Informa= tionen.=20 Wenn Sie nicht der vorgesehene Empf=E4nger sind, informieren Sie bitte = sofort=20 den Absender und l=F6schen Sie diese E-Mail. Das unbefugte Kopieren die= ser E- Mail oder die unbefugte Weitergabe der enthaltenen Informationen ist ni= cht=20 gestattet. The information contained in this message is confidential or protected = by law.=20 If you are not the intended recipient, please contact the sender and de= lete=20 this message. Any unauthorised copying of this message or unauthorised=20= distribution of the information contained herein is prohibited. --nextPart5576059.gOoqe1dKmm Content-Disposition: attachment; filename="ipic.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="ipic.patch" [PATCH] configure "EDGE" capabilities for IRQ0 (like IRQ1-7) Signed-off-by: Jurgen Schindele --- linux-a/arch/powerpc/sysdev/ipic.c 2017-04-04 15:28:11.201308780 +0200 +++ linux-b/arch/powerpc/sysdev/ipic.c 2016-12-11 20:17:54.000000000 +0100 @@ -315,7 +315,6 @@ static struct ipic_info ipic_info[] = { .prio_mask = 7, }, [48] = { - .ack = IPIC_SEPNR, .mask = IPIC_SEMSR, .prio = IPIC_SMPRR_A, .force = IPIC_SEFCR, @@ -618,7 +617,7 @@ static int ipic_set_irq_type(struct irq_ /* ipic supports only edge mode on external interrupts */ if ((flow_type & IRQ_TYPE_EDGE_FALLING) && !ipic_info[src].ack) { printk(KERN_ERR "ipic: edge sense not supported on internal " - "interrupts %d\n", src); + "interrupts\n"); return -EINVAL; } --nextPart5576059.gOoqe1dKmm--