public inbox for linux-ide@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv4 0/2] libata: sysfs naming
@ 2022-03-25 12:56 Hannes Reinecke
  2022-03-25 12:56 ` [PATCH 1/2] libata: rework " Hannes Reinecke
  2022-03-25 12:56 ` [PATCH 2/2] libata: CONFIG_ATA_SYSFS_COMPAT Hannes Reinecke
  0 siblings, 2 replies; 7+ messages in thread
From: Hannes Reinecke @ 2022-03-25 12:56 UTC (permalink / raw)
  To: Damien LeMoal; +Cc: linux-ide, Hannes Reinecke

Hi all,

here's my second attempt the align the libata object naming with sysfs.
Key point is to introduce an 'ata' bus, which serves to collect all
libata object (ata_port, ata_link, and ata_device).

To facilitate that the name of the 'ata_port' object changes from 'ata'
to 'port'. To provide backwards compatibility I've added config option
CONFIG_ATA_SYSFS_COMPAT to create a compat symlink in the PCI sysfs device
directory with the name of 'ata'.

As usual, comments and reviews are welcome.

Changes to v3:
- Included reviews from Damien

Changes to v2:
- Dropped patch to change PMP naming
- created compability symlink instead of full sysfs objects

Hannes Reinecke (2):
  libata: rework sysfs naming
  libata: CONFIG_ATA_SYSFS_COMPAT

 drivers/ata/Kconfig            | 10 ++++++
 drivers/ata/libata-transport.c | 62 ++++++++++++++++++++++++++++++++--
 include/linux/libata.h         | 53 ++++++++---------------------
 3 files changed, 84 insertions(+), 41 deletions(-)

-- 
2.29.2


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

end of thread, other threads:[~2022-03-26 18:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-25 12:56 [PATCHv4 0/2] libata: sysfs naming Hannes Reinecke
2022-03-25 12:56 ` [PATCH 1/2] libata: rework " Hannes Reinecke
2022-03-26 18:08   ` [RFC PATCH] libata: ata_bus_type can be static kernel test robot
2022-03-26 18:12   ` [PATCH 1/2] libata: rework sysfs naming kernel test robot
2022-03-25 12:56 ` [PATCH 2/2] libata: CONFIG_ATA_SYSFS_COMPAT Hannes Reinecke
2022-03-25 16:22   ` Sergey Shtylyov
2022-03-25 16:29     ` Hannes Reinecke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox