X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/d74086d2915c1ed7b4b5089c08f1b5c21e22ec9f..37bcda62c00cb40d73bcee1ba10adfdea432dc7a:/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h index 100ccfd71..22e2b6462 100644 --- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h +++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h @@ -1,6 +1,7 @@ /* * Ralink machine types * + * Copyright (C) 2010 Joonas Lahtinen * Copyright (C) 2009 Gabor Juhos * * This program is free software; you can redistribute it and/or modify it @@ -8,10 +9,13 @@ * by the Free Software Foundation. */ +#include + enum ramips_mach_type { RAMIPS_MACH_GENERIC, /* RT2880 based machines */ RAMIPS_MACH_RT_N15, /* Asus RT-N15 */ + RAMIPS_MACH_WZR_AGL300NH, /* Buffalo WZR-AGL300NH */ /* RT3050 based machines */ RAMIPS_MACH_DIR_300_REVB, /* D-Link DIR-300 rev B */ @@ -21,5 +25,3 @@ enum ramips_mach_type { RAMIPS_MACH_WHR_G300N, /* Buffalo WHR-G300N */ RAMIPS_MACH_FONERA20N, /* La Fonera 2.0N */ }; - -extern enum ramips_mach_type ramips_mach;