From: Hannes Reinecke <hare@suse.de>
To: Damien LeMoal <damien.lemoal@wdc.com>
Cc: linux-ide@vger.kernel.org, Paul Menzel <pmenzel@molgen.mpg.de>,
Hannes Reinecke <hare@suse.de>
Subject: [PATCHv2 0/3] libata: sysfs naming
Date: Mon, 21 Mar 2022 15:56:56 +0100 [thread overview]
Message-ID: <20220321145659.97150-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 an additional
class object for the ata_port with the name of 'ata'.
This additional object can be disabled with the config option
ATA_SYSFS_COMPAT.
As usual, comments and reviews are welcome.
Hannes Reinecke (3):
libata: sysfs naming option
libata: CONFIG_ATA_SYSFS_COMPAT
libata: sanitize PMP link naming
drivers/ata/Kconfig | 10 +++++++
drivers/ata/libata-transport.c | 55 ++++++++++++++++++++++++++++++----
include/linux/libata.h | 54 ++++++++++-----------------------
3 files changed, 76 insertions(+), 43 deletions(-)
--
2.29.2
next reply other threads:[~2022-03-21 14:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-21 14:56 Hannes Reinecke [this message]
2022-03-21 14:56 ` [PATCH 1/3] libata: sysfs naming option Hannes Reinecke
2022-03-21 14:56 ` [PATCH 2/3] libata: CONFIG_ATA_SYSFS_COMPAT Hannes Reinecke
2022-03-24 9:27 ` Damien Le Moal
2022-03-24 9:50 ` Hannes Reinecke
2022-03-21 14:56 ` [PATCH 3/3] libata: sanitize PMP link naming Hannes Reinecke
2022-03-24 8:12 ` [PATCHv2 0/3] libata: sysfs naming 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=20220321145659.97150-1-hare@suse.de \
--to=hare@suse.de \
--cc=damien.lemoal@wdc.com \
--cc=linux-ide@vger.kernel.org \
--cc=pmenzel@molgen.mpg.de \
/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 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).