From: Hannes Reinecke <hare@suse.de>
To: Damien LeMoal <damien.lemoal@wdc.com>
Cc: linux-ide@vger.kernel.org, Hannes Reinecke <hare@suse.de>
Subject: [PATCHv3 0/2] libata: sysfs naming
Date: Thu, 24 Mar 2022 13:32:02 +0100 [thread overview]
Message-ID: <20220324123204.61534-1-hare@suse.de> (raw)
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 compability 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 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 | 41 ++++++++++++++++++++++++--
include/linux/libata.h | 54 ++++++++++------------------------
3 files changed, 64 insertions(+), 41 deletions(-)
--
2.29.2
next reply other threads:[~2022-03-24 12:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-24 12:32 Hannes Reinecke [this message]
2022-03-24 12:32 ` [PATCH 1/2] libata: rework sysfs naming Hannes Reinecke
2022-03-25 3:05 ` Damien Le Moal
2022-03-25 7:10 ` Hannes Reinecke
2022-03-24 12:32 ` [PATCH 2/2] libata: CONFIG_ATA_SYSFS_COMPAT Hannes Reinecke
2022-03-25 3:01 ` Damien Le Moal
2022-03-25 7:12 ` Hannes Reinecke
2022-03-25 7:16 ` Damien Le Moal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220324123204.61534-1-hare@suse.de \
--to=hare@suse.de \
--cc=damien.lemoal@wdc.com \
--cc=linux-ide@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.