icplus.c (9938b04472d5c59f8bd8152a548533a8599596a2) | icplus.c (529ed12752635ba8a35dc78ec70ed6f42570b4ca) |
---|---|
1/* 2 * Driver for ICPlus PHYs 3 * 4 * Copyright (c) 2007 Freescale Semiconductor, Inc. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License as published by the 8 * Free Software Foundation; either version 2 of the License, or (at your --- 211 unchanged lines hidden (view full) --- 220 .config_aneg = &ip175c_config_aneg, 221 .read_status = &ip175c_read_status, 222 .suspend = genphy_suspend, 223 .resume = genphy_resume, 224}, { 225 .phy_id = 0x02430d90, 226 .name = "ICPlus IP1001", 227 .phy_id_mask = 0x0ffffff0, | 1/* 2 * Driver for ICPlus PHYs 3 * 4 * Copyright (c) 2007 Freescale Semiconductor, Inc. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License as published by the 8 * Free Software Foundation; either version 2 of the License, or (at your --- 211 unchanged lines hidden (view full) --- 220 .config_aneg = &ip175c_config_aneg, 221 .read_status = &ip175c_read_status, 222 .suspend = genphy_suspend, 223 .resume = genphy_resume, 224}, { 225 .phy_id = 0x02430d90, 226 .name = "ICPlus IP1001", 227 .phy_id_mask = 0x0ffffff0, |
228 .features = PHY_GBIT_FEATURES | SUPPORTED_Pause | 229 SUPPORTED_Asym_Pause, | 228 .features = PHY_GBIT_FEATURES, |
230 .config_init = &ip1001_config_init, 231 .config_aneg = &genphy_config_aneg, 232 .read_status = &genphy_read_status, 233 .suspend = genphy_suspend, 234 .resume = genphy_resume, 235}, { 236 .phy_id = 0x02430c54, 237 .name = "ICPlus IP101A/G", 238 .phy_id_mask = 0x0ffffff0, | 229 .config_init = &ip1001_config_init, 230 .config_aneg = &genphy_config_aneg, 231 .read_status = &genphy_read_status, 232 .suspend = genphy_suspend, 233 .resume = genphy_resume, 234}, { 235 .phy_id = 0x02430c54, 236 .name = "ICPlus IP101A/G", 237 .phy_id_mask = 0x0ffffff0, |
239 .features = PHY_BASIC_FEATURES | SUPPORTED_Pause | 240 SUPPORTED_Asym_Pause, | 238 .features = PHY_BASIC_FEATURES, |
241 .flags = PHY_HAS_INTERRUPT, 242 .ack_interrupt = ip101a_g_ack_interrupt, 243 .config_init = &ip101a_g_config_init, 244 .config_aneg = &genphy_config_aneg, 245 .read_status = &genphy_read_status, 246 .suspend = genphy_suspend, 247 .resume = genphy_resume, 248} }; 249 250module_phy_driver(icplus_driver); 251 252static struct mdio_device_id __maybe_unused icplus_tbl[] = { 253 { 0x02430d80, 0x0ffffff0 }, 254 { 0x02430d90, 0x0ffffff0 }, 255 { 0x02430c54, 0x0ffffff0 }, 256 { } 257}; 258 259MODULE_DEVICE_TABLE(mdio, icplus_tbl); | 239 .flags = PHY_HAS_INTERRUPT, 240 .ack_interrupt = ip101a_g_ack_interrupt, 241 .config_init = &ip101a_g_config_init, 242 .config_aneg = &genphy_config_aneg, 243 .read_status = &genphy_read_status, 244 .suspend = genphy_suspend, 245 .resume = genphy_resume, 246} }; 247 248module_phy_driver(icplus_driver); 249 250static struct mdio_device_id __maybe_unused icplus_tbl[] = { 251 { 0x02430d80, 0x0ffffff0 }, 252 { 0x02430d90, 0x0ffffff0 }, 253 { 0x02430c54, 0x0ffffff0 }, 254 { } 255}; 256 257MODULE_DEVICE_TABLE(mdio, icplus_tbl); |