9 #include <linux/kernel.h>
12 #include <linux/pci.h>
17 #include <linux/ethtool.h>
26 static unsigned int wnr854t_mpp_modes[]
__initdata = {
53 #define WNR854T_NOR_BOOT_BASE 0xf4000000
54 #define WNR854T_NOR_BOOT_SIZE SZ_8M
56 static struct mtd_partition wnr854t_nor_flash_partitions[] = {
74 .parts = wnr854t_nor_flash_partitions,
75 .nr_parts =
ARRAY_SIZE(wnr854t_nor_flash_partitions),
78 static struct resource wnr854t_nor_flash_resource = {
85 .name =
"physmap-flash",
88 .platform_data = &wnr854t_nor_flash_data,
91 .resource = &wnr854t_nor_flash_resource,
101 .port_names[0] =
"lan3",
102 .port_names[1] =
"lan4",
103 .port_names[2] =
"wan",
104 .port_names[3] =
"cpu",
105 .port_names[5] =
"lan1",
106 .port_names[7] =
"lan2",
111 .chip = &wnr854t_switch_chip_data,
114 static void __init wnr854t_init(
void)
160 .map_irq = wnr854t_pci_map_irq,
163 static int __init wnr854t_pci_init(
void)
165 if (machine_is_wnr854t())
174 .atag_offset = 0x100,
175 .init_machine = wnr854t_init,