#define AR91XX_WMAC_SIZE 0x30000
#define AR71XX_MEM_SIZE_MIN 0x0200000
-#define AR71XX_MEM_SIZE_MAX 0x8000000
+#define AR71XX_MEM_SIZE_MAX 0x10000000
#define AR71XX_CPU_IRQ_BASE 0
#define AR71XX_MISC_IRQ_BASE 8
#define AR71XX_MACH_UBNT_LSSR71 15 /* Ubiquiti LS-SR71 */
#define AR71XX_MACH_TL_WR941ND 16 /* TP-LINK TL-WR941ND */
#define AR71XX_MACH_UBNT_RSPRO 17 /* Ubiquiti RouterStation Pro */
+#define AR71XX_MACH_AP81 18 /* Atheros AP81 */
+#define AR71XX_MACH_WRT400N 19 /* Linksys WRT400N */
+#define AR71XX_MACH_PB44 20 /* Atheros PB44 */
+#define AR71XX_MACH_WRT160NL 21 /* Linksys WRT160NL */
/*
* PLL block
return __raw_readl(ar71xx_usb_ctrl_base + reg);
}
-extern void ar71xx_add_device_usb(void) __init;
-
/*
* GPIO block
*/
return __raw_readl(ar71xx_gpio_base + reg);
}
-extern void ar71xx_gpio_init(void) __init;
-extern void ar71xx_gpio_function_enable(u32 mask);
-extern void ar71xx_gpio_function_disable(u32 mask);
+void ar71xx_gpio_init(void) __init;
+void ar71xx_gpio_function_enable(u32 mask);
+void ar71xx_gpio_function_disable(u32 mask);
/*
* DDR_CTRL block
return __raw_readl(ar71xx_ddr_base + reg);
}
-extern void ar71xx_ddr_flush(u32 reg);
+void ar71xx_ddr_flush(u32 reg);
/*
* PCI block
return __raw_readl(ar71xx_reset_base + reg);
}
-extern void ar71xx_device_stop(u32 mask);
-extern void ar71xx_device_start(u32 mask);
+void ar71xx_device_stop(u32 mask);
+void ar71xx_device_start(u32 mask);
/*
* SPI block