linux-mips
[Top] [All Lists]

Re: [MIPS] SMTC: Fix crash on bootup with idebus= command line argument.

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: [MIPS] SMTC: Fix crash on bootup with idebus= command line argument.
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 13 Sep 2007 14:55:24 +0100
Cc: chris@mips.com, linux-mips@linux-mips.org
In-reply-to: <20070904.230202.41011018.anemo@mba.ocn.ne.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20070904.000501.41013092.anemo@mba.ocn.ne.jp> <46DC2D2E.8080408@mips.com> <20070904125010.GA15630@linux-mips.org> <20070904.230202.41011018.anemo@mba.ocn.ne.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.14 (2007-02-12)
On Tue, Sep 04, 2007 at 11:02:02PM +0900, Atsushi Nemoto wrote:

> Hmm, I see.  Then I think no_pci_device() can be used to avoid such
> case, as like as pci_find_subsys().
> 
> Anyway the commit 00cc123703425aa362b0af75616134cbad4e0689 may change
> ide numbering for swarm or au1xxx (if those platform did not have ISA
> brigdes).  How about this?
> 
> 
> Subject: No ide_default_io_base() if PCI IDE was not found
> 
> Revert b5438582090406e2ccb4169d9b2df7c9939ae42b and add
> no_pci_devices() check to avoid crash due to early calling of
> pci_get_class().
> 
> Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>

Thanks for you guys discussing it out ;-)   Applied, thanks.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>