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