Skip to content

Commit 387178e

Browse files
ffainellidavem330
authored andcommitted
Documentation: networking: phy.txt: Add missing functions
Some new development in PHYLIB added new function pointers to the struct phy_driver, document these. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent a44d6ea commit 387178e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Documentation/networking/phy.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,13 +267,23 @@ Writing a PHY driver
267267
config_intr: Enable or disable interrupts
268268
remove: Does any driver take-down
269269
ts_info: Queries about the HW timestamping status
270+
match_phy_device: used for Clause 45 capable PHYs to match devices
271+
in package and ensure they are compatible
270272
hwtstamp: Set the PHY HW timestamping configuration
271273
rxtstamp: Requests a receive timestamp at the PHY level for a 'skb'
272274
txtsamp: Requests a transmit timestamp at the PHY level for a 'skb'
273275
set_wol: Enable Wake-on-LAN at the PHY level
274276
get_wol: Get the Wake-on-LAN status at the PHY level
277+
link_change_notify: called to inform the core is about to change the
278+
link state, can be used to work around bogus PHY between state changes
275279
read_mmd_indirect: Read PHY MMD indirect register
276280
write_mmd_indirect: Write PHY MMD indirect register
281+
module_info: Get the size and type of an EEPROM contained in an plug-in
282+
module
283+
module_eeprom: Get EEPROM information of a plug-in module
284+
get_sset_count: Get number of strings sets that get_strings will count
285+
get_strings: Get strings from requested objects (statistics)
286+
get_stats: Get the extended statistics from the PHY device
277287

278288
Of these, only config_aneg and read_status are required to be
279289
assigned by the driver code. The rest are optional. Also, it is

0 commit comments

Comments
 (0)