linux-mips
[Top] [All Lists]

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

To: linux-mips@linux-mips.org
Subject: Re: [MIPS] SMTC: Fix crash on bootup with idebus= command line argument.
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Tue, 04 Sep 2007 00:05:01 +0900 (JST)
In-reply-to: <S20024438AbXHGQ1m/20070807162742Z+2733@ftp.linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <S20024438AbXHGQ1m/20070807162742Z+2733@ftp.linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
On Tue, 07 Aug 2007 17:27:37 +0100, linux-mips@linux-mips.org wrote:
> Author: Ralf Baechle <ralf@linux-mips.org> Tue Aug 7 17:18:28 2007 +0100
> Commit: 00cc123703425aa362b0af75616134cbad4e0689
> Gitweb: http://www.linux-mips.org/g/linux/00cc1237
> Branch: master

With this commit, ide_default_io_base(0) and ide_default_io_base(1)
always returns non-zero value so some platform ide driver (such as
ide/mips/swarm.c) may be assigned to ide2, instead of ide0.

It seems restoreing the pci_get_class() checking would revert the old
behavior, but I cannot see whole story of SMTC vs. ide_default_io_base().

Why pci_get_class() in ide_default_io_base() cause crash on SMTC?

---
Atsushi Nemoto

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