intel-xway.c (712cba5d87a6c0e980ee5fad45734e189c4d7151) | intel-xway.c (529ed12752635ba8a35dc78ec70ed6f42570b4ca) |
---|---|
1/* 2 * Copyright (C) 2012 Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> 3 * Copyright (C) 2016 Hauke Mehrtens <hauke@hauke-m.de> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 225 unchanged lines hidden (view full) --- 234 return phy_write(phydev, XWAY_MDIO_IMASK, mask); 235} 236 237static struct phy_driver xway_gphy[] = { 238 { 239 .phy_id = PHY_ID_PHY11G_1_3, 240 .phy_id_mask = 0xffffffff, 241 .name = "Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.3", | 1/* 2 * Copyright (C) 2012 Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> 3 * Copyright (C) 2016 Hauke Mehrtens <hauke@hauke-m.de> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 225 unchanged lines hidden (view full) --- 234 return phy_write(phydev, XWAY_MDIO_IMASK, mask); 235} 236 237static struct phy_driver xway_gphy[] = { 238 { 239 .phy_id = PHY_ID_PHY11G_1_3, 240 .phy_id_mask = 0xffffffff, 241 .name = "Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.3", |
242 .features = (PHY_GBIT_FEATURES | SUPPORTED_Pause | 243 SUPPORTED_Asym_Pause), | 242 .features = PHY_GBIT_FEATURES, |
244 .flags = PHY_HAS_INTERRUPT, 245 .config_init = xway_gphy_config_init, 246 .config_aneg = xway_gphy14_config_aneg, 247 .read_status = genphy_read_status, 248 .ack_interrupt = xway_gphy_ack_interrupt, 249 .did_interrupt = xway_gphy_did_interrupt, 250 .config_intr = xway_gphy_config_intr, 251 .suspend = genphy_suspend, 252 .resume = genphy_resume, 253 }, { 254 .phy_id = PHY_ID_PHY22F_1_3, 255 .phy_id_mask = 0xffffffff, 256 .name = "Intel XWAY PHY22F (PEF 7061) v1.3", | 243 .flags = PHY_HAS_INTERRUPT, 244 .config_init = xway_gphy_config_init, 245 .config_aneg = xway_gphy14_config_aneg, 246 .read_status = genphy_read_status, 247 .ack_interrupt = xway_gphy_ack_interrupt, 248 .did_interrupt = xway_gphy_did_interrupt, 249 .config_intr = xway_gphy_config_intr, 250 .suspend = genphy_suspend, 251 .resume = genphy_resume, 252 }, { 253 .phy_id = PHY_ID_PHY22F_1_3, 254 .phy_id_mask = 0xffffffff, 255 .name = "Intel XWAY PHY22F (PEF 7061) v1.3", |
257 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause | 258 SUPPORTED_Asym_Pause), | 256 .features = PHY_BASIC_FEATURES, |
259 .flags = PHY_HAS_INTERRUPT, 260 .config_init = xway_gphy_config_init, 261 .config_aneg = xway_gphy14_config_aneg, 262 .read_status = genphy_read_status, 263 .ack_interrupt = xway_gphy_ack_interrupt, 264 .did_interrupt = xway_gphy_did_interrupt, 265 .config_intr = xway_gphy_config_intr, 266 .suspend = genphy_suspend, 267 .resume = genphy_resume, 268 }, { 269 .phy_id = PHY_ID_PHY11G_1_4, 270 .phy_id_mask = 0xffffffff, 271 .name = "Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.4", | 257 .flags = PHY_HAS_INTERRUPT, 258 .config_init = xway_gphy_config_init, 259 .config_aneg = xway_gphy14_config_aneg, 260 .read_status = genphy_read_status, 261 .ack_interrupt = xway_gphy_ack_interrupt, 262 .did_interrupt = xway_gphy_did_interrupt, 263 .config_intr = xway_gphy_config_intr, 264 .suspend = genphy_suspend, 265 .resume = genphy_resume, 266 }, { 267 .phy_id = PHY_ID_PHY11G_1_4, 268 .phy_id_mask = 0xffffffff, 269 .name = "Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.4", |
272 .features = (PHY_GBIT_FEATURES | SUPPORTED_Pause | 273 SUPPORTED_Asym_Pause), | 270 .features = PHY_GBIT_FEATURES, |
274 .flags = PHY_HAS_INTERRUPT, 275 .config_init = xway_gphy_config_init, 276 .config_aneg = xway_gphy14_config_aneg, 277 .read_status = genphy_read_status, 278 .ack_interrupt = xway_gphy_ack_interrupt, 279 .did_interrupt = xway_gphy_did_interrupt, 280 .config_intr = xway_gphy_config_intr, 281 .suspend = genphy_suspend, 282 .resume = genphy_resume, 283 }, { 284 .phy_id = PHY_ID_PHY22F_1_4, 285 .phy_id_mask = 0xffffffff, 286 .name = "Intel XWAY PHY22F (PEF 7061) v1.4", | 271 .flags = PHY_HAS_INTERRUPT, 272 .config_init = xway_gphy_config_init, 273 .config_aneg = xway_gphy14_config_aneg, 274 .read_status = genphy_read_status, 275 .ack_interrupt = xway_gphy_ack_interrupt, 276 .did_interrupt = xway_gphy_did_interrupt, 277 .config_intr = xway_gphy_config_intr, 278 .suspend = genphy_suspend, 279 .resume = genphy_resume, 280 }, { 281 .phy_id = PHY_ID_PHY22F_1_4, 282 .phy_id_mask = 0xffffffff, 283 .name = "Intel XWAY PHY22F (PEF 7061) v1.4", |
287 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause | 288 SUPPORTED_Asym_Pause), | 284 .features = PHY_BASIC_FEATURES, |
289 .flags = PHY_HAS_INTERRUPT, 290 .config_init = xway_gphy_config_init, 291 .config_aneg = xway_gphy14_config_aneg, 292 .read_status = genphy_read_status, 293 .ack_interrupt = xway_gphy_ack_interrupt, 294 .did_interrupt = xway_gphy_did_interrupt, 295 .config_intr = xway_gphy_config_intr, 296 .suspend = genphy_suspend, 297 .resume = genphy_resume, 298 }, { 299 .phy_id = PHY_ID_PHY11G_1_5, 300 .phy_id_mask = 0xffffffff, 301 .name = "Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.5 / v1.6", | 285 .flags = PHY_HAS_INTERRUPT, 286 .config_init = xway_gphy_config_init, 287 .config_aneg = xway_gphy14_config_aneg, 288 .read_status = genphy_read_status, 289 .ack_interrupt = xway_gphy_ack_interrupt, 290 .did_interrupt = xway_gphy_did_interrupt, 291 .config_intr = xway_gphy_config_intr, 292 .suspend = genphy_suspend, 293 .resume = genphy_resume, 294 }, { 295 .phy_id = PHY_ID_PHY11G_1_5, 296 .phy_id_mask = 0xffffffff, 297 .name = "Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.5 / v1.6", |
302 .features = (PHY_GBIT_FEATURES | SUPPORTED_Pause | 303 SUPPORTED_Asym_Pause), | 298 .features = PHY_GBIT_FEATURES, |
304 .flags = PHY_HAS_INTERRUPT, 305 .config_init = xway_gphy_config_init, 306 .config_aneg = genphy_config_aneg, 307 .read_status = genphy_read_status, 308 .ack_interrupt = xway_gphy_ack_interrupt, 309 .did_interrupt = xway_gphy_did_interrupt, 310 .config_intr = xway_gphy_config_intr, 311 .suspend = genphy_suspend, 312 .resume = genphy_resume, 313 }, { 314 .phy_id = PHY_ID_PHY22F_1_5, 315 .phy_id_mask = 0xffffffff, 316 .name = "Intel XWAY PHY22F (PEF 7061) v1.5 / v1.6", | 299 .flags = PHY_HAS_INTERRUPT, 300 .config_init = xway_gphy_config_init, 301 .config_aneg = genphy_config_aneg, 302 .read_status = genphy_read_status, 303 .ack_interrupt = xway_gphy_ack_interrupt, 304 .did_interrupt = xway_gphy_did_interrupt, 305 .config_intr = xway_gphy_config_intr, 306 .suspend = genphy_suspend, 307 .resume = genphy_resume, 308 }, { 309 .phy_id = PHY_ID_PHY22F_1_5, 310 .phy_id_mask = 0xffffffff, 311 .name = "Intel XWAY PHY22F (PEF 7061) v1.5 / v1.6", |
317 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause | 318 SUPPORTED_Asym_Pause), | 312 .features = PHY_BASIC_FEATURES, |
319 .flags = PHY_HAS_INTERRUPT, 320 .config_init = xway_gphy_config_init, 321 .config_aneg = genphy_config_aneg, 322 .read_status = genphy_read_status, 323 .ack_interrupt = xway_gphy_ack_interrupt, 324 .did_interrupt = xway_gphy_did_interrupt, 325 .config_intr = xway_gphy_config_intr, 326 .suspend = genphy_suspend, 327 .resume = genphy_resume, 328 }, { 329 .phy_id = PHY_ID_PHY11G_VR9, 330 .phy_id_mask = 0xffffffff, 331 .name = "Intel XWAY PHY11G (xRX integrated)", | 313 .flags = PHY_HAS_INTERRUPT, 314 .config_init = xway_gphy_config_init, 315 .config_aneg = genphy_config_aneg, 316 .read_status = genphy_read_status, 317 .ack_interrupt = xway_gphy_ack_interrupt, 318 .did_interrupt = xway_gphy_did_interrupt, 319 .config_intr = xway_gphy_config_intr, 320 .suspend = genphy_suspend, 321 .resume = genphy_resume, 322 }, { 323 .phy_id = PHY_ID_PHY11G_VR9, 324 .phy_id_mask = 0xffffffff, 325 .name = "Intel XWAY PHY11G (xRX integrated)", |
332 .features = (PHY_GBIT_FEATURES | SUPPORTED_Pause | 333 SUPPORTED_Asym_Pause), | 326 .features = PHY_GBIT_FEATURES, |
334 .flags = PHY_HAS_INTERRUPT, 335 .config_init = xway_gphy_config_init, 336 .config_aneg = genphy_config_aneg, 337 .read_status = genphy_read_status, 338 .ack_interrupt = xway_gphy_ack_interrupt, 339 .did_interrupt = xway_gphy_did_interrupt, 340 .config_intr = xway_gphy_config_intr, 341 .suspend = genphy_suspend, 342 .resume = genphy_resume, 343 }, { 344 .phy_id = PHY_ID_PHY22F_VR9, 345 .phy_id_mask = 0xffffffff, 346 .name = "Intel XWAY PHY22F (xRX integrated)", | 327 .flags = PHY_HAS_INTERRUPT, 328 .config_init = xway_gphy_config_init, 329 .config_aneg = genphy_config_aneg, 330 .read_status = genphy_read_status, 331 .ack_interrupt = xway_gphy_ack_interrupt, 332 .did_interrupt = xway_gphy_did_interrupt, 333 .config_intr = xway_gphy_config_intr, 334 .suspend = genphy_suspend, 335 .resume = genphy_resume, 336 }, { 337 .phy_id = PHY_ID_PHY22F_VR9, 338 .phy_id_mask = 0xffffffff, 339 .name = "Intel XWAY PHY22F (xRX integrated)", |
347 .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause | 348 SUPPORTED_Asym_Pause), | 340 .features = PHY_BASIC_FEATURES, |
349 .flags = PHY_HAS_INTERRUPT, 350 .config_init = xway_gphy_config_init, 351 .config_aneg = genphy_config_aneg, 352 .read_status = genphy_read_status, 353 .ack_interrupt = xway_gphy_ack_interrupt, 354 .did_interrupt = xway_gphy_did_interrupt, 355 .config_intr = xway_gphy_config_intr, 356 .suspend = genphy_suspend, --- 20 unchanged lines hidden --- | 341 .flags = PHY_HAS_INTERRUPT, 342 .config_init = xway_gphy_config_init, 343 .config_aneg = genphy_config_aneg, 344 .read_status = genphy_read_status, 345 .ack_interrupt = xway_gphy_ack_interrupt, 346 .did_interrupt = xway_gphy_did_interrupt, 347 .config_intr = xway_gphy_config_intr, 348 .suspend = genphy_suspend, --- 20 unchanged lines hidden --- |