lxt.c (9b0dcd0e5a27958b57e3e390f63c098d63a055da) lxt.c (dcdecdcfe1fc39ded8590aed2fe84d62f14b2392)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * drivers/net/phy/lxt.c
4 *
5 * Driver for Intel LXT PHYs
6 *
7 * Author: Andy Fleming
8 *

--- 237 unchanged lines hidden (view full) ---

246 return phydev->priv ? 0 : genphy_config_aneg(phydev);
247}
248
249static struct phy_driver lxt97x_driver[] = {
250{
251 .phy_id = 0x78100000,
252 .name = "LXT970",
253 .phy_id_mask = 0xfffffff0,
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * drivers/net/phy/lxt.c
4 *
5 * Driver for Intel LXT PHYs
6 *
7 * Author: Andy Fleming
8 *

--- 237 unchanged lines hidden (view full) ---

246 return phydev->priv ? 0 : genphy_config_aneg(phydev);
247}
248
249static struct phy_driver lxt97x_driver[] = {
250{
251 .phy_id = 0x78100000,
252 .name = "LXT970",
253 .phy_id_mask = 0xfffffff0,
254 .features = PHY_BASIC_FEATURES,
254 /* PHY_BASIC_FEATURES */
255 .config_init = lxt970_config_init,
256 .ack_interrupt = lxt970_ack_interrupt,
257 .config_intr = lxt970_config_intr,
258}, {
259 .phy_id = 0x001378e0,
260 .name = "LXT971",
261 .phy_id_mask = 0xfffffff0,
255 .config_init = lxt970_config_init,
256 .ack_interrupt = lxt970_ack_interrupt,
257 .config_intr = lxt970_config_intr,
258}, {
259 .phy_id = 0x001378e0,
260 .name = "LXT971",
261 .phy_id_mask = 0xfffffff0,
262 .features = PHY_BASIC_FEATURES,
262 /* PHY_BASIC_FEATURES */
263 .ack_interrupt = lxt971_ack_interrupt,
264 .config_intr = lxt971_config_intr,
265}, {
266 .phy_id = 0x00137a10,
267 .name = "LXT973-A2",
268 .phy_id_mask = 0xffffffff,
263 .ack_interrupt = lxt971_ack_interrupt,
264 .config_intr = lxt971_config_intr,
265}, {
266 .phy_id = 0x00137a10,
267 .name = "LXT973-A2",
268 .phy_id_mask = 0xffffffff,
269 .features = PHY_BASIC_FEATURES,
269 /* PHY_BASIC_FEATURES */
270 .flags = 0,
271 .probe = lxt973_probe,
272 .config_aneg = lxt973_config_aneg,
273 .read_status = lxt973a2_read_status,
274}, {
275 .phy_id = 0x00137a10,
276 .name = "LXT973",
277 .phy_id_mask = 0xfffffff0,
270 .flags = 0,
271 .probe = lxt973_probe,
272 .config_aneg = lxt973_config_aneg,
273 .read_status = lxt973a2_read_status,
274}, {
275 .phy_id = 0x00137a10,
276 .name = "LXT973",
277 .phy_id_mask = 0xfffffff0,
278 .features = PHY_BASIC_FEATURES,
278 /* PHY_BASIC_FEATURES */
279 .flags = 0,
280 .probe = lxt973_probe,
281 .config_aneg = lxt973_config_aneg,
282} };
283
284module_phy_driver(lxt97x_driver);
285
286static struct mdio_device_id __maybe_unused lxt_tbl[] = {
287 { 0x78100000, 0xfffffff0 },
288 { 0x001378e0, 0xfffffff0 },
289 { 0x00137a10, 0xfffffff0 },
290 { }
291};
292
293MODULE_DEVICE_TABLE(mdio, lxt_tbl);
279 .flags = 0,
280 .probe = lxt973_probe,
281 .config_aneg = lxt973_config_aneg,
282} };
283
284module_phy_driver(lxt97x_driver);
285
286static struct mdio_device_id __maybe_unused lxt_tbl[] = {
287 { 0x78100000, 0xfffffff0 },
288 { 0x001378e0, 0xfffffff0 },
289 { 0x00137a10, 0xfffffff0 },
290 { }
291};
292
293MODULE_DEVICE_TABLE(mdio, lxt_tbl);