History

net: phy: realtek: add support for RTL8365MB-VC internal PHYs

The RTL8365MB-VC ethernet switch controller has 4 internal PHYs for its user-facing ports. All that is needed is to let the PHY driver core pick up the IRQ made available by the switch driver.

Alvin Šipraga committed 5 years ago

Commit 2ca29691 parent 4af29501 file · +8 −0Browse files

Unified · Split

drivers/net/phy/realtek.c+8−0
@@ -1023,6 +1023,14 @@ static struct phy_driver realtek_drvs[] = { · 1022 unmodified lines
10231023 .resume = genphy_resume,
10241024 .read_page = rtl821x_read_page,
10251025 .write_page = rtl821x_write_page,
1026+ }, {
1027+ PHY_ID_MATCH_EXACT(0x001cc942),
1028+ .name = "RTL8365MB-VC Gigabit Ethernet",
1029+ /* Interrupt handling analogous to RTL8366RB */
1030+ .config_intr = genphy_no_config_intr,
1031+ .handle_interrupt = genphy_handle_interrupt_no_ack,
1032+ .suspend = genphy_suspend,
1033+ .resume = genphy_resume,
10261034 },
10271035 };
10281036

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t