[MIPS] Remove mips_machtype for LASAT machines
This is the LASAT part of the mips_machtype removal. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
committed by
Ralf Baechle
parent
0b56fd8c7a
commit
b27418aa55
@@ -10,7 +10,7 @@
|
||||
#include <linux/pci.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
#include <asm/bootinfo.h>
|
||||
#include <asm/lasat/lasat.h>
|
||||
|
||||
#include <irq.h>
|
||||
|
||||
@@ -39,16 +39,10 @@ static int __init lasat_pci_setup(void)
|
||||
{
|
||||
printk(KERN_DEBUG "PCI: starting\n");
|
||||
|
||||
switch (mips_machtype) {
|
||||
case MACH_LASAT_100:
|
||||
lasat_pci_controller.pci_ops = >64xxx_pci0_ops;
|
||||
break;
|
||||
case MACH_LASAT_200:
|
||||
if (IS_LASAT_200())
|
||||
lasat_pci_controller.pci_ops = &nile4_pci_ops;
|
||||
break;
|
||||
default:
|
||||
panic("pcibios_init: mips_machtype incorrect");
|
||||
}
|
||||
else
|
||||
lasat_pci_controller.pci_ops = >64xxx_pci0_ops;
|
||||
|
||||
register_pci_controller(&lasat_pci_controller);
|
||||
|
||||
|
Reference in New Issue
Block a user