Skip to content

libata: sysfs naming

Hannes Reinecke linux-ide 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 2 repliesIn review
  2. v32 patches 5 repliesSuperseded
  3. v23 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC1 patch4 repliesSuperseded

Changes to v3 from the cover letter

- Included reviews from Damien

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2libata: rework sysfs namingdrivers/ata/libata-transport.c include/linux/libata.h+33 -410 replies
2/2libata: CONFIG_ATA_SYSFS_COMPATdrivers/ata/Kconfig drivers/ata/libata-transport.c+51 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCHv4 0/2] libata: sysfs naming

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(-)
Signature · 1 line
2.29.2