28 #include <linux/kernel.h>
37 #define MSP_ETHERNET_GPIO0 14
38 #define MSP_ETHERNET_GPIO1 15
39 #define MSP_ETHERNET_GPIO2 16
41 #ifdef CONFIG_MSP_HAS_TSMAC
42 #define MSP_TSMAC_SIZE 0x10020
43 #define MSP_TSMAC_ID "pmc_tsmac"
45 static struct resource msp_tsmac0_resources[] = {
58 static struct resource msp_tsmac1_resources[] = {
70 static struct resource msp_tsmac2_resources[] = {
88 .num_resources =
ARRAY_SIZE(msp_tsmac0_resources),
89 .resource = msp_tsmac0_resources,
94 .num_resources =
ARRAY_SIZE(msp_tsmac1_resources),
95 .resource = msp_tsmac1_resources,
100 .num_resources =
ARRAY_SIZE(msp_tsmac2_resources),
101 .resource = msp_tsmac2_resources,
104 #define msp_eth_devs tsmac_device
108 #define MSP_ETH_ID "pmc_mspeth"
109 #define MSP_ETH_SIZE 0xE0
110 static struct resource msp_eth0_resources[] = {
123 static struct resource msp_eth1_resources[] = {
142 .num_resources =
ARRAY_SIZE(msp_eth0_resources),
143 .resource = msp_eth0_resources,
148 .num_resources =
ARRAY_SIZE(msp_eth1_resources),
149 .resource = msp_eth1_resources,
153 #define msp_eth_devs mspeth_device
164 #ifdef CONFIG_MSP_HAS_TSMAC
183 "MSPETH device structures.\n");