bcm7xxx.c (0f29f05bd7064bdf0c9629511bcba7650ce364d5) | bcm7xxx.c (529ed12752635ba8a35dc78ec70ed6f42570b4ca) |
---|---|
1/* 2 * Broadcom BCM7xxx internal transceivers support. 3 * 4 * Copyright (C) 2014, Broadcom Corporation 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 372 unchanged lines hidden (view full) --- 381 return 0; 382} 383 384#define BCM7XXX_28NM_GPHY(_oui, _name) \ 385{ \ 386 .phy_id = (_oui), \ 387 .phy_id_mask = 0xfffffff0, \ 388 .name = _name, \ | 1/* 2 * Broadcom BCM7xxx internal transceivers support. 3 * 4 * Copyright (C) 2014, Broadcom Corporation 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 372 unchanged lines hidden (view full) --- 381 return 0; 382} 383 384#define BCM7XXX_28NM_GPHY(_oui, _name) \ 385{ \ 386 .phy_id = (_oui), \ 387 .phy_id_mask = 0xfffffff0, \ 388 .name = _name, \ |
389 .features = PHY_GBIT_FEATURES | \ 390 SUPPORTED_Pause | SUPPORTED_Asym_Pause, \ | 389 .features = PHY_GBIT_FEATURES, \ |
391 .flags = PHY_IS_INTERNAL, \ 392 .config_init = bcm7xxx_28nm_config_init, \ 393 .config_aneg = genphy_config_aneg, \ 394 .read_status = genphy_read_status, \ 395 .resume = bcm7xxx_28nm_resume, \ 396 .get_tunable = bcm7xxx_28nm_get_tunable, \ 397 .set_tunable = bcm7xxx_28nm_set_tunable, \ 398 .get_sset_count = bcm_phy_get_sset_count, \ 399 .get_strings = bcm_phy_get_strings, \ 400 .get_stats = bcm7xxx_28nm_get_phy_stats, \ 401 .probe = bcm7xxx_28nm_probe, \ 402} 403 404#define BCM7XXX_40NM_EPHY(_oui, _name) \ 405{ \ 406 .phy_id = (_oui), \ 407 .phy_id_mask = 0xfffffff0, \ 408 .name = _name, \ | 390 .flags = PHY_IS_INTERNAL, \ 391 .config_init = bcm7xxx_28nm_config_init, \ 392 .config_aneg = genphy_config_aneg, \ 393 .read_status = genphy_read_status, \ 394 .resume = bcm7xxx_28nm_resume, \ 395 .get_tunable = bcm7xxx_28nm_get_tunable, \ 396 .set_tunable = bcm7xxx_28nm_set_tunable, \ 397 .get_sset_count = bcm_phy_get_sset_count, \ 398 .get_strings = bcm_phy_get_strings, \ 399 .get_stats = bcm7xxx_28nm_get_phy_stats, \ 400 .probe = bcm7xxx_28nm_probe, \ 401} 402 403#define BCM7XXX_40NM_EPHY(_oui, _name) \ 404{ \ 405 .phy_id = (_oui), \ 406 .phy_id_mask = 0xfffffff0, \ 407 .name = _name, \ |
409 .features = PHY_BASIC_FEATURES | \ 410 SUPPORTED_Pause | SUPPORTED_Asym_Pause, \ | 408 .features = PHY_BASIC_FEATURES, \ |
411 .flags = PHY_IS_INTERNAL, \ 412 .config_init = bcm7xxx_config_init, \ 413 .config_aneg = genphy_config_aneg, \ 414 .read_status = genphy_read_status, \ 415 .suspend = bcm7xxx_suspend, \ 416 .resume = bcm7xxx_config_init, \ 417} 418 --- 35 unchanged lines hidden --- | 409 .flags = PHY_IS_INTERNAL, \ 410 .config_init = bcm7xxx_config_init, \ 411 .config_aneg = genphy_config_aneg, \ 412 .read_status = genphy_read_status, \ 413 .suspend = bcm7xxx_suspend, \ 414 .resume = bcm7xxx_config_init, \ 415} 416 --- 35 unchanged lines hidden --- |