netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v6 0/3] ptp: ocp: fix serial port information export
@ 2024-08-28 18:12 Vadim Fedorenko
  2024-08-28 18:12 ` [PATCH net v6 1/3] ptp: ocp: convert serial ports to array Vadim Fedorenko
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Vadim Fedorenko @ 2024-08-28 18:12 UTC (permalink / raw)
  To: Vadim Fedorenko, Jakub Kicinski, Jonathan Lemon, Jiri Slaby,
	Greg Kroah-Hartman
  Cc: Vadim Fedorenko, netdev

Starting v6.8 the serial port subsystem changed the hierarchy of devices
and symlinks are not working anymore. Previous discussion made it clear
that the idea of symlinks for tty devices was wrong by design [1].
This series implements additional attributes to expose the information
and removes symlinks for tty devices.

[1] https://lore.kernel.org/netdev/2024060503-subsonic-pupil-bbee@gregkh/

v5 -> v6:
- split conversion to array to separate patch per Jiri's feedback
- move changelog to cover letter
v4 -> v5:
- remove unused variable in ptp_ocp_tty_show
v3 -> v4:
- re-organize info printing to use ptp_ocp_tty_port_name()
- keep uintptr_t to be consistent with other code
v2 -> v3:
- replace serial ports definitions with array and enum for index
- replace pointer math with direct array access
- nit in documentation spelling
v1 -> v2:
- add Documentation/ABI changes

Vadim Fedorenko (3):
  ptp: ocp: convert serial ports to array
  ptp: ocp: adjust sysfs entries to expose tty information
  docs: ABI: update OCP TimeCard sysfs entries

 Documentation/ABI/testing/sysfs-timecard |  31 +++--
 drivers/ptp/ptp_ocp.c                    | 168 ++++++++++++++---------
 2 files changed, 119 insertions(+), 80 deletions(-)

-- 
2.43.5


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-08-29 10:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-28 18:12 [PATCH net v6 0/3] ptp: ocp: fix serial port information export Vadim Fedorenko
2024-08-28 18:12 ` [PATCH net v6 1/3] ptp: ocp: convert serial ports to array Vadim Fedorenko
2024-08-28 18:12 ` [PATCH net v6 2/3] ptp: ocp: adjust sysfs entries to expose tty information Vadim Fedorenko
2024-08-28 18:12 ` [PATCH net v6 3/3] docs: ABI: update OCP TimeCard sysfs entries Vadim Fedorenko
2024-08-29  2:15 ` [PATCH net v6 0/3] ptp: ocp: fix serial port information export Jakub Kicinski
2024-08-29 10:24   ` Vadim Fedorenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).