From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.lixom.net (lixom.net [66.141.50.11]) by ozlabs.org (Postfix) with ESMTP id 0739567B74 for ; Tue, 26 Sep 2006 15:11:25 +1000 (EST) Date: Tue, 26 Sep 2006 00:10:41 -0500 From: Olof Johansson To: Stephen Rothwell Subject: Re: [PATCH 2/7] [POWERPC] The two vio HVC backends clash Message-ID: <20060926001041.4c708613@pb15> In-Reply-To: <20060926133548.43afd711.sfr@canb.auug.org.au> References: <20060926133413.8ca8142e.sfr@canb.auug.org.au> <20060926133548.43afd711.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: ppc-dev , paulus@samba.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 26 Sep 2006 13:35:48 +1000 Stephen Rothwell wrote: > diff --git a/drivers/char/hvc_iseries.c b/drivers/char/hvc_iseries.c > index 4747729..ea36201 100644 > --- a/drivers/char/hvc_iseries.c > +++ b/drivers/char/hvc_iseries.c > @@ -29,6 +29,7 @@ #include > #include > #include > #include > +#include > #include > #include > #include > @@ -493,6 +494,9 @@ static int hvc_vio_init(void) > atomic_t wait_flag; > int rc; > > + if (!firmware_has_feature(FW_FEATURE_ISERIES)) > + return -EIO; > + Shouldn't this be -ENODEV? -Olof