mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[adm5120] use mips_machine code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13532 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -33,4 +33,4 @@ static void __init cas771_setup(void)
|
||||
adm5120_pci_set_irq_map(ARRAY_SIZE(cas771_pci_irqs), cas771_pci_irqs);
|
||||
}
|
||||
|
||||
ADM5120_BOARD(MACH_ADM5120_CAS771, "Cellvision CAS-771/771W", cas771_setup);
|
||||
MIPS_MACHINE(MACH_ADM5120_CAS771, "Cellvision CAS-771/771W", cas771_setup);
|
||||
|
||||
@@ -132,8 +132,8 @@ void __init cas6xx_setup(void)
|
||||
adm5120_add_device_switch(1, NULL);
|
||||
}
|
||||
|
||||
ADM5120_BOARD(MACH_ADM5120_CAS630, "Cellvision CAS-630/630W", cas6xx_setup);
|
||||
ADM5120_BOARD(MACH_ADM5120_CAS670, "Cellvision CAS-670/670W", cas6xx_setup);
|
||||
MIPS_MACHINE(MACH_ADM5120_CAS630, "Cellvision CAS-630/630W", cas6xx_setup);
|
||||
MIPS_MACHINE(MACH_ADM5120_CAS670, "Cellvision CAS-670/670W", cas6xx_setup);
|
||||
#endif
|
||||
|
||||
void __init cas7xx_setup(void)
|
||||
@@ -146,7 +146,7 @@ void __init cas7xx_setup(void)
|
||||
}
|
||||
|
||||
#if 0
|
||||
ADM5120_BOARD(MACH_ADM5120_CAS700, "Cellvision CAS-700/700W", cas7xx_setup);
|
||||
ADM5120_BOARD(MACH_ADM5120_CAS790, "Cellvision CAS-790", cas7xx_setup);
|
||||
ADM5120_BOARD(MACH_ADM5120_CAS861, "Cellvision CAS-861/861W", cas7xx_setup);
|
||||
MIPS_MACHINE(MACH_ADM5120_CAS700, "Cellvision CAS-700/700W", cas7xx_setup);
|
||||
MIPS_MACHINE(MACH_ADM5120_CAS790, "Cellvision CAS-790", cas7xx_setup);
|
||||
MIPS_MACHINE(MACH_ADM5120_CAS861, "Cellvision CAS-861/861W", cas7xx_setup);
|
||||
#endif
|
||||
|
||||
@@ -15,10 +15,9 @@
|
||||
#include <linux/irq.h>
|
||||
#include <linux/etherdevice.h>
|
||||
|
||||
#include <asm/bootinfo.h>
|
||||
#include <asm/mips_machine.h>
|
||||
|
||||
#include <asm/mach-adm5120/adm5120_info.h>
|
||||
#include <asm/mach-adm5120/adm5120_board.h>
|
||||
#include <asm/mach-adm5120/adm5120_platform.h>
|
||||
|
||||
extern void cellvision_mac_setup(void) __init;
|
||||
|
||||
@@ -25,4 +25,4 @@ static void __init nfs101_setup(void)
|
||||
adm5120_add_device_switch(5, nfs101_vlans);
|
||||
}
|
||||
|
||||
ADM5120_BOARD(MACH_ADM5120_NFS101U, "Cellvision NFS-101U/101WU", nfs101_setup);
|
||||
MIPS_MACHINE(MACH_ADM5120_NFS101U, "Cellvision NFS-101U/101WU", nfs101_setup);
|
||||
|
||||
Reference in New Issue
Block a user