From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by ozlabs.org (Postfix) with ESMTP id B9952DE0A2 for ; Thu, 8 Jan 2009 02:47:47 +1100 (EST) Received: by yx-out-2324.google.com with SMTP id 8so2591906yxg.39 for ; Wed, 07 Jan 2009 07:47:45 -0800 (PST) Message-ID: Date: Wed, 7 Jan 2009 08:47:45 -0700 From: "Grant Likely" To: "Gerhard Pircher" Subject: Re: [PATCH 3/5] powerpc: Bootwrapper and serial console support for AmigaOne In-Reply-To: <20090107152035.270110@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <20090107135457.234150@gmx.net> <20090107140334.299940@gmx.net> <20090107152035.270110@gmx.net> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Jan 7, 2009 at 8:20 AM, Gerhard Pircher wrote: > > -------- Original-Nachricht -------- >> Datum: Wed, 7 Jan 2009 08:07:14 -0700 >> Von: "Grant Likely" >> An: "Gerhard Pircher" >> CC: linuxppc-dev@ozlabs.org >> Betreff: Re: [PATCH 3/5] powerpc: Bootwrapper and serial console support for AmigaOne > >> On Wed, Jan 7, 2009 at 7:03 AM, Gerhard Pircher >> wrote: >> > diff --git a/arch/powerpc/boot/serial.c b/arch/powerpc/boot/serial.c >> > index 8b3607c..f2156f0 100644 >> > --- a/arch/powerpc/boot/serial.c >> > +++ b/arch/powerpc/boot/serial.c >> > @@ -117,7 +117,8 @@ int serial_console_init(void) >> > if (devp == NULL) >> > goto err_out; >> > >> > - if (dt_is_compatible(devp, "ns16550")) >> > + if (dt_is_compatible(devp, "ns16550") || >> > + dt_is_compatible(devp, "pnpPNP,501")) >> > rc = ns16550_console_init(devp, &serial_cd); >> >> Why not just claim "ns16550" compatibility in the device tree node? > It was suggested that I should use PNP identifiers for all ISA devices, as > these are part of a real PCI2ISA bridge (when I sent the previous version > or these patches). Okay, I just read that thread. Hmmm... I'm not fond of it but it is an established convention and I cannot fault you for it. g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.