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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 07 Aug 2007 17:27:37 +0100, linux-mips@xxxxxxxxxxxxxx wrote:
> Author: Ralf Baechle <ralf@xxxxxxxxxxxxxx> 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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux